OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Associating a Stylesheet with a Document

[ Lists Home | Date Index | Thread Index ]
  • To: xml-dev@lists.xml.org
  • Subject: Associating a Stylesheet with a Document
  • From: "Joe Schaffner" <schaffner.joe@gmail.com>
  • Date: Tue, 30 May 2006 12:48:05 +0300
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Z9PvVetpzvRyy60IF3Fys2PbWAHIE6mDP9uu4buGN8VdvtSdZoMMd4ONAgtF06WxRfe70uIBP/rtN2k+f+OSLwBIMxKFg7HzBHa7TPjaU094W1NMwlPtDvoG6PY3lyFjfzKIV6xhgvKylTGqf1piMQ/M3UGqyEugbBTnmGwsHNk=

Hello Everyone,

I've gotten to the point now where I understand all the components:
XML, XSL, XPath.


I saw the following example in an XML book:

<?xml version="1.0"?>
<?xml-stylesheet="simple-ie5.xsl" type="text/xsl"?>
<article ...

The stylesheet is named right in the input document!

I don't want to do that.

I'm looking for an out-of-band method of associating the stylesheet
and the document, and I was thinking of the http URL. It seems natural
to me that the URL for an XML application should point at the xsl, not
the xml -- which is meaningless to the browser.

Thanks, again.

A Lexicon of Ancient Greek Verbs
Written in HTML
Which I would like to redo in XML,
But I haven't started.


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS