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

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


Subject: Re: [xsl] how does xml/xsl handle the & as a character in the name?
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Thu, 19 Jun 2003 22:41:21 +0200

dmitrik@xxxxxxxxxxxxxx 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



Current Thread
Keywords
xml