An example XML doc structure pulled from the CDATA section of the
parent xml doc is:

<applicationData>
   <parameterSet>
      <group name="group1">
         <parameter name="param1">Value</parameter>
      </group>
     <group name="group2">
        <parameter name="param2">value</parameter>
     </group>
     <group name="group3>
           <group name="group4">
                <parameter name="param4">value</parameter>
           </group>
    </group>
    </parameterSet>
</applicationData>


An group section is here that demonstrates the issue.  The issue
occurs 3 times just in this small section, this is typical.
I am currently running the following commands to clean it up before
processing.

$cdata = str_replace("<![CDATA[","",$cdata);
$cdata = str_replace("]]>","",$cdata);

 <gro]]><![CDATA[up name="callFlow">
                        <group name="message">
                                <parameter name="allow">Y</parameter>
                        </group>
                        <group name="talk">
                                <parameter name="maxDuration">600</
parameter>
                        </group>
                        <group name="acceptance">
                                <group name="allowMethods">
                                        <parameter name="DTMF">Y</
parameter>
                                        ]]><![CDATA[<parameter
name="Voice">N</parameter>
                                        <parameter name="passive">Y</
parameter>
                                        <parameter name="Pulse">N</
parameter>
                                </group>
                                <group name="cp">
                                        <parameter name="allow">Y</
parameter>
                                </group>
                        </group>
                        <group name="messages">
                                <parameter name="userDefined">N</
pa]]><![CDATA[rameter>
                                <parameter name="talkOverlay">N</
parameter>
                                <parameter name="talkRandom">N</
parameter>
                        </group>
                </group>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"phpsoa" group.
To post to this group, send email to phpsoa@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to