[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: unparsed text
On 16/11/2012 09:15, Andrew Welch wrote:
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|