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"

No comments:

Post a Comment

How to Free Up Storage Space on Your Android Phone (Without Deleting Photos)

Running out of space on your Android phone is one of the most common (and most annoying) problems out there - especially once you start gett...