Xml parsing


Posted on 16th Feb 2014 07:03 pm by admin

I need a suggestion about parsing xml with multiply parts like pervious...
i.e. different devices has a similar configuration, but how I can discern it by device?
Code: 10.10.10.10111120.20.20.202222
I've got just flat configuration for everyone device with that code, but I'm so wondering how collected cnf's via device_1,2... so on
Did you know?Explore Trending and Topic pages for more stories like this.
Code: char *dev={"ip","port"};void **cnf_buf;// mem allocation for cnf_buf//whatever for(field=0;field<2;field++){ if (cur_node->type == XML_ELEMENT_NODE && (xmlStrcmp(cur_node->name, (xmlChar *)dev[field] ))== 0 ){ cnf_buf[field]=cur_node->name; }//whatever }
i.e. I want separate configuration of different devices, need an addition index by , and doubt how parsing it.
No comments posted yet

Your Answer:

Login to answer
263 Like 16 Dislike
Previous forums Next forums
Other forums

Sessions Value Not Saved
Hi,

Im making a login form and im using this code:
Code: if($login=="true"){

Redirect not working after making a POST/GET
Hi Everyone,

I am a novice in PHP. Here I have 2 pages, one page with a textbox and button an

Session login issue
I'm wondering how to fix a problem I'm having with a session-based login system

Say I go to h

How to ... (FAQs)
... get e-mail notifications As several people asked how to get e-mail notifications when new posti

Encrypt php code?
Is it possible to encrypt php code in files,
so that it displays a load of unreadable characters

Help with Password Encoding/Decoding?
Trying to design a "change password" tool. On my signup code I'm using base64_encode, now

Image upload - determine folder
I have an upload script that may be accessed from different directories. Problem is, the script is m

Month String to Numeric?
Hi guys,

Given a month as a string, is there a simple way to find the numeric representation

MySql timezone
Code: $sql = "SELECT *, date_format(date, '%m/%d/%Y at %I:%i %p' )as date FROM comments WHERE t

Error Messaging not working
I changed the way my form tells the user of an error. But I can't seem to get it to work properly.

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash