Jump to content

XML & XSLT


smerny

Recommended Posts

Hey, I'm looking into XSLT some and the tutorials I find show like: here is the xml, here is the xslt, and here is the outcome...

 

but, i don't see how the xslt is linked with the xml, how do i make the xslt document? do i save it with .xslt? how do i use it with the xml?

 

thanks for any help

Link to comment
Share on other sites

Hey, I'm looking into XSLT some and the tutorials I find show like: here is the xml, here is the xslt, and here is the outcome...

 

but, i don't see how the xslt is linked with the xml, how do i make the xslt document? do i save it with .xslt? how do i use it with the xml?

 

thanks for any help

The XSL sheet will parse and transform the XML document by setting up match rules.  What exactly are you having trouble with?  The actual code or setting it up?

Link to comment
Share on other sites

setting it up, like for example i just want to see if i can get this to work on my computer:

 

http://www.w3schools.com/xsl/tryxslt.asp?xmlfile=cdcatalog&xsltfile=cdcatalog_if

 

so i copied the contents and saved them both into the same folder... an xml and an xsl document.. but if when i open either of them with a browser, i just see the text content

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.