Skip to content

Latest commit

 

History

History
57 lines (47 loc) · 1.38 KB

File metadata and controls

57 lines (47 loc) · 1.38 KB
  • Combine validator in parser
    • support: ignore attributes, stop nodes etc.
  • skip
{
  skip: {
    tags: string[]|regx|jpath[]|fn
    tagsWithAttributes: string[]|regx|fn,
    tagsWithoutAttributes: string[]|regx|fn,
    attributes: string[]|regx|fn,
    attributesWithTag: string[]|regx|jpath[]|fn,
    attributesWithoutTag: string[]|regx|jpath[]|fn
    first: n, //tags
    last: n. //tags
  }
}
  • Upllift text data #414
{
  unwrapText: {
    withAttribute: string[]|regx|fn,
    withJPath: string[]|regex|fn,
    withTag: string[]|regex|fn
  }
}

P0

P1

  • Support external entities in XML Builder
  • Write UT for nested stop node
  • OptionsBuilder: replace by Object.assign

P2

  • Multiple roots
  • support stop nodes expression like head.*.meta
  • skip parsing of after some tag
  • validate XML stream data
  • Parse JSON string to XML. Currently it transforms JSON object to XML. Partially done. Need to work on performance.
  • Accept streams, arrayBuffer NaturalIntelligence#347
  • XML to JSON ML : https://en.wikipedia.org/wiki/JsonML

Entities