Thursday, 8 August 2013

split string and make elements in xslt 1.0

split string and make elements in xslt 1.0

I want to split a string and reproduce the content in different tags
Input
<Sample>8.1 Learning XSLT in 24 hours, 198</Sample>
Output
<Sample><number>8.1</number><title>Learning XSLT in 24
hours,</title><pages>198</pages></Sample>
Note:I want to split the data based on the space.
Thanks, Muthu

No comments:

Post a Comment