[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: client side XML functionalities

client side xml parsing
Quoting Didier PH Martin <martind@n...>:

> a) Sarissa is copying every element into javascript objects. 

That is a bit missleading. Sarissa is used to
 - parse XML to create DOM objects using the browser's DOM implementation
 - work with elements being browser DOM objects already

> New
> functions
> like "selectSingleNode" can then be added to the newly created
> object. This
> may be or not a problem dependent on the DOM size

A method like selectSingleNode is added to the prototype and not the
instances of the target class (well, unless there is no such prototype
like XMLDocument in Opera).

> b) if you use Sarissa to transform the document, this last thing is
> not
> included in Sarissa, you'll have to develop your own rendering of
> the
> result.

What is not included? I would be very interested in adding it.

You can load, optionally transform and finally append (and thus render)
a new DOM structure in the current web page with a single line, see
"updateContentFromURI" [1].

>  if you use the
> window.document.write function to write the result of the transform

Then you would be using your hands to eat a steak, after cutting it to
pieces with a knife and fork.
[1] http://sarissa.sourceforge.net/doc/Sarissa.html#!s!updateContentFromURI


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.