Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

selectsinglenode with .xml

Status
Not open for further replies.

cat5ive

MIS
Dec 3, 2004
184
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
 
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top