Subject: Re: [xsl] unparsed text From: Michael Kay <mike@xxxxxxxxxxxx> Date: Fri, 16 Nov 2012 10:35:31 +0000 |
On 16 November 2012 09:11, Michael Kay <mike@xxxxxxxxxxxx> wrote:3.0 will provide a default initial template, which you get by naming the template xsl:initial-template. However, since the XSLT spec doesn't define APIs, the exact effect depends on the API design. On the Saxon command line I'll probably change it so -it without an option value means -it:xsl:initial-template.The second part of the answer (which I guess Ken assumed you already knew) is that having started your transformation without an XML document as input, you can then read the text file using the unparsed-text() function.The other thing worth mentioning is the 'default initial template' in 3.0.... what was the end result there?
Michael Kay Saxonica
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] unparsed text, Andrew Welch | Thread | Re: [xsl] unparsed text, Andrew Welch |
Re: [xsl] unparsed text, Ihe Onwuka | Date | Re: [xsl] unparsed text, Michael Kay |
Month |