|
|
Sun, 27 Jul 2008 10:28:08 +0100, /andy/:
I know u can link an xml file to an xsl file by putting a stylesheet
declaration in the xml file.
Is there a way to do the opposite ?, is there a declaration I can put in
the xsl file that means I can browse to it as if I was browsing the xml
file with a stylesheet declaration ?.
I thnink it should be possible using XInclude [1]:
-----proxy.xml
<?xml version="1.0"?>
<?xml-stylesheet href="sheet.xsl" type="application/xml"?>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="original.xml"/>
-----proxy.xml--
But I don't think browsers support it.
[1] www.w3.org/TR/xinclude/">http://www.w3.org/TR/xinclude/
--
Stanimir
|
|