pyxsd.integrations.projection¶
Dependency-free specifications for named contextual scalar columns.
Classes¶
Select a scalar or attribute by expanded XML names, relative to a row. |
Functions¶
|
Serialize one source without adding unset RELAX NG selectors. |
Module Contents¶
- class pyxsd.integrations.projection.FieldSource¶
Select a scalar or attribute by expanded XML names, relative to a row.
- scope: Literal['record', 'ancestor', 'root'] = 'record'¶
- pyxsd.integrations.projection.field_source_metadata(source)¶
Serialize one source without adding unset RELAX NG selectors.
The leading key order matches the historical
dataclasses.asdictoutput, so existing XSDpyxsd:sourcemetadata stays byte-compatible.- Parameters:
source (FieldSource)
- Return type: