zxsd 0.20.0
Embedded XML Schema validation for C
Loading...
Searching...
No Matches
Data Fields
zxsd_xpath Struct Reference

Compiled restricted XPath used by identity constraints. More...

#include <zxsd.h>

Collaboration diagram for zxsd_xpath:
Collaboration graph
[legend]

Data Fields

const zxsd_xpath_step_t * steps
 Path steps.
 
size_t step_count
 Number of steps.
 
int descendant
 Non-zero for a leading .
 
int attribute
 Non-zero when the final step is an attribute.
 
const struct zxsd_xpath * alternatives
 Union branches, or NULL.
 
size_t alternative_count
 Number of union branches.
 

Detailed Description

Compiled restricted XPath used by identity constraints.

Definition at line 416 of file zxsd.h.

Field Documentation

◆ alternative_count

size_t zxsd_xpath::alternative_count

Number of union branches.

Definition at line 422 of file zxsd.h.

◆ alternatives

const struct zxsd_xpath* zxsd_xpath::alternatives

Union branches, or NULL.

Definition at line 421 of file zxsd.h.

◆ attribute

int zxsd_xpath::attribute

Non-zero when the final step is an attribute.

Definition at line 420 of file zxsd.h.

◆ descendant

int zxsd_xpath::descendant

Non-zero for a leading .

//.

Definition at line 419 of file zxsd.h.

◆ step_count

size_t zxsd_xpath::step_count

Number of steps.

Definition at line 418 of file zxsd.h.

◆ steps

const zxsd_xpath_step_t* zxsd_xpath::steps

Path steps.

Definition at line 417 of file zxsd.h.


The documentation for this struct was generated from the following file: