[xsl] ALWAYS assignment of XSL stylesheets to XML file before aplying them ?

Subject: [xsl] ALWAYS assignment of XSL stylesheets to XML file before aplying them ?
From: "Ben Stover" <bxstover@xxxxxxxxxxx>
Date: Wed, 31 Jan 2007 15:23:47 +0100
Sorry for this newbie question:

But I saw a lot of tutorials where XSL stylesheet are always assigned/integrated in XML docs before they are
really applied. I mean

I could apply a XSLT styplesheet directly to an XML doc beginning with

<?xml version="1.0" encoding="....">
<TOPTAG>
...
</TOPTAG>

Instead most of the tutorials link the XSLT stylesheet at first into the XML document:

<?xml version="1.0" encoding="....">
<?xml-stylesheet type="text/xsl" href="D:\test\myxslt.xsl"?>
<TOPTAG>
...
</TOPTAG>

Is there a reason for this ?

Ben 






		
___________________________________________________________ 
Try the all-new Yahoo! Mail. "The New Version is radically easier to use"  The Wall Street Journal 
http://uk.docs.yahoo.com/nowyoucan.html

Current Thread