Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#868 closed enhancement (fixed)

Added functions to search XML child nodes recursively

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-1.3
Component: pjlib-util Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

Currently there is no API to do recursive search of child nodes (for example, to find a child node with the specified name). The only available APIs are to find among direct child nodes only.

Change History (2)

comment:1 Changed 15 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed

Done in r2727:

  • added pj_xml_find_node_rec() and pj_xml_find_rec() to do recursive search on all child nodes
  • also fixed the const modifiers on the API to follow the usual convention

comment:2 Changed 15 years ago by bennylp

In r2729:

  • compilation error in pjsip's pidf.c due to change in pj_xml_find() function
Note: See TracTickets for help on using tickets.