← Prev in month ← Prev in thread

Associating a Stylesheet with a Document

From
Joe Schaffner <>
To
Date
2006-05-30T09:48:05Z
ID
<>
Thread
Associating a Stylesheet with a Document
Hello Everyone,

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

Thanks.

I saw the following example in an XML book:

<?xml version="1.0"?>
<?xml-stylesheet="simple-ie5.xsl" type="text/xsl"?>
<article ...
</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.

Joe
A Lexicon of Ancient Greek Verbs
Written in HTML
http://modern-greek-verbs.tripod.com/agv/
Which I would like to redo in XML,
But I haven't started.
===================
← Prev in month ← Prev in thread