Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

10 check-ins related to "keepCDATA"

2017-11-07
23:25
Added flag -keepCDATA to [dom parse ...], respected by the expat and simple xml parser. If not used together with -keepEmpties, white space only CDATA sections will not be included into the DOM tree. Used together with -keepEmpties, even empty CDATA sections will result into a node. Fixed the simple xml parser it now bulds an XPath/XSLT "ready" tree by default, as it the standard parser does. Added tDOM::xmlReadFileForSimple helper to read xml files for [dom parse -simple]. check-in: a0809eb3c1 user: rolf tags: trunk
22:22
Better interface to the "read the XML file for me" tcl helpers. xmlOpenFile/xmlReadFile stay as they are, a new xmlReadFileForSimple was added to be used together with [dom parse -simple ...]. Closed-Leaf check-in: d07b1bbc1c user: rolf tags: keepCDATA
00:47
Added a knob to the helper procs tDOM::xml(Read|Open)File so that they do the right thing for the simple parser in some cases. check-in: 4c688ab844 user: rolf tags: keepCDATA
2017-11-06
00:57
Made simple XML parser ([dom parse -simple ...]) -keepCDATA aware, with the same semantic as for the standard expat parser. check-in: 5809c91591 user: rolf tags: keepCDATA
2017-11-05
23:56
If -keepCDATA is used together with -keepEmpties even empty CDATA sections will be CDATA_SECTION_NODE (with empty text) in the DOM tree. check-in: d333be5a28 user: rolf tags: keepCDATA
18:27
Fixed simple parser: It now groups consecutive text and CDATA sections into one TEXT_NODE, as the expat based DOM building (without -keepCDATA) does. check-in: cde6b24b70 user: rolf tags: keepCDATA
01:15
Added some words of documentation about the new [dom parse ...] flag -keepCDATA. check-in: 43b6f8f843 user: rolf tags: keepCDATA
00:02
Made that work with the tdom expat handler set also. check-in: e320c2065d user: rolf tags: keepCDATA
2017-11-04
02:00
Started implementation of a "keep CDATA sections" switch to [dom parse ...]. check-in: 1cd6dcbed5 user: rolf tags: keepCDATA
2017-10-29
18:27
Replaced the (creative) use of encoding identity to make tDOM compatible with the upcoming Tip 345. check-in: 33ee70bd11 user: rolf tags: trunk