Base64

Attributes

URI:http://www.xmlpipe.org/xpe/util/filter/validate
Type:filter
Namespace:http://www.xmlpipe.org/xpe/util/schema
Owner:http://www.xmlpipe.org/xpe

Description

This filter validates a XML document against a schema.

Validate a remote XML document


   <v:validate  target="{target uri}"  schemaLoc="{schema URI}"  schemaType="{relax|w3c}"  reload="{true|false}"  xmlns:v="http://www.xmlpipe.org/xpe/util/schema" />

The validate element instructs the filter to validate the XML document specified by the target attribute against the schema specified by the schemaLoc attribute. Two types of schemas are supported: RelaxNG and W3C Schema.

Validate embedded XML fragment


   <v:validate  schemaLoc="{schema URI}"  schemaType="{relax|w3c}"  xmlns:v="http://www.xmlpipe.org/xpe/util/schema" >
      {XML fragment}
   </v:validate>

All other attributes remain the same.