xsl-list
[Top] [All Lists]

Re: [xsl] Special character as element name

2007-01-25 01:45:16
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.


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>