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

Generated descriptor for an element particle. More...

#include <zxsd.h>

Collaboration diagram for zxsd_element_t:
Collaboration graph
[legend]

Data Fields

const char * name
 Local element name.
 
zxsd_type_t type
 Value kind.
 
const struct zxsd_complex * complex_type
 Complex descriptor, if any.
 
unsigned long min_occurs
 Minimum occurrences.
 
unsigned long max_occurs
 Maximum, or ULONG_MAX.
 
const zxsd_simple_t * simple_type
 Simple restriction, if any.
 
const char * namespace_uri
 Required namespace, or NULL.
 
const char * default_value
 Schema default, or NULL.
 
const char * fixed_value
 Required fixed value, or NULL.
 
int nillable
 Non-zero when xsi:nil is allowed.
 
int abstract_element
 Non-zero when substitution is required.
 
unsigned block_methods
 Prohibited runtime substitutions.
 
const char * substitution_head_name
 Head local name, or NULL.
 
const char * substitution_head_namespace
 Head namespace, or NULL.
 

Detailed Description

Generated descriptor for an element particle.

Definition at line 337 of file zxsd.h.

Field Documentation

◆ abstract_element

int zxsd_element_t::abstract_element

Non-zero when substitution is required.

Definition at line 348 of file zxsd.h.

◆ block_methods

unsigned zxsd_element_t::block_methods

Prohibited runtime substitutions.

Definition at line 349 of file zxsd.h.

◆ complex_type

const struct zxsd_complex* zxsd_element_t::complex_type

Complex descriptor, if any.

Definition at line 340 of file zxsd.h.

◆ default_value

const char* zxsd_element_t::default_value

Schema default, or NULL.

Definition at line 345 of file zxsd.h.

◆ fixed_value

const char* zxsd_element_t::fixed_value

Required fixed value, or NULL.

Definition at line 346 of file zxsd.h.

◆ max_occurs

unsigned long zxsd_element_t::max_occurs

Maximum, or ULONG_MAX.

Definition at line 342 of file zxsd.h.

◆ min_occurs

unsigned long zxsd_element_t::min_occurs

Minimum occurrences.

Definition at line 341 of file zxsd.h.

◆ name

const char* zxsd_element_t::name

Local element name.

Definition at line 338 of file zxsd.h.

◆ namespace_uri

const char* zxsd_element_t::namespace_uri

Required namespace, or NULL.

Definition at line 344 of file zxsd.h.

◆ nillable

int zxsd_element_t::nillable

Non-zero when xsi:nil is allowed.

Definition at line 347 of file zxsd.h.

◆ simple_type

const zxsd_simple_t* zxsd_element_t::simple_type

Simple restriction, if any.

Definition at line 343 of file zxsd.h.

◆ substitution_head_name

const char* zxsd_element_t::substitution_head_name

Head local name, or NULL.

Definition at line 350 of file zxsd.h.

◆ substitution_head_namespace

const char* zxsd_element_t::substitution_head_namespace

Head namespace, or NULL.

Definition at line 351 of file zxsd.h.

◆ type

zxsd_type_t zxsd_element_t::type

Value kind.

Definition at line 339 of file zxsd.h.


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