This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Converting &entities; with XSLT?
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Converting &entities; with XSLT?
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Sat, 7 Apr 2001 13:09:32 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> Is it possible to use XSLT to catch all character entities
> and convert them to something else? How could I go about this?
The XSLT processor sees exactly the same input whether a character was
represented by itself or by a character reference. So you can't "catch"
character references.
If you want to perform lexical transformations of your XML, rather than
structural transformations, you may be better off using Perl.
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list