This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]