Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeCanonical ¶
EncodeCanonical marshals a value and rewrites the resulting token stream to: - declare namespaces once on the root element - keep the document namespace as the default namespace - use a stable prefix for XMLDSig nodes - keep xmlns declarations ahead of regular attributes
func EncodeNamespacedRoot ¶ added in v0.1.1
EncodeNamespacedRoot marshals value, renames its root element to rootLocal, and declares namespace as the default namespace on it. Remaining canonical behavior matches EncodeCanonical. Useful to avoid per-root anonymous wrapper structs when the inner type carries no XMLName tag.
func FirstNonEmpty ¶
func ParseRootName ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.