Re: Upgrade guidance
- From: "Park, Joseph" <joseph_park nps gov>
- To: <libxmlplusplus-list gnome org>
- Subject: Re: Upgrade guidance
- Date: Mon, 21 Sep 2015 15:42:52 -0400
Update: the port is essentially complete...
One issue is the ability to store a reference to a node for processing later/elsewhere in the code. To clarify:
When processing a parsed document, there are instances when a node cannot be processed (the required objects created based on the xml node information) until later when some other needed objects have been instantiated.
In the ancient code we would just allocate a copy of the node on the heap and process it later as needed.
I apologize for the nubile question!
Would saving the Xpath from node->get_path(), and then later accessing via rootNode->find( Xpath ) be a reasonable solution?
Although i see that find() returns a NodeSet vector... which would presumably include the node referred to by Xpath and any children?
Thanks!
JP
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]