faqts : Computers : Programming : Languages : JavaScript : XML : E4X (ECMAScript for XML) : XML objects

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

Entry

How do I use the method descendants?
How do I use the method descendants?

Apr 10th, 2005 02:16
Martin Honnen,


The method descendants has one optional argument, the name of
descendants you are looking for. The method returns an XMLList with the
descendants matching the passed name argument or with all descendants if
no argument is passed.
Note that you can often simply use the descendant accessor .. instead of
the method descendants, for more details and examples check
  http://www.faqts.com/knowledge_base/view.phtml/aid/35136/fid/1762