|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Data extraction
Hi all
I have a requirement where I need to write an xslt to extract a particular
node from source tree.
Someone wrote an xslt that looked like this.. pseudo code
Template Match node()|@*
Apply-template select node()|@*
Template match *:ElementToExtract
Copy of select .
I thought the developer was making a lot of traversing using the above
approach and he could have instead done
Template match "/"
Copy of select descendant::*:ElementToExtract
Would you agree ? I thought this was very obviously better and faster ...
Forgive my pseudo code.
Dr.pal
|
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








