Solved

hexadecimal value 0x3c is illegal in XML attribute values.

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

This tutorial will discuss fancy secure registration forms, with AJAX technology support. In this article I assume you already know HTML and some JS. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you mig…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
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 how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…

792 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