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

Subject: Re: [xsl] loading and unloading xml files using xslt
From: "Jesper Tverskov" <jesper@xxxxxxxxxxx>
Date: Tue, 18 Dec 2007 20:54:52 +0100
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

Current Thread