Javascript / XML

Alex Russell alex at netWindows.org
Thu Jun 19 20:14:51 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 19 June 2003 1:58 pm, Shawn P. Garbett wrote:
> What level of XML support is in Javascript? 

JavaScript is a language specification that is standardized under 
ECMA-262 (the current versoin being v3). The spec itself says nothing 
about XML.

That said, many browsers provide JavaScript bindings to the W3C DOM 
which provides methods for XML manipulation. Many browsers also 
augment this with JavaScript bindings for loading and exporting 
serialized DOM  elements as XML, but this is a function of what the 
browser supports, not the language.

Konqueror has pretty good DOM support for (X)HTML documents, although 
I can't speak to how well konq supports XML with arbitrary DTDs.

- -- 
Alex Russell
alex at burstlib.org
alex at netWindows.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE+8guroV0dQ6uSmkYRAhflAKCUcSLcp+IKANjL7d/+jnbpKjnoSwCfdrxO
GWrBYgPTKD440796OvegW0Y=
=2hN0
-----END PGP SIGNATURE-----





More information about the kfm-devel mailing list