xsl-list
[Top] [All Lists]

Re: [xsl] loading and unloading xml files using xslt

2007-12-18 12:55:27
If I understand you right it can easily be done, that is what we do
all the time. David probably misunderstood your question.

In your XSLT stylesheet you can load as many other xml files as you
want with e.g. the document() function used inside a variable or the
collection() function.

You then have access to the nodes in the loaded files and you can add
them to the XML input file in many sorts of ways e.g. by using the
identity template with additional templates.

But you can not add them to the input file directly, you must
transform that file. Take a look in some beginner's text book.

Cheers,
Jesper Tverskov
www.xmlplease.com

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