[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: RE: quick table 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|