Greetings All !
I've always found pattern matching a bit hard to do / remember.
I'm trying to grab an error message out of an XML page and I'm not sure how to tell perl to... "grab everything between the <ERROR> and </ERROR> tags".
From everything I've located using lookups at Google, I realize that this is not a good way to do it. I should probably use that XML:
arser module. But I'm only dealing with one line of code here. I've already got lines in place to pull the "success" data I want from the XML pages (pricing data, actually). But I admit that I cut-and-pasted this from elsewhere and I don't really grasp the syntax.
Can anybody tell me how to "grab everything" between a set of XML tags ?
Thanks !
-= Dave Raasch =-
I've always found pattern matching a bit hard to do / remember.
I'm trying to grab an error message out of an XML page and I'm not sure how to tell perl to... "grab everything between the <ERROR> and </ERROR> tags".
From everything I've located using lookups at Google, I realize that this is not a good way to do it. I should probably use that XML:
Can anybody tell me how to "grab everything" between a set of XML tags ?
Thanks !
-= Dave Raasch =-