W3C home > Mailing lists > Public > xsl-editors@w3.org > January to March 2002

Separating xml and xsl

From: Mrinal Kant Tripathy <mrinal_kt@rediffmail.com>
Date: 25 Jan 2002 05:15:40 -0000
Message-ID: <20020125051540.15217.qmail@mailweb9.rediffmail.com>
To: xsl-editors@w3.org

To specify the stylesheet (XSL or CSS) in the xml document means that if I want my xml doc to be presented in 'n' different ways, I have to maintain as many copies of the doc as the desired no. of ways in which to present the doc.

Would it not be a better idea to leave the xml doc completely unmindful of the stylesheet to be used to present it. Instead, the document that one links to ought to be something that specifies a pair of entries as follows:

1. the XML document to present.
2. the stylesheet (CSS or XSL) used to present the document.

In this way, it is possible for the doc not to bother about how it shall be presented. Also, by not linking the stylesheet to the doc, we can have one stylesheet for a number of docs.

- Mrinal Kant. 
 
Received on Friday, 25 January 2002 00:17:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:52 GMT