Expand description
XML Parser
Structs§
- XMLOptions
- XMLOptions for xml parsing
- XMLStep
- A Step is a name and an index
- XMLTag
- A Tag is a pair of an inner and an outer strings with their indexes
Enums§
- XMLPath
Item - A PathItem is a String or a Step
- XMLTag
Item - A PathItem is a String or a Step
Statics§
- NO_
INDEX - NO_INDEX means it’s not pointing to a location in memory
Functions§
- xml_
count_ substring - Count the number of times a substring appears in a string
- xml_
find_ tag_ by_ name - Find the first tag with the given name
- xml_
find_ tag_ by_ path - Find the first tag with the given path
- xml_
find_ tags_ by_ name - Find all tags with the given name
- xml_
find_ tags_ by_ path - Find all tags with the given path
- xml_
get_ attribute - Get the value of an attribute
- xml_
index_ of_ match - Find the index of the first match
- xml_
index_ of_ match_ end - Find the index of the last match
- xml_
remove_ comments - Remove comments
- xml_
remove_ tags_ by_ name - Remove tags
Type Aliases§
- XMLPath
- A Path is an array of Steps or Strings