This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Simple Replacement
- From: Joerg Heinicke <joerg dot heinicke at gmx dot de>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Tue, 16 Jul 2002 21:16:03 +0200
- Subject: Re: [xsl] Simple Replacement
- References: <CF698667C737D41198E50060943F3CF6F682E9@hoexch03.amica.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
FAQ: http://www.dpawson.co.uk/xsl/sect2/N1930.html
Joerg
CROFT, MICHAEL wrote:
This should be a very simple question for the list...
I would like to convert this input...
<PolicyPeriod>
<statusUpdateDate>4/29/2002</statusUpdateDate>
<statusCode>PROPOSAL</statusCode>
<reasonCode>NEWBS</reasonCode>
<instanceId>532419014954058</instanceId>
<expirationDt>3/30/2003</expirationDt>
<effectiveDt>3/30/2002</effectiveDt>
</PolicyPeriod>
to this output....
<com.castek.insure3.customer.businessobjects.PolicyPeriod>
<statusUpdateDate>4/29/2002</statusUpdateDate>
<statusCode>PROPOSAL</statusCode>
<reasonCode>NEWBS</reasonCode>
<instanceId>532419014954058</instanceId>
<expirationDt>3/30/2003</expirationDt>
<effectiveDt>3/30/2002</effectiveDt>
</com.castek.insure3.customer.businessobjectsPolicyPeriod>
basically, just replace the parent name with a different name, but keep all
its content intact.
Mike
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list