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

FW: MSXML and Inline schemas

Subject: FW: MSXML and Inline schemas
From: "Gale, Paul" <GaleP@xxxxxxxxxxxxx>
Date: Tue, 22 Aug 2000 12:42:09 -0500
inline schema
Hi,

I'm writing an XSLT stylsheet that will transform the XML output of an ADO
recordset from attribute-normal form to element-normal form. In the result
document I insert inline a new schema to validate the element-normal form of
the document. So far, so good. I am using MSXSML.DLL v3.0 as the parser on
Win2K. 

As a test I deliberately removed the elementType definition of a particular
element in the inline schema yet still produced an element of the said type
in the result document on output from the XSLT transform. The result
document is validated on load by setting the validateOnParse property to
true on the DOM document COM object. I would expect the output document to
fail the validation on load as there is an element present that does not
have an associated definition in the inline schema. What's going on here?
Have I misunderstood what a schema is used for?

Any ideas?

Paul


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.