split string and make elements in xslt 1.0 -


i want split string , reproduce 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 split data based on space.

thanks, muthu


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -