RSS

Search Engine

Wednesday, September 15, 2010

Your first transformation - copy

We start first with a simplest transformation possible; no transformation at all. Create a new Java project "sawan.modi.xslt.first". Create a folder "files".

Create the following XML file "source.xml" in the folder "files".

IF YOU SEE THIS CODE THEN CLICK THIS IMAGE AND ENLARGE IT.



Create the following XLS file "transform.xsl" in the folder "files" .

IF YOU SEE THIS CODE THEN CLICK THIS IMAGE AND ENLARGE IT.



Select your xsl file and run it as XSL application.

Select "Open Files..." and select "source.xml". Press ok to run it.

Review the result "source.out.xml"

0 comments:

Post a Comment