xsl-list
[Top] [All Lists]

Re: [xsl] Keeping doctype declaration in resulting output [XSLT 1.0]

2010-10-05 06:13:56
 On 05/10/2010 11:57 AM, pankaj(_dot_)c(_at_)thomsondigital(_dot_)com wrote:
In XSLT you can read in the source file as text, using unparsed-text()
and then use string functions to cut off the input doctype declaration
and re-use.
Hmmm ... unparsed-text() seems to be promising. Need to try though
........ thanks again David......



There is also Andrew Welch's LexEv processor, which preprocesses the input document on the fly so that DOCTYPE declarations, entity references and the like are revealed to the XSLT processor in the form of elements and attributes.

Michael Kay
Saxonica

--~------------------------------------------------------------------
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>
--~--