Hi,
I have the xml file below....<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:g="http://base.google.com/ns/1.0">
<Title>Products</Title>
<link rel="self" href="localhost" />
<updated>01-09-2010T11:42:47Z</updated>
<author>
<Name>Yasmin</Name>
</author>
<id>tag:localhost,1-9-2010:/support/products</id>
<entry Prd_ID="222" Cat="Hell" Type="0" xmlns="http://www.w3.org/2005/Atom">
<id>222</id>
<title>Hell is here</title>
</entry>
<entry Prd_ID="220" Cat="Hell" Type="0" xmlns="http://www.w3.org/2005/Atom">
<id>222</id>
<title>heaven2222 is here</title>
</entry>
<entry Prd_ID="221" Cat="Hell" Type="1" xmlns="http://www.w3.org/2005/Atom">
<id>222</id>
<title>heaven is here</title>
</entry>
</feed>
I want to select all nodes with entry[@type=0] and display the first childnode in response.write but dont know how to do it plz help .......
Thanks,
Yasmin
View Complete Post