[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] How to fetch desired data
Subject: [xsl] How to fetch desired data
From: rob Jackson <robjackson2002@xxxxxxxxx>
Date: Fri, 30 Dec 2005 14:09:43 +0530
|
Hi All,
I am converting a source xml into target xml using XSLT.
My source xml has a field like
<xsl:address>Charles Army Street; Boston, Ma 01779</xsl:address>
I have to display it by breaking it into different fields assuming
there will be comma
between city and state and space between state and zip.
Target xml should be like this:
<xsl:city>Charles Army Street; Boston</xsl:city>
<xsl:state>Ma</xsl:state>
<xsl:zip>01779</xsl:zip>
Can you please suggest me as how can I proceed with this. Thanks in advance.
Cheers,
Rob
|