redho home | products | services
Web Design Forums

Web Design Forums  


Web Hosting, Web Design, Software and Web Development Forums  
 FAQFAQ   MemberlistArchive  Log inLog in   RegisterRegister 
         

getElementsByTagName



 
Post new topic   Reply to topic    Web Design Forums -> JavaScript forum
View previous topic :: View next topic  
Author Message
AmeliaR



Joined: 31 May 2006
Posts: 142
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
  Reply with quote


jomanda



Joined: 19 May 2006
Posts: 70
Location: Germany
no
You'd need to use a getElementByTagNameNS
And hope that the XSL document had the right content-type
  Reply with quote
AmeliaR



Joined: 31 May 2006
Posts: 142
interesting. thanks
re XSL
  Reply with quote
jomanda



Joined: 19 May 2006
Posts: 70
Location: Germany
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
  Reply with quote
AmeliaR



Joined: 31 May 2006
Posts: 142
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
  Reply with quote
Page 1 of 1
Post new topic   Reply to topic    Web Design Forums -> JavaScript forum


Dubai Forums - Expat Help | Vegan Chat | Java Programming | Free 3D tutorials and 3d textures | Paris Forum | EU Forum
Free Dubai Classifieds | Free London Classifieds | Jobs in London

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

Powered by phpBB © 2001, 2005 phpBB Group