Click to return to the XML (Extensible Markup Language) home page    
cdata Method     element Method     Collection Methods    
Web Workshop  |  XML (Extensible Markup Language)

comment Method


Returns the collection of comment nodes.

Syntax

comment()

Example

Find the second comment anywhere in the document:

//comment()[1]


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.