Does anybody here have any experience with XML_Serializer?
I'm sure there must be one or two
I'm parsing an XML file with XML_Serializer.
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)
At the moment it is also taking the attributes and their values of the tags like so:
And adding them to the returned array like this:Code:<prod id="88966064" pre_order="no" web_offer="no" in_stock="no" stock_quantity="0"> <pId>608</pId> <isbn>0000000000000</isbn>
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?Code:XML_Serializer_Tag] => Array( [id] => 88966064 [pre_order] => no [web_offer] => no [in_stock] => no [stock_quantity] => 0 )
HTML Code:<pId>608</pId> <isbn>0000000000000</isbn>