Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: facing problem in parsing xml

by Skeeve (Vicar)
on Jul 29, 2013 at 06:39 UTC ( #1046780=note: print w/replies, xml ) Need Help??

in reply to facing problem in parsing xml

The part: $xml = "<?xml version="1.0"?> can't work, as you use ". Maybe this is your problem?

Try to use something like this:

my $xml=<<'XML'; <?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="/templates/xsl/abc/search/searc +hRetrieveResponse.xsl"?><searchRetrieveResponse xmlns=" +/srw/"> <version>1.1</version> : : XML


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1046780]
[james28909]: how come it is so easy for me to not care what others think while others will mute themselves because they are scare they will be called ignorant or stupid
[james28909]: do you relize how shrodinger felt when he was describing the quantum world? what about neils bohr?
[holli]: it's probably the autist in you. I am like that too, no fucks given about what others think about me

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2017-12-15 14:23 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (433 votes). Check out past polls.