105 Topics
Hi; I have an XML document , and I need to go thorugh all the nodes and get the values and store it in an object. I need to traverse through all the nodes and get the values. How do I do it. This is my XML . Please help …
I can't seem to get a case insensitive search to work using an XPATH query. This code works: $lats = $users->xpath("/users/user[contains(.,'$fullname')]/lat"); This code does not work: $lats = $users->xpath("/users/user[contains(translate(.,'abcdefghijklmnopqrstuvwxyz'," + " 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'),'$fullname')]/lat"); Any ideas? Thanks in advance, Mapper
Hello all, i want to get soap message with xpath my code is: [CODE] <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE xml (View Source for full doctype...)> <xml rde-rd:content="spreadshirt2.xml" rde-rd:datalanguage="de" rde-rd:leasingtime="0" rde-rd:locale="de" rde-rd:project="testwebservicegoogle" rde-rd:rdeContentType="0" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:rde-dm="http://www.reddot.de/rde/ns/dm" xmlns:rde-fdl="http://www.reddot.de/rde/ns/fdl" xmlns:rde-idea="http://www.reddot.de/rde/ns/idea" xmlns:rde-rd="http://www.reddot.de/2000/rde/rd" xmlns:rde-rdf="http://www.reddot.de/rde/ns/rdf" xmlns:rde-xmaps="http://www.reddot.de/rde/ns/xmaps" xmlns:rdf="http://www.w3.org/TR/REC-rdf-syntax/" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsl-template="http://www.reddot.de/rde/ns/template"> <dynaments> <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.spreadshirt.net//services.php/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> …
hi all, i have the following xml file. <rss version="2.0" xmlns:media="http://tools.search.yahoo.com/mrss/" > <channel> <title>SWF media</title> <link>http://www.blogdigger.com/media/</link> <description>Recent .swf files found by Blogdigger</description> <item> <title>Dollar Bus Rolls Into Town</title> <link>http://feeds.feedburner.com/Chicagoist?m=1115</link> <description>some description</description> <pubDate>Thu, 23 Mar 2006 14:11:57 EST</pubDate> <enclosure url="http://www.kitschn.com/flash/MenuCoverPage-DrinksMenu09-05.swf" type="application/x-shockwave-flash"/> <media:content url="http://www.kitschn.com/flash/MenuCoverPage-DrinksMenu09-05.swf" type="application/x-shockwave-flash"/> </item> <item> <title>E-mail</title> <link>http://billarnold.typepad.com/poet_in_motion/2006/03/email.html</link> <description>description 2/description> <pubDate>Wed, …
Hi I have one application which have xml like this: <?xml version="1.0" encoding="utf-8" ?> <XML xmlns="http://www.abc.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="xxxx.xsd"> <Device make="P" model="V"> <!--Group Information--> <Groups> <Group name="h"> <Device>P_V4</Device> <Device>P_n</Device> </Group> .... .... </Device> </XML> How can I access the elements under the tag "Group"?? suggest me some good tutorial regarding the …
The End.