[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Inlude problems

Subject: RE: Inlude problems
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 25 Jul 2002 10:37:11 +0100
strings.xml
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.