This is an archived page. It's not actively maintained.


nsIXFormsNSModelElement is implemented by all XForms <model/> elements. It defines Mozilla extensions to the nsIXFormsModelElement interface.

Please add a summary to this article.
  Last changed in Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0)

Interface Code

[scriptable, uuid(85fd60c7-1db7-40c0-ae8d-f723fdd1eea8)]
interface nsIXFormsNSModelElement : nsISupports
  nsIDOMNodeList getInstanceDocuments();



 nsIDOMNodeList getInstanceDocuments();

getInstanceDocuments returns a nsIDOMNodeList containing all the instance documents for the model, making it possible to enumerate over instances in the model without knowing their names.

Example Code