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

RE: Searching in Sub-children from an Array

Subject: RE: Searching in Sub-children from an Array
From: "Houman Khorasani" <Houman.Khorasani@xxxxxxxxxxx>
Date: Tue, 12 Dec 2006 15:32:20 -0000
RE:  Searching in Sub-children from an Array
Hi Florent,

I have solved it now with the id mapping method and it seems its fast enough.
Just out of curiosity; do you have a simple example how this should work as
meta data?  Sounds interesting...

Regards
Houman

-----Original Message-----
From: Florent Georges [mailto:darkman_spam@xxxxxxxx]
Sent: 07 December 2006 15:45
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Searching in Sub-children from an Array

Houman Khorasani wrote:

  Hi

> 2) I don't know if the thing above is possible at all, but
> even if so, XML Mapping seems to be a bit slow, so I though
> as an alternative solution, I could produce the <Steps>
> with a proper XPATH like this:

> 		<Steps>//*[@ID='111']//*[@ID='333']</Steps>

  This is not possible in plain XSLT.  In this case, there is a simpler
solution, that is listing the IDs as you shown before.

  But sometimes it is convenient/required to put XPath expressions in
the document.  The solution is then to see the document as a
meta-stylesheet, and generate with XSLT a stylesheet with it.  This
generated stylesheet will be in its turn runned to produce the desired
result.

  I do that every day in my work.

  Regards,

--drkm

























___________________________________________________________________________
Yahoo! Mail riinvente le mail ! Dicouvrez le nouveau Yahoo! Mail et son
interface rivolutionnaire.
http://fr.mail.yahoo.com

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.