zxsd 0.20.0
Embedded XML Schema validation for C
Loading...
Searching...
No Matches
Functions
zxsd Mini-XML adapter

Validate Mini-XML trees with generated zxsd descriptors. More...

Functions

zxsd_result_t zxsd_mxml_validate (const zxsd_schema_t *schema, mxml_node_t *node)
 Validate a Mini-XML element tree through the event API.
 

Detailed Description

Validate Mini-XML trees with generated zxsd descriptors.

Function Documentation

◆ zxsd_mxml_validate()

zxsd_result_t zxsd_mxml_validate ( const zxsd_schema_t *  schema,
mxml_node_t *  node 
)

Validate a Mini-XML element tree through the event API.

Namespace declarations are resolved while walking the tree and are not reported as ordinary attributes.

Parameters
[in]schemaGenerated schema descriptor.
[in]nodeDocument node or root element node.
Returns
A structured validation result.