XML Attr's
Posted: Fri Aug 23, 2002 1:46 pm
Using this tutorial: http://www.phpbuilder.com/columns/justi ... hp3?page=3 , i am at the point where i know how to parse the xml file and print out the information formatted. i wanted to know how i could access the attributes in the xml and use them..
like if i had
<foo bar="green">foobar</foo>
i could make the html:
<font color="green">foobar</font>
i would somehow have to put it into $this->open_tag
like if i had
<foo bar="green">foobar</foo>
i could make the html:
<font color="green">foobar</font>
i would somehow have to put it into $this->open_tag