xml file

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
zamykiller
Posts: 2
Joined: Tue Apr 08, 2014 2:19 am

xml file

Post by zamykiller »

Hello everybody,

I need to make a XML file and i need 3 Values. It will not work with the walk function.
But i have an error and i don't know how to fix it.

Code: Select all

<interface>
        <name>Envirement board SNMP</name>
        <description>Get SNMP information form envirement board</description>
        <index_order_type>numeric</index_order_type>
        <oid_index>.1.3.6.1.4.1.19865.1.2.3</oid_index>
        <fields>
                <Humidity>
                        <name>Humidity</name>
                        <method>get</method>
                        <source>value</source>
                        <direction>output</direction>
                        <oid>.1.3.6.1.4.1.19865.1.2.3.1.0</oid>
                <Humidity>
                <Tempature>
                        <name>Tempature</name>
                        <method>get</method>
                        <source>value</source>
                        <direction>output</direction>
                        <oid>.1.3.6.1.4.1.19865.1.2.3.2.0</oid>
                <Tempature>
                <Sound>
                        <name>SOund</name>
                        <method>get</method>
                        <source>value</source>
                        <direction>output</direction>
                        <oid>.1.3.6.1.4.1.19865.1.2.3.3.0</oid>
                <Sound>
        </fields>
</interface>

thnx
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests