xsl-list
[Top] [All Lists]

How to fetch desired data

2005-12-30 01:39:43
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>