Solved

hexadecimal value 0x3c is illegal in XML attribute values.

Posted on 2013-01-04
4
749 Views
Last Modified: 2014-08-08
getting the error on UL tag ..error of "<"
Character '<', hexadecimal value 0x3c is illegal in XML attribute values.      

<xsl:variable name="BeginList" select="string('<ul class="accordion"><div class="expand-all">Expand All</div><div class="collapse-all">Collapse All</div></ul>')"/></xsl:variable>
 
  <xsl:variable name="EndList" select="string('</ul>')" /></xsl:variable>
0
Comment
Question by:mikechoksi
4 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 250 total points
ID: 38746092
Yep.  &lt; and &gt; are what you want.  See here:  http://msdn.microsoft.com/en-us/library/ms145315%28v=sql.90%29.aspx
0
 
LVL 51

Assisted Solution

by:ahoffmann
ahoffmann earned 250 total points
ID: 38746521
after you fixed the XML entity issue (wether user &lt; or &#x3c;) you'll most like run into next problem as you incorrectly mixed markups: in particular you use nested " without properly escaping them
where "proper escaping" depends on the XML/XSL parser you use
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
copy-item script help 15 85
ROBOFTP UNZIP 1 59
Perl script to process a .csv file 18 59
AWK: digits < 10 add a zero how? 11 28
Making a simple AJAX shopping cart Couple years ago I made my first shopping cart, I used iframe and JavaScript, it was very good at that time, there were no sessions or AJAX, I used cookies on clients machine. Today we have more advanced techno…
It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question