general guidance
Brought to you by:
bs_php,
nigelswinson
From: darcy w.c. <da...@10...> - 2004-01-10 17:43:50
|
hi, i'm new to phpxpath. i've worked with the example a little and have begun to get the hang of writing xpath statements. however, i'm still having trouble understanding the best way to use this library. my experience with xml is mostly with a dom parser, so in some ways, i'm trying to understand the best way to use this code to do things like loop through a series of nodes and process each of those nodes (and their children) in specific ways. Xpath seems to be about referencing the data in a node directly, rather than getting to a specific node point and working with the children. i hope i'm making sense here. anyway, i'm asking the community if anyone could offer me some more sophisticated examples on how they use phpxpath to construct more robust code. i appreciate any help. ~darcy w. christ 1000camels |