Re: [xsl] Simple Replacement

Subject: Re: [xsl] Simple Replacement
From: Joerg Heinicke <joerg.heinicke@xxxxxx>
Date: Tue, 16 Jul 2002 21:16:03 +0200
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


Current Thread