pp22
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by pp22
-
-
parse xml?
in XML
I intend to attach the xml file in a ASP or HTML page. Could you kindly help?xml file:-----------------------------------------------------------------<Document><publication><property name="PU" value="aaaaa"></property><property name="PD" value="aaaaaaa"></property><property name="PG" value="aaaaaa"></property><property name="HD" value="aaaaaaaa"></property><property name="TX" value="aaaaaaa"></property></publication></Document><Document><publication><property name="PU" value="b"></property><property name="PD" value="bb"></property><property name="PG" value="bbb"></property><property name="HD" value="bbbbb"></property><property name="TX" value="bbbbbbbbb"></property></publication></Document>--------------------------------------------------------------------------
-
parse xml?
in XML
I wonder if anyone could kindly help to parse the following xml file? Really need help with this. xml file:----------------------------------------------------------------- <Document><publication><property name="PU" value="aaaaa"></property><property name="PD" value="aaaaaaa"></property><property name="PG" value="aaaaaa"></property><property name="HD" value="aaaaaaaa"></property><property name="TX" value="aaaaaaa"></property></publication></Document> <Document><publication><property name="PU" value="b"></property><property name="PD" value="bb"></property><property name="PG" value="bbb"></property><property name="HD" value="bbbbb"></property><property name="TX" value="bbbbbbbbb"></property></publication></Document>--------------------------------------------------------------------------
parse xml?
in XML
Posted
I really new to scripting, cant write a script parsing the two root elements. Also I cant make changes to the format or configuration of the xml file bcos the file is on their web server which I need to link onto my site. Is there any still simple script or solution to parse everything in the xml file? Really confused by this 2 root element, need help? Many thanks in advance.<Document><publication><property name="PU" value="aaaaa"></property><property name="PD" value="aaaaaaa"></property><property name="PG" value="aaaaaa"></property><property name="HD" value="aaaaaaaa"></property><property name="TX" value="aaaaaaa"></property></publication></Document><Document><publication><property name="PU" value="b"></property><property name="PD" value="bb"></property><property name="PG" value="bbb"></property><property name="HD" value="bbbbb"></property><property name="TX" value="bbbbbbbbb"></property></publication></Document>