Ignore redefined attribute xml

quangxitrum

New Member
I have an xml file sometimes an element contains an multiplied attribute (not an ID) and he has the same value, something like this : \[code\]<names> <name attribute="abc" attribute="abc" /></names>\[/code\]I know this is a false writing, so I want to ignore the error when I read the file in Php with this code : \[code\] $xmlDoc->load( 'file.xml' );\[/code\]It's possible ?Thank you.
 
Back
Top