Sep 18, 2005 #1 cat5ive MIS Joined Dec 3, 2004 Messages 184 Location US Hi, Can someone please explain what the .xml in this statement mean? Code: param = xmldoc.selectSingleNode("//datetype")[COLOR=red].xml[/color] Thanks in advance
Hi, Can someone please explain what the .xml in this statement mean? Code: param = xmldoc.selectSingleNode("//datetype")[COLOR=red].xml[/color] Thanks in advance
Oct 5, 2005 #2 JontyMC Programmer Joined Nov 26, 2001 Messages 1,276 Location GB This is a Microsoft extension to the W3C DOM. It basically returns the xml representation of that node, so: Code: xmldoc.selectSingleNode("a/b").xml For XML: Code: <a> <a>1</a> <b> <c>2</c> <d>3></d> </b> </a> Will return: Code: <b> <c>2</c> <d>3></d> </b> Jon "I don't regret this, but I both rue and lament it. Upvote 0 Downvote
This is a Microsoft extension to the W3C DOM. It basically returns the xml representation of that node, so: Code: xmldoc.selectSingleNode("a/b").xml For XML: Code: <a> <a>1</a> <b> <c>2</c> <d>3></d> </b> </a> Will return: Code: <b> <c>2</c> <d>3></d> </b> Jon "I don't regret this, but I both rue and lament it.