Solved

hexadecimal value 0x3c is illegal in XML attribute values.

Posted on 2013-01-04
4
789 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Application Discovery Service in AWS

In the era of the cloud, customers migrating away from their existing on-premise infrastructure. This requires lots of planning, strategies, and effort to identify their existing resources and determine how best to migrate.  Datacenter migrations happen in four phases -

Question has a verified solution.

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

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…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
The viewer will learn how to dynamically set the form action using jQuery.

615 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