This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Inlude problems
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 25 Jul 2002 10:37:11 +0100
- Subject: RE: [xsl] Inlude problems
- Reply-to: xsl-list at lists dot mulberrytech dot com
Almost there... you need document("../Inlude/Strings.xml")
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com] On Behalf Of
> Ragulf Pickaxe
> Sent: 25 July 2002 09:48
> To: XSL-List@lists.mulberrytech.com
> Subject: [xsl] Inlude problems
>
>
> Hello all,
>
> I have a project which has about the structure shown here:
>
> c:\Library\Project
>
> Inside Project I have the libraries Inlude and Stylesheets:
>
> \Project\Inlude
> \Project\Stylesheets
>
> Stylesheets contain my XSL files for transforms while my
> Include library
> contains mainly files that are specific to which language is
> used (each
> country has some specific files which should all be placed in
> this library).
>
> The problem I have is that there are text strings in the XSL
> files. These strings I include in the stylesheets using the
> include function:
>
> <xsl:variable name="Language"
> select="document('Strings.xml')/Root/ThisDocument"/>
>
> But then Strings.xml must be in the Stylesheet library, not
> the Include
> library.
>
> I have tried ('/../Inlude/Strings.xml') but it does not work
> at all. I find that I can "go down", not "go up" in the directory.
> ('/Test/Strings.xml') does work if there is a Strings.xml in
> \Project\Stylesheets\Test (don't mind diffrence in / and \)
>
> Is there some way enabling me to put my String.xml in the
> Include library
> where it belongs?
>
> Thank you very much all.
>
> Ragulf Pickaxe :)
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list