Hi,
I think a schema-aware XSLT processor is what you need. Saxon-b8.2 is
an XSLT 2.0 processor that is also schema aware. You may want to check it
out.
Cheers,
Omprakash.V
"67pat odowd"
<birchsolutions(_at_)ho To:
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
tmail.com> cc: (bcc:
omprakash.v/Polaris)
Subject: [xsl] XSL call to
validate using XML Schema
05/26/2005 10:08
PM
Please respond to
xsl-list
Hi,
I developed a java 1.4 program that calls out to an XSL stylesheet to do
some transformations on an incoming XML document, I am wondering if I can
also validate the XML document using XML schema through my program or via
an
XSL/XSLT call?
Would it be possible to have a link to an XML Schema in the incoming XML
doc
and the call to the XSL uses this to validate the XML before I do the
transformation?
Ideally, I would like minimal program changes and implement this by
changing
the XSL (if this is possible at all). The program is deployed on windows
and
unix (using the default jre 1.4 XML and XSL implementation - xerces + xalan
as far as I know)
Thanks in advance,
Pat
_________________________________________________________________
Use MSN Messenger to send music and pics to your friends
http://messenger.msn.co.uk
--~------------------------------------------------------------------
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>
--~--
This e-Mail may contain proprietary and confidential information and is sent
for the intended recipient(s) only.
If by an addressing or transmission error this mail has been misdirected to
you, you are requested to delete this mail immediately.
You are also hereby notified that any use, any form of reproduction,
dissemination, copying, disclosure, modification,
distribution and/or publication of this e-mail message, contents or its
attachment other than by its intended recipient/s is strictly prohibited.
Visit Us at http://www.polaris.co.in
--~------------------------------------------------------------------
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>
--~--