[xml] get contents literally (or strip outer element tags)?
- From: "Hans Martin" <HMartin1 gmx net>
- To: xml gnome org
- Subject: [xml] get contents literally (or strip outer element tags)?
- Date: Sun, 02 Mar 2008 11:03:45 +0100
Hi,
I'm using libxml2 2.6.31 with Python 2.4. I try to get from:
<a>some <b>content</b> is ∈ here</a>
the content of "a" unchanged:
some <b>content</b> is ∈ here
However, with the get_contents and children methods, I don't get
that literally. Is there a method for that? If not, does libxml2
provide for a convenient method to strip the "a" element tags?
Many thanks in advance!
--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]