posty68
October 31st, 2000, 11:25 AM
im just beginning to use XML and i have a .xml file which is valid and a .dtd .
i would like to start learning how to use xsl !
what do i have to do to my .xml file to start using xsl ?
thanks
sharma-kapil
November 1st, 2000, 02:11 PM
[i] Basically you need to write a seperate xsl file(actually its also a xml file, format-wise) which will contain the layout instructions for the elements/attributes which you want to show into the final presentation for displaying purpose(probably as a web page). After you write this xsl file(remeber it should be valid/wellformed too becoz its just another xml) you need to link the xml document to this xsl file using
?xml-stylesheet type="text/xsl" href="test.xsl"?
and you are finished. Read some tutorials like on http://www.xml.com http://www.xmlarena.com.
~ Rating helps know whether you were helped
~ ks