xsl-list
[Top] [All Lists]

Re: [xsl] Saxon auto-recognition of sequence of XML and XSLT document possible ?

2007-02-02 09:50:28
On 2/2/07, Ben Stover <bxstover(_at_)yahoo(_dot_)co(_dot_)uk> wrote:
Is there no Auto-recognition from Saxon to detect which of the two documents is 
the
XML and which the XSLT stylesheet and hence allow also

the 1st argument to Saxon should be XML file, and 2nd argument should
be XSLT file. That's how it's designed. Saxon cannot introspect from
the file contents, whether it is a XML file or a XSLT file.

I agree to George's comments, where he suggests that one way to
distinguish between a XML file and XSLT file is by looking at the XSLT
namespace (but Saxon doesn't do this). I don't see a good reason that
a XSLT processor should provide this facility.

--
Regards,
Mukul Gandhi

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