This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Simple Replacement


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]