[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How to use document() of doc() function with copy

Subject: Re: How to use document() of doc() function with copy idiom, or how to acc
From: "Colin Adams" <colinpauladams@xxxxxxxxxxx>
Date: Tue, 25 Jul 2006 15:43:37 +0100
Re:  How to use document() of doc() function with copy
From: Abel Braaksma Online <abel.online@xxxxxxxxx>

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.