<![CDATA[I wrote a post about my attempts to extend SimpleXML to support microformats. Well it’s not as it easy as it seems.
You can’t define new properties of a class extending
SimpleXMLElement. Well you can define them but they don’t work – when you access them they always return a
SimpleXMLElement object (or actually an object of whatever class you defined).
I’ve tried overriding
__set and neither work so the only thing I can think of is to create a new class that delegates most of it’s work to
PHP, PHP5, SimpleXML, OOP, microformats, hReview, hCard, hCalendar]]>