xsl-list
[Top] [All Lists]

Re: [xsl] How to avoid XML Parsing while XSLT Transform

2009-07-16 14:16:40
2009/7/16 Michael Kay <mike(_at_)saxonica(_dot_)com>:
You might like to look at Andrew Welch's LexEv processor. This converts
entity references into nodes that are retained in the data model. However, I
don't think it can handle numeric character references - these are typically
converted to characters by the XML parser and there is no way to switch this
off.

LexEv converts #x00027 to:

<lexev:char-ref name="#x00027">'</lexev:char-ref>

...so you have the character and the original code.

Its integrated into Kernow: go to Options -> Kernow Options -> LexEv
tab and tick the "enable LexEv" box.




-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--