|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
accessing data in node like an accessing data in an array
Hi
I have in my xml nodes that are created from arrays(in flash) suchs as <eval9>11,11,11,108,11,0,0</eval9> When i am creating an XSL page I want to treat the data which is separted by the commas like an array. For example with code above I want to create a table with each value in a separted <td>. So it would look like 11 11 11 108 11 0 0 Does anyone know if i this is possible with xsl??? Thanks Iain |
|
#2
|
|||
|
|||
|
Yes, it is possible. In XSLT1, what you have to do is tokenize the string into
a RTF (result tree fragment) and then process the fragments. Do a Web search for "xsl tokenize" and you will find a number of examples. |
|
#3
|
|||
|
|||
|
cheers i will check that out
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > accessing data in node like an accessing data in an array |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|