W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2003

Re: iterator implemented in DOMConfiguration

From: Philippe Le Hegaret <plh@w3.org>
Date: 28 Aug 2003 16:41:10 -0400
To: "Jeffery B. Rancier" <jeff.rancier@softechnics.com>
Cc: W3-DOM <www-dom@w3.org>
Message-Id: <1062103270.23315.286.camel@jfouffa.w3.org>

On Mon, 2003-08-11 at 13:43, Jeffery B. Rancier wrote:
> Would an iterator make sense in the DOMConfiguration?  That would
> allow the properties to be discovered dynamically, instead of
> hardwiring strings like "canonical-form" in applications.  Or perhaps
> a getNextProperty()?

We added a read-only attribute parameterNameList, of type DOMStringList,
on the DOMConfigurationList. This gives you the possiblity of iterating
through the parameter names supported by the object. Note that this list
can also contain parameter names defined outside the specification.,
i.e. extensions provided by the implementation.

Philippe
Received on Thursday, 28 August 2003 16:41:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:57 GMT