Added Node.valueOf. Added deferred function inside XML tree. Fixed quotes bug.
authorFrederic Jolliton <frederic@jolliton.com>
Mon, 14 Nov 2005 04:16:59 +0000 (04:16 +0000)
committerFrederic Jolliton <frederic@jolliton.com>
Mon, 14 Nov 2005 04:16:59 +0000 (04:16 +0000)
commit12b9c7f969f5e201abc8fa9fc32f7c7b369c7f6a
tree43e602cf6e50cb3c068f671ea42bdbbb58bcc934
parentd995b4bc08e08a3a9e91cbe248d07f1023f3d0ed
Added Node.valueOf. Added deferred function inside XML tree. Fixed quotes bug.

 * Added Node.valueOf which return the first item of the sequence
 returned by the xpath expression as a string.

 * Added deferred function, which is a ProcessingInstruction node that
 call a function at serialization time. This function take no parameters,
 and should return a valid XML tree fragment.

 * reCharacterToQuoteForText was defined 2 times with different values,
 causing streamXmlQuoteText to work incorrectly (suppressing ' and " from
 text string.)
git-archimport-id: frederic@jolliton.com--2005-main/tx--main--0.1--patch-49
nodes.py
tags.py