[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Associating a Stylesheet with a Document

  • To: xml-dev@l...
  • Subject: Associating a Stylesheet with a Document
  • From: "Joe Schaffner" <schaffner.joe@g...>
  • 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=

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.
===================

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.