A couple questions about xml, xslt, and asp

liunx

Guest
First, I need to save an xml document as an xslt document on the server. I don't know how to do this with the scripting.filesystem object, but I need a little help.

Also, I heard of a way of editing xml with xslt on w3schools.com, and I need to know how to edit that asp script to edit an xslt document. The url to the script is here:

<!-- m --><a class="postlink" href="http://www.w3schools.com/xsl/xsl_editxml.aspHi">http://www.w3schools.com/xsl/xsl_editxml.aspHi</a><!-- m --> hw,


I don't know if you've missed the underlying principal of XML and XSLT, but XSLT is actually a template file that you can apply to XML to format it into particular columns, etc. As for editting with XSLT, I'm not sure exactly what you're getting at. To edit any script language the least you need is Notepad that comes with windows.

Okay - I've quickly had a read of the page. I think you'd be best off having a good read through the XSLT section again. This will give you the grounding you need. To go through and explain everything to you in a thread would take waaaay to long.

Have a look at the XSLT Transformation (<!-- m --><a class="postlink" href="http://www.w3schools.com/xsl/xsl_transformation.asp">http://www.w3schools.com/xsl/xsl_transformation.asp</a><!-- m -->) section to get more understanding. Also, here's a useful site (<!-- m --><a class="postlink" href="http://www.zvon.org/xxl/XSLTreference/Output/">http://www.zvon.org/xxl/XSLTreference/Output/</a><!-- m -->) as a reference.

Let me know how you get on.


Paul.You might just want to use the MSXML COM object to do all that.


XSLT is a style sheet as Paul suggested. it is used to create a template for layout. When applied to XML and output to HTML it can do what many people try to do with scripting languages.
 
Back
Top