Re: Does libxml2 support multiple schemas?
On Friday 08 July 2005 12:21, å·¥ç¨?å¸«åª½åª½ wrote: > As I know: > > libxml2 supports schema validation in version 2.6.19. > It uses xmlSchemaParserCtxtPtr->URL to specify URL of .xsd file to validate > doc node. > and stored the parsed schema in xmlSchemaParserCtxtPtr->schema > > But in my cases, I want to use libxml2 to validate SOAP messages > against several schemas, such as soap2002.xsdï¼?soap12.xsdï¼?xenc-schema.xsdï¼? > and schema specified by Web Services itself. > > Does it possible to validate such kinds of SOAP messages using libxml2? You mean keeping several schemas compiled and applying them to different documents? Sure, at least as far as I know. But I'm not familiar with the C API, so I suggest you ask on a more appropriate list, xml@g...: http://mail.gnome.org/mailman/listinfo/xml There's also the API docs, found after a quick look: http://www.xmlsoft.org/html/index.html Cheers, Frans
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