|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Transformation with respect to level of depth
> * How can I limit the parsing to a certain depth, say level 1,2,3 (0 for root)? I guess, I have to maintain a variable "level" which is passed into every template? You can do that, or you can establish the depth of a node $n using count($n/ancestor::*). Michael Kay http://www.saxonica.com/
|
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
|






