[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Special character as element name


Subject: Re: [xsl] Special character as element name
From: Deborah Pickett <debbiep-list-xsl@xxxxxxxxxx>
Date: Thu, 25 Jan 2007 19:44:46 +1100

San wrote:
<Body ID="2" >
  <#x/>
</Body>

Actually a hash, U+0023? I'm afraid that's not allowed in XML: http://www.w3.org/TR/REC-xml/#NT-Name and a conforming XSLT processor isn't going to help you to create it.

If you really must have that format (it's not XML any more), you will have to add a postprocessing stage using some other, XML-ignorant, language.


Current Thread
Keywords