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

AW: variables

Subject: AW: variables
From: "Mengel Andre (FV/SLM) *" <Andre.Mengel@xxxxxxxxxxxx>
Date: Tue, 5 Jun 2001 08:33:47 +0200
AW:  variables
Hello Michael,

thank you for your contribution refering
my issue.

Best regards

André Mengel

> -----Ursprüngliche Nachricht-----
> Von: Michael Kay [mailto:mhkay@xxxxxxxxxxxx]
> Gesendet: Donnerstag, 31. Mai 2001 17:11
> An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Betreff: RE:  variables
> 
> 
> > I have the following problem. My XSL-file reads a second
> > document beside the original source
> > document that includes more than one location-path.
> > For example:
> >
> > <path1>elem1/child1<path1>
> > <path2>elem2/child2<path2>
> >  :
> >
> > I want to create one variable that contains all nodes of
> > the source-document specified by the loction-paths in the
> > path-elements
> > (path1,path2,...).
> >
> > I know how to do this with one path-element (e.g. path1), the
> > solution would
> > be
> >
> > <xsl:variable name="doc2" select="document('doc2.xml)">
> > <xsl:variable name="var1"
> > select="xalan:evaluate(string($doc2/path1))">.
> >
> > But I don't know how to do this with more than one path-element.
> 
> Construct a string of the form "elem/child1 | elem/child2" by doing an
> xsl:for-each over the path expressions, appending " | " to 
> each one except
> the last. Then do xalan:evaluate() using the resulting string.
> 
> Mike Kay
> Software AG
> 
> 
>  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
  • AW: variables
    • Mengel Andre (FV/SLM) * - Tue, 5 Jun 2001 02:33:32 -0400 (EDT) <=

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.