Michael Alaimo wrote:
Hello All,
I have an XML document that has elements as such:
Query:Expression
Query:ResourceID
Query:EqualTest/Query:Equal
/Query:ResourceID
/Query:Expression
I cannot figure out how to access these with simple xml.
Michael Alaimo wrote:
Hello All,
I have an XML document that has elements as such:
Query:Expression
Query:ResourceID
Query:EqualTest/Query:Equal
/Query:ResourceID
/Query:Expression
I cannot figure out how to access these with simple
Please keep this on list.
The URI for the namespace is important. Something like (not tested):
| ||// use URI for Query namespace|
| foreach ($xml-children('http://www.example.com/something') as $Query) {
echo $Query-Where;
}
||
|
Michael Alaimo wrote:
What's the entire XML document?
Shawn McKenzie wrote:
Please keep this on list.
The URI for the namespace is important. Something like (not tested):
| ||// use URI for Query namespace|
| foreach ($xml-children('http://www.example.com/something') as $Query) {
echo $Query-Where;
}
||
|
Michael Alaimo wrote:
Shawn McKenzie wrote:
Shawn McKenzie wrote:
Please keep this on list.
The URI for the namespace is important. Something like (not tested):
| ||// use URI for Query namespace|
| foreach ($xml-children('http://www.example.com/something') as $Query) {
echo $Query-Where;
}
||
|
Shawn McKenzie wrote:
Michael Alaimo wrote:
Hello All,
I have an XML document that has elements as such:
Query:Expression
Query:ResourceID
Query:EqualTest/Query:Equal
/Query:ResourceID
/Query:Expression
I cannot figure out how to access these
6 matches
Mail list logo