web hosting and development forums
Web Design and Development Forums Archive


Index - JavaScript forum

getElementsByTagName


Post reply

When reading XSL using javascript. If im trying to get a tag like <m:name>Joe</m:name> Would i just do a getElementsByTagName? Tagname being m:name
no You'd need to use a getElementByTagNameNS And hope that the XSL document had the right content-type
interesting. thanks re XSL
There's not much to learn There's only a couple of things you can do with XML that you can't with the HTML DOM There's only a couple of things you can do with XML that you can't with the HTML DOM For example, namespaces
What are name spaces? I noticed that in the dom Do you reference it using? <?xml-stylesheet type='text/xsl' href='rss.xsl' version='1.0'?> Or is it where the validator points to




Dubai Forum | Paris Forum | Webmaster Forum | Vegan Forum | Brisbane Forum | 3D Forum | Jobs in Dubai | Jobs in London | London UK Classifieds
Archive script by RedHo.com