xsl-list
[Top] [All Lists]

RE: Multiple xml-stylesheet processing instructions

2005-03-04 05:05:12
I got this from JAXP: TransformerFactory#getAssociatedStylesheet:

Get the stylesheet specification(s) associated via the xml-stylesheet
processing instruction (see http://www.w3.org/TR/xml-stylesheet/) with the
document document specified in the source parameter, and that match the
given criteria. Note that it is possible to return several stylesheets, in
which case they are applied as if they were a list of imports or cascades in
a single stylesheet.

I don't know where JAXP got it from.

Michael Kay
http://www.saxonica.com/
 

-----Original Message-----
From: Colin Paul Adams 
[mailto:colin(_at_)colina(_dot_)demon(_dot_)co(_dot_)uk] 
Sent: 04 March 2005 10:48
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Multiple xml-stylesheet processing instructions

Not so very long ago, someone asked a question, either on this list,
or on the Saxon list (I don't remember, and I can't find the posting
concerned), about the meaning of multiple aml-stylesheet PIs in an xml
document.

Michael Kay replied to the effect that he interprets it (and
implements it so in Saxon) as a bunch of xsl:imports to be made into a
wrapper stylesheet.

Michael, could you please explain your reasoning for adopting this
interpretation as against another possible interpretation, namely that
each stylesheet should be applied as a separate, chained,
transformation?

I have gone over-and-over http://www.w3.org/TR/xml-stylesheet/ and
HTML 4.0 (to which it refers), and I cannot see anything decisive in
favour of wither strategy.
-- 
Colin Paul Adams
Preston Lancashire

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--