Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: How to parse xml with namespase vale in XMl:LibXML? (xmllint --shell setns / xpathtester)

by Anonymous Monk
on Jul 08, 2013 at 09:40 UTC ( #1043057=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <?xml version="1.0" encoding="UTF-8"?>
    <book xmlns:book="http://generated.ns/book">  
      <book:chapter id="bk444444ch1" type="CHAPTER"> 
    ...
        <book:locator xmlns:xlink="http://www.w3.org/1999/xlink" xlink:hre
    +f="/book/isbn/979-0-4444-1000-17/book-part/chapter/bk444444ch1?releas
    +eStatus=RELEASED&amp;format=epub" xlink:title="Photonic crystal light
    +-emitting sources" xlink:type="locator"></book:locator>
      </book:chapter> 
    </book>
    
  2. or download this
    $ xmllint.exe --shell ravi06-03.xml
    / >
    / > whereis //@xlink:href
    ...
    / > bye
    
    $
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1043057]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2016-10-01 23:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (9 votes). Check out past polls.