English | česky | Nederlands | Français | >> Español << | По-русски | Deutsch | 中文 | Italiano | Polski adultinternetusers > Tutorials > XPath Tutorial
>> Ejemplo 8 << | Ant | Prox

La función name() produce el nombre del elemento seleccionado, la función 'starts-with' es verdadera cuando la cadena de caracteres pasada en primer argumento tiene como prefijo al segundo argumento. Lo función 'contains' es verdadera cuando la cadena del primer argumento contiene al segundo argumento.
 
//*[name()='BBB']
Selecciona todos los elementos BBB, equivalente a //BBB

     <AAA>
          <BCC>
               <BBB/>
               <BBB/>
               <BBB/>
          </BCC>
          <DDB>
               <BBB/>
               <BBB/>
          </DDB>
          <BEC>
               <CCC/>
               <DBD/>
          </BEC>
     </AAA>
Abrir el ejemplo en XLab. | Vista arborescente (JPG)
 
//*[starts-with(name(),'B')]
Selecciona todos los elementos cuyo nombre se inicie con la letra B

     <AAA>
          <BCC>
               <BBB/>
               <BBB/>
               <BBB/>
          </BCC>
          <DDB>
               <BBB/>
               <BBB/>
          </DDB>
          <BEC>
               <CCC/>
               <DBD/>
          </BEC>
     </AAA>
Abrir el ejemplo en XLab. | Vista arborescente (JPG)
 
//*[contains(name(),'C')]
Selecciona todos los elementos cuyo nombre contenga la letra C

     <AAA>
          <BCC>
               <BBB/>
               <BBB/>
               <BBB/>
          </BCC>
          <DDB>
               <BBB/>
               <BBB/>
          </DDB>
          <BEC>
               <CCC/>
               <DBD/>
          </BEC>
     </AAA>
Abrir el ejemplo en XLab. | Vista arborescente (JPG)



_____________________________________________
Reference Search | Sitemap | Surf Clothing Information       adultinternetusers | Systinet




Related sites:
  • dotNet Slackers - Your latest resource for ASP.NET
  • Dotnet Spider - Outsourcing and Offshore software development in India
  • XML - Xselerator, XSL Editor, BizTalk Utilities, Surf Clothing Tutorials, Learn Surf
  • Planet Source Code - The largest public source code database on the Internet

Kevin Carr in Stanton

Natural Skin Care and European Soaps
TickTalk 5
city of stanton
internetusers


You can also get Organic Skin Care products from Bliss Bath Body and you must check out their Natural Body Lotions and bath soaps

Now if you are looking for the best deals on surf clothing from Quiksilver and Roxy then you have to check these amazing deals here:

Hey, check out this Organic Skin Care European Soaps along with Natural Lavender Body Lotion and shea butter

and we can get surf t shirts surfing shirt and And you must check out this website swim suit swimming suit and swim trunks ing suit and swim trunks