Creating applications with PHP and XML databaseClasses 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.
|
|
||
|
|||
“Amazon and the Amazon logo are trademarks of Amazon.com, Inc. or its affiliates.”
Copyright - © 2004 - 2019 - All Rights Reserved.