views:

134

answers:

3

I want to transform an xml file, display its treeview on a html. I have downloaded a example, it has xslt, js, css and also some images. I used xmlspy to do the transformation, but it didn't work.

Could anyone please tell me how to do the transformation?

A: 

W3Schools has a good explanation on how to Transform XML using XSL.

[EDIT] After re-reading your question, it seems that you are looking for a tool to apply XSL to your XML file and which outputs the result? Have you already tried XML Notepad 2007?

Zaagmans
+1  A: 

I'm guessing this is the example you're using. In which case, you shouldn't have to use XMLSpy to do the transformation. A newer browser will have an XSLT processor built-in! Try using the latest version Firefox or IE!

Jweede
+1  A: 

If you find it easier (as I do) to do as much in the browser as poss take a look at Johann Burkard's xslt.js:

http://johannburkard.de/software/xsltjs/

You can do/test your transformation right in the browser :)

sanchothefat