Efficient extensible markup language namespace parsing for editing
Abstract
Methods and computer products provide for an efficient XML namespace analysis and parsing. Extensible Markup Language (XML) structure of an XML document is passed through an XML parser as plain text, and the result is an internal data structure that represents the XML. The XML parser keeps track of all mappings of prefixes-to-namespaces as it is parsing the tree of XML tags in the text. A design tool application may be use to modify the parsed data structure by moving XML tags to different locations, by adding new XML tags, or by deleting XML tags. After modifications are complete, and the user wants to save a file, the XML may be re-written as text. The mappings of prefixes-to-namespaces are advantageous during output so that each XML tag is associated with the correct prefix.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 30 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for creating and managing Extensible Markup Language (XML) namespaces associated with an XML document, the method comprising: receiving the XML document on a computer; parsing the XML document for locating at least one XML tag applied to the XML document; parsing the at least one XML tag to determine a prefix associated with the at least one XML tag and a namespace associated with the at least one XML tag; building a namespace table for mapping the prefix associated with the at least one XML tag to the namespace associated with the at least one XML tag, wherein bu
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (30)
Non-Patent Literature (2)
- W3C, "Canonical XML Version 1.0", pp. 1-22, Mar. 15, 2001, Available: http://www.w3.org/TR/2001/REC-xml-c14n-20010315.
- W3C, "Namespaces in XML", pp. 1-11, Jan. 14, 1999, Available: http://www.w3.org/TR/1999/REC-xml-names-19990114.