View Full Version : regular expression issue

06-28-2007, 01:04 PM
I want to fetch value os msg element using regular expression. Please help

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:iana:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:iana:xml:ns:epp-1.0 epp-1.0.xsd">
<result code="2400">
<msg>Command fail</msg>

06-28-2007, 04:00 PM
How about you just parse the xml using PHP's xml parsing functions?

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum