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

RE: Re: dynamic XPath?

Subject: RE: Re: dynamic XPath?
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Wed, 12 Mar 2003 16:15:55 -0500
explain dynamic xpath
[Dimitre Novatchev]
> "Passin, Tom" <tpassin@xxxxxxxxxxxx> wrote in message
> > Yes we can, depending on how complicated you want the path 
> expression to
> > be.
> 
> This is quite exaggerated. See below.
> 
> 
> This comparison will work in rare cases and will not work in 
> general if
> $tagPath evaluates to a single node having preceding siblings.
> 
> It will also "work" for more than one node (in case $tagPath 
> evaluates to a
> nodeset of two or more nodes) and most probably is not what 
> the author of
> the original message wanted.
> 

Well, we do not know just __what__ he really wants to do.  I did not
mean to give a general solution that would work for all cases, just to
indicate that it might be possible __depending__ on what he really wants
to do.  However, the expression I gave to produce a path to an element
(I forget where I found it, it may have just come with Cooktop) could be
extended.  If the original poster does get unwanted  behaviorwhen
multiple nodes match, then he will  have to work out modifications, or
maybe the method can not be made to work.

So, Yue Ma, here is your chance to explain more completely what you are
trying to accomplish.

Cheers,

tom P

 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.