This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Accessing 2 xml files in xsl
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Accessing 2 xml files in xsl
- From: "Selva, Francis" <Francis dot Selva at purchasepro dot com>
- Date: Wed, 19 Apr 2000 08:45:50 -0700
- Reply-To: xsl-list at mulberrytech dot com
This is what I have.But how can it access from 2 different xml files?.Should
I have to define all the different template matches then?.Is there a way I
can just define one template like "/" and get all those values from both xml
files?
Francis
>
> here was the example David gave.
> ============================================
> xsl:import is for importing stylesheets, ie for structuring your
> stylesheet out of smaller modules. So is no use at all for
> what you want
> to do.
>
> if your countries are in countries.xml then just go
>
> <xsl:apply-templates select="document('countries.xml')"/>
>
> and write some templates to transform your file
> into the list on your html.
>
> David
> ============================================
>
> I hope this will partially redeem me :)
> also the "Index by Date" link on the xsl-list site is bad
> http://www.mulberrytech.com/xsl/xsl-list/archive/maillist.html
> "Index by Thread" works though.
>
> Noah
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list