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

Re: Saxon auto-recognition of sequence of XML and XSLT

Subject: Re: Saxon auto-recognition of sequence of XML and XSLT document possible ?
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Fri, 2 Feb 2007 22:20:13 +0530
Re:  Saxon auto-recognition of sequence of XML and XSLT
On 2/2/07, Ben Stover <bxstover@xxxxxxxxxxx> 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

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.