xsl-list
[Top] [All Lists]

Re: [xsl] How to use document() of doc() function with copy idiom, or how to acc

2006-07-25 07:43:54

From: Abel Braaksma Online <abel(_dot_)online(_at_)xs4all(_dot_)nl>

Colin, can you explain "initial template"? Does that mean: just a dummy XML file? Currenlty I supply the xslt file itself as input document. Not sure if that's so handy, though.

It means that you don't need a dummy XML file. Just change the template where you have match="/" to read name="initial" (or some other value you like), and then supply the name (initial, in this case) as the name of the initial template.

Michael Kay has already told you how to do this for Saxon.

_________________________________________________________________
Be the first to hear what's new at MSN - sign up to our free newsletters! http://www.msn.co.uk/newsletters


--~------------------------------------------------------------------
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>
--~--