package
1.0.0
Repository: https://github.com/cloudprivacylabs/lsa.git
Documentation: pkg.go.dev

# Functions

GetWhitespaceFacet returns the facet based on facetName being "preserve", "replace", or "collapse".
GetXMLName gets the XML name from the node's namespace and localname properties.
IsWhitespaceFacet returns if the given xml name is the whitespace facet.
MatchName will test if name matches requiredName.

# Constants

No description provided by the author
No description provided by the author

# Variables

AttributeTerm marks the attribute as an XML attribute of an element.
No description provided by the author
No description provided by the author
No description provided by the author
NamespaceTerm captures the element/attribute namespace in the ingested data graph.
ValueAttributeTerm gives the name of the attribute containing the value of the node.

# Structs

CollapseWhitespaceFacet works as follows: Subsequent to the replacements specified above under replace, contiguous sequences of #x20s are collapsed to a single #x20, and initial and/or final #x20s are deleted.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PreserveWhitespaceFacet does not do any string normalization.
ReplaceWhitespaceFacet replaces all occurrences of #x9 (tab), #xA (line feed) and #xD (carriage return) are replaced with #x20 (space).

# Interfaces

WhitespaceFacet is the only pre-lexical facet in XSD spec, that is, whitespace normalization must be done before validation.