[xsl] changing section of XML file

Subject: [xsl] changing section of XML file
From: "Furst, Tom" <tom.furst@xxxxxxxx>
Date: Tue, 9 Dec 2008 15:26:44 -0500
I need to change a section of an XML document per a customer's requirements.

The existing section is:

<security class="01"/>
<orig>1DXU0</orig> (this section is sometimes 78286 dependnig on date of

It needs to change to:

<security class="01"/>
<rpc rpcname="Sikorsky">78286</rpc>
<orig origname="Sikorsky">78286</orig>
<applic><model model="CH148">
<qa><firstver type="tabtop"/></qa>
<rfu>Conversion to S1000D</rfu>

The file is validated by a schema.

I would like to create an XSLT file to handle this transform to help speed up
the process. I have on the order of 1000 files that this will need to be done
to, and currently it is being handled one by one in textpad.

I would like to accomplish this with XSLT 1.0. I am not sure of my processor.
I will be using XML Spy to work the files, which I believe has a processor
built in.


Tom Furst
Technical Writer

Phone 401-315-6411
Fax     401-315-6412

Current Thread