0

Say I have an element <pets animals="dogs, cats, donkey, turtle, rabbit" />

How can I break the long string to when it hits the comma, it separates the animals into substrings? An example output is shown below:

dogs
cats
donkey
turtle
rabbit

Help is appreciated.
Thanks

2
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by f_atencia
0

Tokenize is a XSLT2.0 feature. Is there any recursive template I can use in XSLT V1.0?

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.