|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Nesting predicates and context node
Hello everyone,
how do I use nested predicates and refer from the inner predicate to the
current node of the outer predicate?
For example:
//product[count(preceding-sibling::product[@id= ? ]) < 3]
The question mark stands for an expression that selects the @id of the
outer context node. The 3 at the end is a variable that gets set from an
application actually. This expression would be used to set the value of
an xsl:variable. I need to to know if it is possible to refer to the
current node of the outer predicate or if I can achieve a solution wth a
completely different approach.
Thanks for any help. Martin.
--
Martin Kupisch
Fraunhofer Institut für Software- und Systemtechnik
Emil-Figge-Str. 91
44227 Dortmund
Tel.: +49 +231 97677 - 308
E-mail : kupisch@xxxxxxxxxxxxxx
Internet: http://www.do.isst.fhg.de
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
|

Cart








