[xsl] Using unparsed-text() to test prolog

Subject: [xsl] Using unparsed-text() to test prolog
From: "Jesper Tverskov" <jesper@xxxxxxxxxxx>
Date: Tue, 14 Feb 2006 15:23:19 +0100
Hi list

A week ago Colin Adams reminded us: "in XSLT 2.0 you can call unparsed-text
on the document and read the DOCTYPE".

It has inspired me to make a sort of "prolog-identity-template".
I have just published an article about it: "Using unparsed-text() in XSLT
2.0 to test prolog".

http://www.xmltraining.biz/prolog

Best regards,
Jesper Tverskov

Current Thread