[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] FW: MSXML and Inline schemas
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|