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

RE: accessing multiple xml documents from within one

Subject: RE: accessing multiple xml documents from within one template
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 16 Jan 2009 23:30:58 -0000
RE:  accessing multiple xml documents from within one
Use *[name()=$fieldname], and if it's too slow then find a faster processor.

Michael Kay
http://www.saxonica.com/
 

> -----Original Message-----
> From: Stefan Hunziker [mailto:stefan.stanjasele@xxxxxxxxx] 
> Sent: 16 January 2009 23:01
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  accessing multiple xml documents from 
> within one template
> 
> I have a solution now for accessing both trees, I have to 
> step through the reportDef using xsl:for-each. But now I have 
> the next problem:
> 
> In $fieldname there is the desired tag, eg "title". Can I get 
> the title element of my current book node without looping 
> through the whole node and comparing with name(.)=$fieldname? 
> The given sample is a simplification, the real book node in 
> my application has maybe 100 elements and with maybe 1000 
> books this would be a little bit too time consuming.
> 
> any ideas?

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.