Creating applications with PHP and XML database

Classes to work with XML database from PHP are available. You can use these to work with an XML database like Xindice. The class that is used is available in class_xindice.php in the phpxmlclasses.sourceforge.net website. You have to instantiate the class once and then you can use the RPC's of that object to work with the XML database.


_______________________________________________


There are many methods available for this purpose. You can use the Xindice constructor to instantiate the class. The createCollection method is used to create a collection for XML documents and listCollections is used to list the collections available in the XML database.

To find out the number of documents present in a collection you can use getDocumentCount method. Drop collections using dropCollection. To insert a new document in a collection you can use insertDocument and to update a document use setDocument.

To get the list of the documents available in a collection you can use listDocuments method and use removeDocument to remove a document from a collection.

You can find all the methods available in PHP to work with an XML database in the sourceforge.net website. With these methods you can create any application that uses PHP and XML database.




_______________________________________________

FREE Subscription

Subscribe to our mailing list and receive new articles
through email. Keep yourself updated with latest
developments in the industry.

Name:
Email:

Note : We never rent, trade, or sell my email lists to
anyone. We assure that your privacy is respected
and protected.

_______________________________________








 

 

FREE Subscription

Stay Current With the Latest Technology Developments Realted to XML. Signup for Our Newsletter and Receive New Articles Through Email.

Name:

Email:

Note : We never rent, trade, or sell our email lists to anyone. We assure that your privacy is respected and protected.

 

 

Add to My Yahoo!

Visit XML Training Material Guide Homepage

 

 

Copyright - © 2004 - 2017 - All Rights Reserved.