Re: Stripping ampersands (was RE: can XML-XSL do...)

Subject: Re: Stripping ampersands (was RE: can XML-XSL do...)
From: Mike Brown <mbrown@xxxxxxxxxxxxx>
Date: Wed, 26 Jan 2000 11:13:48 -0700
Paul Beer wrote:
> what is the easiest way to strip ampersands from
> xml code using xsl ?

Please post an example of what you want to do, and mention which XSL
processor you are using (James Clark's XT, Michael Kay's SAXON,
LotusXSL/Apache Xalan, XML::XSLT, 4XSLT, IE 5.0, or..?).

Note that XSLT doesn't act directly on XML documents; it acts on an
interpretation of the document called a source tree, which is mostly
described in the Data Model section of the XPath spec. Since certain
characters like ampersands, angle brackets, and quote marks have special
meaning in XML and in the XPath/XSLT data model, you may find it is not
possible to access those literal characters when they are used as markup
rather than character data.


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


Current Thread