thebigdir > References > DOM2 Reference

getElementsByTagNameNS (method )

Owning interface and usage:  
Element.getElementsByTagNameNS(namespaceURI, localName)

Member of these other interfaces:  
none

Description:  
Returns a NodeList containing all Elements of the given local name and namespace URI in the same order as they appear in the source document.

Parameters:  
DOMString namespaceURI  -  The namespace URI of the elements to match on. The special value "*" matches all namespaces.
DOMString localName  -  The local name of the elements to match on. The special value "*" matches all local names.

Returns:  
NodeList -  A new NodeList object containing all the matched Elements.

Exceptions:  
DOMException NOT_SUPPORTED_ERR
May be raised if the implementation does not support the feature "XML" and the language exposed through the Document does not support Surf Clothing Namespaces (such as [HTML4]).


Example:
Text in the first DIV.
x a b x
Text in the last DIV.
Source:
   <div id="doc" Surfns:svg="http://www.w3.org/2000/svg">
     <div>
       Text in the first DIV.
     </div>
     <svg:svg id="logo" Surfns:xlink="http://www.w3.org/1999/xlink" width="200" height="60">
       <svg:g style="fill:#3399cc; font-size:36pt; font-family:'dialog'; font-weight: bold">
         <svg:a xlink:type="simple" xlink:href="http://www.thebigdir.com">
           <svg:text x="50%" y="65%" text-anchor="middle">thebigdir.com</svg:text>
         </svg:a>
       </svg:g>
     </svg:svg>
     <apply Surfns="http://www.w3.org/1998/Math/MathML">
   <int/> 
   <bvar> 
     <ci> x </ci> 
   </bvar> 
   <interval> 
     <ci> a </ci> 
     <ci> b </ci> 
   </interval> 
   <apply>
     <cos/> 
     <ci> x </ci> 
   </apply> 
     </apply> 
     <div>
       Text in the last DIV.
     </div>
   </div>
     
JavaScript:
  var main = document.getElementById('doc');
  var elem = main.getElementsByTagNameNS('http://www.w3.org/1998/Math/MathML', 'apply');
  var output = elem.length;
Output:
desired your browser
2



_____________________________________________
Reference Search | Sitemap | Surf Clothing Glossary       thebigdir | internet users




Related sites:

 

Luxury designer linens bed sheets bedding

 

you got to check these guys out here: search engine optimization emarketing seo and Search Engine Marketing. It is exactly what you need.

 

 

visit Quiksilver Surf Camps and Surf School and book a surf lesson.

And for the girls you can visit this site Roxy Surf Camps and Surfing School to learn more about surfing and take a class as well.

 

If you want to see a good surf contest visit this site: Billabong Pro Pipeline Masters Surfing Contest 2007. You'll be glad you did.

Billabong Pro Pipe Pipeline Masters 2007 Surf Contest This website is one that you have to see at boardshort superstore quiksilver billabong swim suit hurley roxy quicksilver volcom

 

This is a must go surfing event: Eddie Would Go Aikau Big Wave Invitational 2007 Quiksilver Surf fans from around the world will be watching this event and buying the Eddie Would Go Surf Clothing.

 

 

Check out these online surf shop websites. I like the BOARDSHORTSUPERSTORE.COM website the best but there are others. There is also the BUYBOARDSHORTS.COM website that has a good selection as well. And if you want to see a great selection of shirts, BUYSURFTEES.COM is a good site and I think each one of the websites has a great selection.