Yes, that works, and it can be quite useful where you have a stylesheet
that will only ever be used with one source document. (The
functions.html file in the Saxon documentation is generated this way,
for example).
Look up "embedded stylesheets" in the spec.
Michael Kay
-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of
Ronald Kent Gibson
Sent: 28 January 2004 13:55
To: 'XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com'
Subject: [xsl] Transformation with XSLT & XML In Same File
Dear All
Before any one asks, why would you ever want to do such a
thing, I am sort of forced into.
Anyways a have one document with the xml definition at the
beginning of the document and xslt at the end (or vice versa
is possible). I would like to transform the xml.
Do any of the transformers support such a funny set up, or am
I going to have to split up the files some way.
thanks
kent
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list