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

Generated descriptor for an XML attribute. More...

#include <zxsd.h>

Collaboration diagram for zxsd_attribute_t:
Collaboration graph
[legend]

Data Fields

const char * name
 Local attribute name.
 
zxsd_type_t type
 Primitive value kind.
 
int required
 Non-zero when required.
 
const zxsd_simple_t * simple_type
 Simple restriction, if any.
 
const char * namespace_uri
 Required namespace, or NULL.
 
const char * default_value
 Value used when absent, or NULL.
 
const char * fixed_value
 Required value when present.
 

Detailed Description

Generated descriptor for an XML attribute.

Definition at line 355 of file zxsd.h.

Field Documentation

◆ default_value

const char* zxsd_attribute_t::default_value

Value used when absent, or NULL.

Definition at line 361 of file zxsd.h.

◆ fixed_value

const char* zxsd_attribute_t::fixed_value

Required value when present.

Definition at line 362 of file zxsd.h.

◆ name

const char* zxsd_attribute_t::name

Local attribute name.

Definition at line 356 of file zxsd.h.

◆ namespace_uri

const char* zxsd_attribute_t::namespace_uri

Required namespace, or NULL.

Definition at line 360 of file zxsd.h.

◆ required

int zxsd_attribute_t::required

Non-zero when required.

Definition at line 358 of file zxsd.h.

◆ simple_type

const zxsd_simple_t* zxsd_attribute_t::simple_type

Simple restriction, if any.

Definition at line 359 of file zxsd.h.

◆ type

zxsd_type_t zxsd_attribute_t::type

Primitive value kind.

Definition at line 357 of file zxsd.h.


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