xsl-list
[Top] [All Lists]

Re: how does xml/xsl handle the & as a character in the name?

2003-06-19 13:41:21
dmitrik(_at_)mindspring(_dot_)com wrote:

how does xml/xsl handle the "&" character - for example:
<descrip>The one & the other</descrip>
it does not seem to like this.

Yes, you must write &amp; (including the semicolon), because
a plain & is part of the syntax.
See the XML spec (you did read it, didn't you?) at
  http://www.w3.org/TR/REC-xml
specifically section 2.4

J.Pietschmann



XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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