Stilig | Stilig - 4chan Userstyle | Style Language library
kandi X-RAY | Stilig Summary
kandi X-RAY | Stilig Summary
Stilig - 4chan Userstyle
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Stilig
Stilig Key Features
Stilig Examples and Code Snippets
Community Discussions
Trending Discussions on Stilig
QUESTION
I've recently come upon a little smal challenge, while I do believe that a lot of people just stick with the -ForEach- loop as we usually do, I'm trying to think outside and see what alternative ways we have to actually to the same thing but in a different way.
There is another way to actually loop through the child nodes in this XSLT but I'm having a little hard time to actually figure it out. I've been searching through the forum without an answer but perhaps someone can point me in the correct direction.
My codes looks like this atm:
...ANSWER
Answered 2017-Feb-20 at 21:23a couple of tips :
-first, it is adviced to use xsl version 2 (released in 2007 :P )
-second, apply-template is more efficient than for-each and it is designed specially for the thing you want to achieve. So here is how i would use apply-template in your code :
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Stilig
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page