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

Re^4: XML::LibXML findnodes and namespaces

by shamu (Acolyte)
on Mar 30, 2007 at 21:00 UTC ( [id://607584]=note: print w/replies, xml ) Need Help??


in reply to Re^3: XML::LibXML findnodes and namespaces
in thread XML::LibXML findnodes and namespaces

Thanks for your help roman. I resorted to a similar solution of replacing my prefixed elements like so...

$search_path =~ s#([^/:]*:[^/]*)#*[name() = "$1"]#g;

I've solved my default namespace issue by just doing a namespace lookup and creating an associated prefix. Not exactly the solution I was hoping for, but it works.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-25 09:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found