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

Re: RE: quick table layout problem

Subject: Re: RE: quick table layout problem
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Mon, 7 Jan 2002 08:06:58 -0800 (PST)
yahoo layout problem
"Andrew Welch" <andrew at thebristoldirectory dot com> wrote:

[snip]

> Regarding xpath visualiser, I have used that in the past and it is very
> useful.  However, it doesnt let me find out the xpath of one element, based
> on the position of another - that would be a worthwhile addition.

To produce a path for an element is exactly the reverse of what the XPath Visualizer
does. Probably you meant to specify an XPath expression relative to a (current)
node?
This can be achieved as follows:

1. Create a variable, whose "select" attribute is an XPath expression, that
evaluates to the node you want to use as current.

2. Use this variable in further XPath expressions. E.G. $cur/a/b/c

The lack of point and click node-identification is by design with the purpose to
encourage the user to learn XPath by having to specify as much expressions as
possible... :o)

Cheers,
Dimitre Novatchev.

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

 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.