Removing XML attributes with XML_Serializer
<p>Hopefully there's one or two experienced users of the XML_Serializer PEAR class here</p>

<p>I'm parsing an XML file with XML_Serializer</p>

<p>I'm using this PEAR class so that I can grab the entire contents and put it into an array (why is another story for another time)</p>

<p>At the moment it is also taking the attributes and their values of the tags like so:</p>

<pre><code>&lt;prod id="88966064" pre_order="no" web_offer="no" in_stock="no" stock_quantity="0"&gt;
&lt;pId&gt;608&lt;/pId&gt;
&lt;isbn&gt;0000000000000&lt;/isbn&gt;
</code></pre>

<p>And adding them to the returned array like this:</p>

<pre><code>XML_Serializer_Tag] =&gt; Array(
         [id] =&gt; 88966064
         [pre_order] =&gt; no
         [web_offer] =&gt; no
         [in_stock] =&gt; no
         [stock_quantity] =&gt; 0
)
</code></pre>

<p>Are there any options in XML_Serializer that allows me to use the XML data without the attributes and just the tags and the data inbetween them, ie only?</p>

<pre><code>&lt;pId&gt;608&lt;/pId&gt;
&lt;isbn&gt;0000000000000&lt;/isbn&gt;
</code></pre>

<p>The data is dynamic so a solution of removing them individually is no goer</p>
