C
ChillyRoll
Hello guys,
I am looking for a parser in PHP that can return all the
attributes of XML entities. I know how to read the XML Entities, but I
have got a problem with reading attributes. So I will appreciate if you
could give a parser that can return all the Entities and Attributes of
respective entities as an array.
For e.g.:
<?xml version="1.0" ?>
<Controller>
<NumberOfBoards>5</NumberOfBoards>
<NumberOfKeypads>1</NumberOfKeypads>
<QueueMode>N</QueueMode>
<EntranceDelay on="5" off="5" />
<Limits minLength="36" maxLength="800" />
<Conveyor perSecond="6.3" perPulse="8.0" />
<Roller relay="1" needsOrder="1">
<RollerUp1>84</RollerUp1>
<RollerDown>84</RollerDown>
<RollerUp2>84</RollerUp2>
</Roller>
</Controller>
This is a part of my XML document. I want to return all the Entites
with their attributes as an array.
Thanks in advance.
I am looking for a parser in PHP that can return all the
attributes of XML entities. I know how to read the XML Entities, but I
have got a problem with reading attributes. So I will appreciate if you
could give a parser that can return all the Entities and Attributes of
respective entities as an array.
For e.g.:
<?xml version="1.0" ?>
<Controller>
<NumberOfBoards>5</NumberOfBoards>
<NumberOfKeypads>1</NumberOfKeypads>
<QueueMode>N</QueueMode>
<EntranceDelay on="5" off="5" />
<Limits minLength="36" maxLength="800" />
<Conveyor perSecond="6.3" perPulse="8.0" />
<Roller relay="1" needsOrder="1">
<RollerUp1>84</RollerUp1>
<RollerDown>84</RollerDown>
<RollerUp2>84</RollerUp2>
</Roller>
</Controller>
This is a part of my XML document. I want to return all the Entites
with their attributes as an array.
Thanks in advance.