RE: [xsl] Inlude problems

Subject: RE: [xsl] Inlude problems
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 25 Jul 2002 10:37:11 +0100
Almost there... you need document("../Inlude/Strings.xml")

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Ragulf Pickaxe
> Sent: 25 July 2002 09:48
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> 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


Current Thread