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

Fwd: Re: better (?) than DOM

  • From: "Robert Koberg" <rob@k...>
  • To: "xml-dev@l..." <xml-dev@l...>
  • Date: Fri, 23 Feb 2007 07:33:27 -0500

Fwd: Re:  better (?) than DOM
On Fri, 23 Feb 2007 07:02:37 -0500, Robin Berjon <robin@j...> wrote:

> On Feb 23, 2007, at 12:57, Manos Batsis wrote:
>> Quoting Robin Berjon <robin@j...>:
>>> It seems to be begging for E4X, which is IMHO a lot
>>> clearer than the above.
>>
>> As said in my original email (sent only to Nathan by accident),
>> interoperability is, again, the problem :-/
>
> I know, and sorry for being too cursory to be clear. My point was more  
> about how if you want to produce XML, why not use... XML! E4X requires  
> the browser to be updated, which means it'll be a while before it's  
> widely useable, but there are other options that are also more readable  
> than method calls nested twelve times. For instance the various  
> Javascript templating libraries could come in quite useful there I'd say.
>

I find simply concatenating strings (var x=[]; x.push("..."); x.join("");)
to be the easiest and fastest (in terms of processing and writing). Either
stick it in innerHTML (definitely fastest) or create a DOM Document and
grab what you need with XPath.

best,
-Rob



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.