XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] xml and javascript

Rick,

There doesn't seem to be a cross-browser solution and 
it therefore either means putting browser-handling code
in a function or the like or using a toolkit that saves you
this onerous aspect of Ajax.

http://en.wikipedia.org/wiki/XMLHttpRequest

In fact it seems to me (no expert mind) that it isn't just
a matter of having to distinguish IE from Mozilla but also
of distinguishing between various versions of MSXML in
various versions of IE too. Personally I think I'd go for a
toolkit.

All the best

Stephen Green

>>> Rick Marshall <rjm@zenucom.com> 20/03/07 11:29:21 >>>
can someone put me out of misery please...

Having realised that xmlHTTPRequest is great, but HTML has limitations - 
in particular if I want to update a DIV with the result and execute some 
Javascript I can a) make up my own syntax or b) try to use builtin 
Javascript functions for processing XML.

Hmmm... this seems to be browser dependent. Is this correct? I need XPATH.

I have a simple vocabulary to do the work - basically:

<response>
    <update id="xxx"> </update>
    ...
    <execute>...</execute>
    </response>

where updates go into innerHTMLs of the id's and executes are handled by 
eval(); (the application takes care of making sure the updates are valid 
html).

(I know I should probably ask on the Mulberrytech list - but I've never 
had success with that list - have to change all my email settings to use 
it - unlike this friendly list).

I'm looking for generic (ie IE + Firefox at least) solutions - so MXML 
is possible but it seems only available in IE and I can't find any 
simple solution for FF.

All pointers and links accepted with grateful thanks.

Rick

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/ 
Or unsubscribe: xml-dev-unsubscribe@lists.xml.org 
subscribe: xml-dev-subscribe@lists.xml.org 
List archive: http://lists.xml.org/archives/xml-dev/ 
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php 



______________________________________________________________________
Please note the new simpler name for our website: http://www.bristol.gov.uk

Our email addresses have also changed - visit http://www.bristol.gov.uk/bigchange for further details.

Sign-up for our email bulletin giving news, have-your-say  and event information at: http://www.bristol.gov.uk/newsdirect 





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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS