Re: [Xsltforms-support] getInstanceDocument
Brought to you by:
alain-couthures
|
From: COUTHURES A. <ala...@ag...> - 2009-10-01 19:05:29
|
Hi Mark,
> Well, rebuild, recalculate, revalidate and refresh methods on model
> would be really nice, obviously.
I just added these methods!
>
> Individual instances just needs to be accessible as a bog-standard XML
> document objects.
Here is an extract from the wiki developer documentation of XSLTForms :
XNode Class
* constructor function : initializes specific properties
* *getElementsByTagName* method : gets an array of all elements with
a given tag name for this XNode object
* *getTextContent* method : gets the text context for this XNode object
* *appendChild* method : appends a new child at this XNode object
* *replaceChild* method : replaces a child of this XNode object
* *insertBefore* method : inserts a child before another one of this
XNode object
* *removeChild* method : removes a child of this XNode object
* *setAttributeNS* method : sets an attribute of this XNode object
after creating it if necessary. "xsd:type" is interpreted to
associate the corresponding type to this XNode object.
* *getAttributeNS* method : gets the value of an attribute of this
XNode object
* *removeAttributeNS* method : removes an attribute of this XNode object
* *cloneNode* method : clones this XNode object
* *init* function : sets properties of this XNode object
* *recycle* function : clears every properties of this XNode object
and of its child XNode objects
* *create* function : reuses a previously recycled XNode object or
creates a new XNode object
Cheers,
-Alain
|