Solved

hexadecimal value 0x3c is illegal in XML attribute values.

Posted on 2013-01-04
4
699 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 82

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
This tutorial will discuss the log-in process using WhizBase. In this article I assume you already know HTML. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you might look at some of my other articles abo…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now