[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: Re: condition attribute + XSL + doctype declaration
At 10:18 PM 7/15/01, Jirka Kosek wrote: >"M.-A. DARCHE" wrote: > >> I first changed your proposed stylesheet with replacing "*" by "node()" >> so no nodes (like processing instructions) would be lost in the process. >> But this has had no effect on the doctype declaration :-( > >Doctype is not accessible by XPath expressions, so it is not possible to >copy <!DOCTYPE...> by XSLT stylesheet. > >> I've also checked http://www.w3.org/TR/xslt.html#output for more >> details without finding out if it is normal or not. >> Any idea how the doctype could be kept without to modify the stylesheet >> each time the doctype changes ??? Anyone ? http://www.dpawson.co.uk/xsl/sect2/N2281.html Shows a couple of approaches. HTH DaveP
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC