Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Antonyms of "parsing" in terms of XML

Tags:

xml

What is the antonyms of "parsing" in terms of XML document.

For Example:

  • When you are reading an XML file by using DOM parser, it is called "Parsing".
  • When you create an XML file by using DOM parser, what does it called?
like image 762
B. S. Rawat Avatar asked May 22 '09 14:05

B. S. Rawat


People also ask

What is parsing an XML?

XML parsing is the process of reading an XML document and providing an interface to the user application for accessing the document. An XML parser is a software apparatus that accomplishes such tasks.

What is parsing error in XML?

XML Parser Error When trying to open an XML document, a parser-error may occur. If the parser encounters an error, it may load an XML document containing the error description. The code example below tries to load an XML document that is not well-formed. You can read more about well-formed XML in XML Syntax.

What are the two types of XML parsers?

In PHP there are two major types of XML parsers: Tree-Based Parsers. Event-Based Parsers.


3 Answers

Serialization. Deflation. Composing. Storing. Freezing. Persisting.

Marshalling is a similar concept, but it might be instructive to know the differences..

In objective-c serialization is known as archiving.

Python pickles.

like image 51
cgp Avatar answered Sep 18 '22 19:09

cgp


I already saw many verbs being used as the opposite of "parsing". I don't think that there is a common standard for it.

In the XML context I prefer the term "rendering" as the antonym of "parsing". My second choice would be "composing" if you don't like to use the verb "to render" in a non-visual context.

But although it might be technically correct from a low-level perspective, I would never use the term "serializing" for this. This only feels suitable to me, if one would also use the term "deserializing" in the same context. But I think that "parsing XML" is the widely accepted standard term here instead. So I suggest to use "rendering XML" or "composing XML" to describe the opposite process.

like image 24
Trixx Avatar answered Sep 17 '22 19:09

Trixx


Serialisation is the process of converting a DOM tree to something for output (text, file, etc).

I've heard composition, generation and construction as terms for the actual 'building' of the new DOM tree.

like image 28
Nic Gibson Avatar answered Sep 20 '22 19:09

Nic Gibson