[xml] copy a chunk into a string
- From: "Kralidis,Tom [Burlington]" <Tom Kralidis ec gc ca>
- To: <xml gnome org>
- Subject: [xml] copy a chunk into a string
- Date: Mon, 3 Dec 2007 11:26:40 -0500
Hi,
I'm using libxml2 Version: 2.6.29 on fc7, with the xpath functionality,
to parse an XML document.
I have a situation where I would like to copy a structure at a given node to a string, i.e.:
<person>
<name>
<first>foo</first>
<last>bar</last>
</name>
</person>
...so I am looking to save "<name><first>foo</first><last>bar</last></name>" to a string.
Are there any functions in libxml2 or approaches anyone can suggest?
Thanks in advance.
..Tom
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]