473,246 Members | 1,482 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,246 software developers and data experts.

how to bind data with xml?

Can be do insert, update del kind of operation on xml file?
How to run it?
Nov 9 '12 #1
9 2144
Dormilich
8,658 Expert Mod 8TB
How to run it?
with a programme/script that can handle XML, as XML itself is just a data storage container.
Nov 9 '12 #2
Can you please give me example, or link to it?
Nov 9 '12 #3
Dormilich
8,658 Expert Mod 8TB
sure
Expand|Select|Wrap|Line Numbers
  1. // insert a node
  2. var foo = document.createElement("foo");
  3. xml.documentElement.appendChild(foo);
Nov 9 '12 #4
Thanks alot buddy,
I think this is js script,
I am not that much familiar with xml,
What I have to do is like,
write a script as above,
then including it to my xml page, right?
Nov 10 '12 #5
Dormilich
8,658 Expert Mod 8TB
What I have to do is like, write a script as above, then including it to my xml page, right?
no. that wouldn’t do anything. XML is a data storage format, it doesn’t execute included scripts.
every programming language needs a kind of host (interpreter compiler, application, etc.) to be run. the XML needs to be imported there.

to use another example
Expand|Select|Wrap|Line Numbers
  1. $foo = new SimpleXMLElement("foo");
  2. $xml->root->addChild($foo);
Nov 10 '12 #6
how can i run these program?
Nov 10 '12 #7
Dormilich
8,658 Expert Mod 8TB
with the appropriate environment.
Nov 11 '12 #8
Please explain it...
Nov 11 '12 #9
Dormilich
8,658 Expert Mod 8TB
you can’t run PHP code without the PHP interpreter.
Nov 12 '12 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Vijaya | last post by:
Can we bind data to textbox in a headertemplate in a template column of a datagrid? If so please give some code snippets. Thank you
0
by: Kobe | last post by:
I am trying to bind data in a collection to a combo box in a windows application. I am able to retrieve records from the collection but when I bind it to the combo box, nothing is displayed ...
2
by: Santosh | last post by:
Dear all i want to bind data to datagrid header template i am wrtting follwing code it is displaying data with in item template not but it is display data in header template <asp:DataGrid...
3
by: vineetbatta | last post by:
I have Custom Data class which stores data about single customer and then i store that customer objects in arraylist as shown below. Customer custdata = null; // Custom Data class for 1 customer...
2
by: chandana Devabhaktuni | last post by:
Hello and Hi to everyone, This is chandana, i have a doubt which i am mentioning here. We can retrive or bind data to datagrid from database(sql server) and also we can...
5
by: Ahmed Osama | last post by:
I'm using NetBeans 5.5 First :I want to bind data from table from MS Access DB into JTable . Second: Is there any other component in java to do the previous action(e.g. DataGrid )
3
by: sudhashekhar30 | last post by:
i have dropdownlist with data. based on selected item(dropdownlist) i am retrieving data(single value) from database(sql server) using sqldataadapter and wanted to show this value in textbox. I want...
1
by: newtodotnet1 | last post by:
Hi all, I would like to know how to bind data to the gridview using XPath.. The data is in the XML format.. Please help me.... Its urgent.. I am using asp.net and c#.net
1
by: jaredciagar | last post by:
Hi guys...can you help me please.... I'm using ASP.net, MSSQL 2005 and VB Script I have don't know how to bind data in gridview control from database. I want also to allow paging in gridview...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.