RE: [xsl] An all-in-one XML data set (usually a separate file) that contains a built-in stylesheet (not as a separate file)

Subject: RE: [xsl] An all-in-one XML data set (usually a separate file) that contains a built-in stylesheet (not as a separate file)
From: "Vasu Chakkera" <vasucv@xxxxxxxxxxx>
Date: Fri, 24 Feb 2006 11:12:08 +0000
Hey,
Let me know if I got your problem wrong:

You have an index kind of page where u show all the XML file names.
You then click on one of them and it should show in the browser a Transformed output. This XML has its XSL somewhere, that defines how the browser should show the output.


If this is your problem, then it could be as simple as adding to the XML a declaration like..

<?xml-stylesheet type="text/xsl" href="C:\development\XSL\transformerXSL.xsl"?>

The Browser will show you the transformed result.

HTH
Vasu

From: "Graves, Jim (CONTR)" <jim.graves@xxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [xsl] An all-in-one XML data set (usually a separate file) that contains a built-in stylesheet (not as a separate file)
Date: Thu, 23 Feb 2006 17:31:49 -0500


All,


Working scenario/problem: someone can see the file in the browser (IE) and simply click on it, then it runs the XSLT on the XML contained in the file (containing both XSLT and XML) and the result is displayed in the browser.

That is, how can one have an 'all-in-one' XML data set (usually a
separate file) that contains a built-in stylesheet (not as a separate
file)?


Or is it the other way 'round? An XSLT file that contains the XML input data?


Thanks in advance for your help.



_________________________________________________________________
Are you using the latest version of MSN Messenger? Download MSN Messenger 7.5 today! http://messenger.msn.co.uk


Current Thread