xsl-list
[Top] [All Lists]

Re: [xsl] unparsed text

2012-11-16 04:35:43

On 16/11/2012 09:15, Andrew Welch wrote:
On 16 November 2012 09:11, Michael Kay <mike(_at_)saxonica(_dot_)com> wrote:
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?


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.

Michael Kay
Saxonica

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>