Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Element ¶
type Element struct { Tag string Content string Attributes map[string]string Children []*Element Parent *Element }
Element represents an XML element
type XMLParser ¶
type XMLParser struct {
helper.ParserOperator
}
XMLParser is an operator that parses XML.
type XMLParserConfig ¶
type XMLParserConfig struct {
helper.ParserConfig `yaml:",inline"`
}
XMLParserConfig is the configuration of an XML parser operator.
func NewXMLParserConfig ¶
func NewXMLParserConfig(operatorID string) *XMLParserConfig
NewXMLParserConfig creates a new XML parser config with default values
func (XMLParserConfig) Build ¶
func (c XMLParserConfig) Build(context operator.BuildContext) ([]operator.Operator, error)
Build will build an XML parser operator.
Click to show internal directories.
Click to hide internal directories.