Commit 53f189dc authored by gerd's avatar gerd

placeholders


git-svn-id: https://godirepo.camlcity.org/svn/lib-pxp/trunk@733 dbe99aee-44db-0310-b2b3-d33182c8eb97
parent 003a0997
Simple example: Parse a file and represent it as tree
Compile statement
Variations:
- With/without validation. Validate later.
- as tree, as stream of events, as self-defined low-profile tree
- tree representation options: super root nodes, comments, PI's,
ignorable whitespace
- get rid of all whitespace
- parse from string instead of file
- change encodings (external/internal)
- save memory options
- checking IDREF's, and create ID indexes
- namespaces
- using custom classes for tree nodes
- embed the tree into the source code with the preprocessor
- resolve by catalogs
Not possible:
- get entities as references
- represent CDATA sections
......@@ -2013,6 +2013,9 @@ val normalize : 'ext node -> unit
(** Normalizes the tree denoted by [startnode] such that
* neither empty data nodes nor adjacent data nodes exist. Normalization
* works in-place.
*
* The tree parsers always return normalized trees. This function may
* still be useful to enforce normalized trees after modifying them.
*)
(******************************** validation *****************************)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment