This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Merging data (two xml documents, two context nodes)
- From: "Robert Koberg" <rob at koberg dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 18 Dec 2001 08:37:55 -0800
- Subject: Re: [xsl] Merging data (two xml documents, two context nodes)
- References: <59B292A4FEF3D411A10600508B6F27B203D79E69@clttmp21.ncmi.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Make a top level variable that holds the original document nodeset. Then
whenever you need it you can access the variable
best,
-Rob
> So the problem here is how to read data from the original context node
> (data.xml/page) after the called template has changed its context to
> congfig.xml/page/attributes/attribute?
>
> I think (hope) i'm just missing something simple...
> Suddenly i'm wondering if i should be parsing config.xml as the base
> document, and modifying it according to the contents of data.xml, instead
if
> the other way around.
>
> Thanks for any comments,
> Marty
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list