Search

Hello is it possible to use xslt to go from

<XML> <TAG1>tag1value1;tag1value2</TAG1> <TAG2>tag2value1;tag2value2</TAG2> </XML>

To this

<XML>
<LINE>
<TAG1>tag1value1</TAG1> 
<TAG2>tag2value1</TAG2> 
 </LINE>
 <LINE>
<TAG1>tag1value2</TAG1> 
<TAG2>tag2value2</TAG2> 
 </LINE>

Any help would be most appreciated.

Johan

Symphony has a tag-field that does the splitting for you; why don't you want to use that?

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details