pc:ValidateSchemas

Previous Next

Finds out whether an XML document is well-formed. If you provide XML schemas, finds out whether the XML document is valid according to one of these schemas.

Returns an XML document reporting on the outcome.

Syntax

<pc:ValidateSchemas 

      xml="xml"

      attr="xml-schema" ...

>

The required xml is the input XML document.

You can optionally specify one or more XML schemas. For these, you can use any attr attribute name, provided that the attribute names are unique.

 

collapseExample: Testing that XML is well-formed
collapseExample: Testing that XML is schema-valid and well-formed
collapseExample: Testing XML against multiple schemas

 

 

See also

Repository manager