Navigation Home / Tags / XML

ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

« Previous 1 2 Next »
3
Date Submitted Fri. May. 15th, 2009 9:14 AM
Revision 1
Beginner ChronoFish
Tags Array | parser | PHP | XML | XML2Array | XMLToArray
Comments 1 comments
Here is a my latest refinement of an XML2Array function. It creates an associative array where tags are the keys. When tags have attributes, it becomes part of the key (optionally). The values of the resultant array is itself an array of values OR another XML2Aarray array.

- Enjoy
1
Date Submitted Mon. Mar. 16th, 2009 6:08 AM
Revision 1
Scripter mycodeofshailendra
Tags attributes | Data | node | XML
Comments 0 comments
Method to read xml node in C#
1
Date Submitted Mon. Mar. 16th, 2009 6:32 AM
Revision 1
Scripter mycodeofshailendra
Tags Binding | Raw | XML
Comments 0 comments
Xml has become a very ubiquitous and is an integral part of .Net and the System.Data namespace. The problem lies in that not many people know how to take advantage of some of the features. When we are using a database, we naturally use the Systen.Data namespace, but with Xml documents as data there are hundreds of solutions for displaying Xml data out there for .Net.

I myself prefer to use the DataSet object and the DataGrid control just as I would if the data was coming from SQL Server. The common misconception, even to those who know that you can do this, is that you need a schema to accomplish it. There is a very simple way to bind raw Xml data to a datagrid without a schema. The Xml data must be simple though, mapping to rows easily.
1
Date Submitted Mon. Nov. 23rd, 2009 11:58 PM
Revision 1
Beginner nilambar
Tags Class | databse | Table | XML
Comments 0 comments
This is a simple class for generating XML from MySql databse table.

Usage
include("Xml.class.php");//include class file
$mx=new Xml;//create new Xml object
$mx->dbtoXml("localhost","root","","dbname","tblname");//give hostname, user, password, database name and table name
echo $mx->showXml();//showXml returns Xml
1
Date Submitted Tue. Mar. 23rd, 2010 9:28 PM
Revision 1
Beginner hubertd
Tags C | CSharp | XML
Comments 0 comments
Quick way to construct XML string.
-14
Date Submitted Wed. Nov. 9th, 2005 7:55 PM
Revision 1
Beginner vinnie
Tags CPlusPlus | XML | XSL
Comments 3 comments
Transform XML File with XSL Stylesheet
« Previous 1 2 Next »