|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Inlude problems
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: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








