Re: [xml] Question about parent/child (python-libxml2)

On Sun, May 09, 2004 at 06:40:05PM +0000, W. Borgert wrote:
On Sun, May 09, 2004 at 01:40:53PM -0400, Daniel Veillard wrote:
Maybe I'm getting the terminology wrong.  So forget about


"direct"...  What I meant is: How can I get the exact
string "Then, shalt thou count to <emphasis>three</emphasis>,
no more, no less." from the node <para role="x">Then, shalt
thou count to <emphasis>three</emphasis>, no more, no
less.</para> without a second "three"?  TIA!

  the para node has a list of children. The childens are a doubly
linked list (prev/next) . 
  what you want is the serialization of that list. You can serialize
each children independantly and concatenate the result.


Daniel Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]