I need to split a comma delimited string with xslt 1.0 on the client side .... Is such a thing possible??
I tried a method like
I got an error on firefox saying it detected recursion and it halts there. My problem is I am returning data from my SQL server as XML and there is a 1 to many relationship, 1 blogpost record with multiple "tags" [ie #cars]. So I add the "tags" as a comma delimited field inside of an xml tag and I want to split it again on the client side. Alternatively if there is some way to simply create a nested field list from the SQL Server XML that would work too
ie instead of "cars, red, 2010" I could return
<tags>
<tag>cars</tag>
<tag>red</tag>
<tag>2010</tag>
</tags>
I am using MS SQL Server 2008, ASP.NET 4.0 and XSLT 1.0 on the browser so those are the tools available to me. Thanks in advance!