This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: javascript access to XML DOM in IE5+


 
> [Steve Rosenberry]
> 
> >
> > (with apologies for the length and to those who monitor 
> both the XML and
> > XSLT list...)
> >
> > If I give my IE5 browser the URL of an XML file, IE is kind 
> enough to
> > load it, discover the XSLT PI inside, and display the resulting
> > user-interface that I want.  No problems so far, but now I 
> would like to
> > trigger client-side javascript XML DOM edit functions from buttons
> > placed on said form (e.g. insert, modify, or remove elements) and
> > hopefully have the new XML DOM tree re-displayed.
> >
> > The general consensus on comp.lang.javascript (see [1] for 
> all the gory
> > details) was that the original XML DOM tree has been flushed in the
> > above scenario, and I was left with three choices if I 
> actually wanted
> > to manipulate the XML after displaying it:

It is available via document.XMLDocument and so is the stylesheet via
document.XSLDocument
Have a look at
http://www.bayes.co.uk/xml/index.xml?/xml/utils/multiple.xml which uses
this.

Ciao Chris

XML/XSL Portal
http://www.bayes.co.uk/xml
 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]