February 27th, 2002, 10:43 PM
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????
March 4th, 2002, 05:18 PM
whats your environment
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.
March 4th, 2002, 07:23 PM
I REALLY REALLY APPRECIATE IT!!!!!!!!!!!!!! THANK YOU SO MUCH!!!!!!!!!!!! ^_^