Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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?
[Cosmic37]: hello perly kings and queens
[jedikaiti]: 'ello Monks
[Cosmic37]: and monkeys too...
[Cosmic37]: is anyone doing machine learning with Perl?
[Cosmic37]: I was using gneural code in C and it was interesting but did not have back propagation for neural networks
[corenth]: Cosmic, poking at it, but not really.
[Cosmic37]: I read that its possible to use the FANN library with Perl so I might try that now...
[corenth]: i have a question. I used map{ blah();blah(); blah();}@stuff; and it used up a ton of memory vs. the for(@stuff){} equivalent. What gives? (if anyone knows)
[Cosmic37]: FANN also has LGPL license which I like and its supposed to be quite a capable library from what I read
[corenth]: Cosmic, that sounds interesting. What is FANN (I could search it if I weren't so lazy about it)?

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2018-02-20 18:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (274 votes). Check out past polls.

    Notices?