Subject: RE: [xsl] Passing through character entities intact From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Thu, 11 Oct 2001 10:26:51 +0100 |
> How do you take a character entity in an input document and > pass it through > to the output document as an entity(i.e. without any change)? You can't, because XSLT processes the tree produced by the XML parser, and that tree doesn't retain character entities. The trick is to turn the character entities into something else (e.g. a processing instruction) before XML parsing, which you can do by preprocessing e.g. in Perl. Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Passing through character, David Carlisle | Thread | RE: [xsl] Passing through character, McCollum , Angus |
Re: [xsl] Numbering, Jeni Tennison | Date | Re: [xsl] problem with preceding ax, Jeni Tennison |
Month |