...

View Full Version : regular expression issue



dizyn
06-28-2007, 02: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>
<value>mjdizyn.com</value>
</result>
<unspec/>
</epp>

Fumigator
06-28-2007, 05: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