#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Location
    Fresno CA
    Posts
    19
    Rep Power
    0

    how do you make a referance to xml data in xslt?????


    I have a basic xml document and I want to make an xslt document to present the data...... how do I make a referance to either document about the other so they know they work together??? like how do I point to the file? (ex. I referance the xml data to the xslt document by telling the xslt document the xml data is in C:\xml\data.xml) If you cant referance one to the other than how do they work together????
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2001
    Posts
    11
    Rep Power
    0

    whats your environment


    Typically,

    Your development technology (JSP,Java,ASP,PHP,etc...) would provide a method of applying a stylesheet to an XML document. For example in J2EE you could leverage the javax.xml.transform package and use the transform() method.

    For testing, I believe you can put this in your XML document.
    <?xml-stylesheet type="text/xsl" href="" ?> where href is the path to your stylesheet and simply open the xml document with your browser.

    I think this might only work in IE and NS6.

    good luck.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Location
    Fresno CA
    Posts
    19
    Rep Power
    0

    Talking THANK YOU!!!!!


    I REALLY REALLY APPRECIATE IT!!!!!!!!!!!!!! THANK YOU SO MUCH!!!!!!!!!!!! ^_^

IMN logo majestic logo spyfu logo threadwatch logo seochat tools logo