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

associating xml with xsl

Subject: associating xml with xsl
From: jonec@xxxxxxxxxxxxxx
Date: Sun, 4 Sep 2005 12:48:59 -0700 (PDT)
jonec
Hi,

I'm doing a site for which xml content needs to be delivered three ways

1)
(raw xml, xsl stylesheet is a dont care)
http://site.com/somefile.xml

2)
(transformed xml -> html via xsl stylesheet)
http://site.com/somefile.xml

3)
(transformed xml -> html via xsl stylesheet, php accepting additional params)
http://site.com/transform.php?file=somefile.xml

(#2 and #3 use same stylesheet)

Given this goal, I'd like some advice on how to associate style sheets
with xml documents, I'm stumped on the intelligent way to do this :(

Note that not all xml files will use the same stylesheets.

It doesn't appear I can use <?xml stylesheet ...> because in #1 the raw
untransformed xml needs to be accessed and the stylesheet PI seems to
force a transformation by whatever's accessing it which i DONT want in
this case, but DO want in #2

Then in #3 it only needs to know what stylesheet to use to process the xml..

Any advice? :/

thank you for any suggestions.

Jone

Current Thread

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