Page 1 of 1

how can i read from XML

Posted: Thu Jan 31, 2013 5:02 am
by oranzie
Hello

We have an XML that has information about the amount of visitors currently in our website
looks like this:

</OneMany_TotalHosts>
- <OneMany_TotalGuests Counter="964">
</One2Many_TotalGuests>
<MultiView_TotalGuests Counter="0" />
- <MultiView_Hosts_HH Counter="3" fly6="2" fly2="1">
<_2 Counter="3" fly6="2" fly2="1" />
</MultiView_Hosts_HH>

what can i use to get a read for section "OneMany_TotalGuests Counter" showing me "964" ?

Thanks !

Re: how can i read from XML

Posted: Thu Jan 31, 2013 10:14 am
by slansing
You could wrap this in php and create a plugin that pulls that data dynamically though variables within. That would be one way to do it, would you like a handful of documentation on the subject?