Yesterday we talked about exporting data using the Views data export module.
Drupal 7 – Export view data CSV, XML, XLS by Views data export module
The module also provides a Drush command such that you can run the export command in the server which is convenient for backend integration.
The following command is stated in the project page.
- drush views-data-export [view-name] [display-id] [output-file]
Continue reading Drupal 7 – Export data using Views data export module with Drush command
In Drupal 7, we can easily create export Views data by the Views data export module. Say, we want to export all current nodes with title and post date.
1. Download and install the module.
Continue reading Drupal 7 – Export view data CSV, XML, XLS by Views data export module
Most of the time, the xml contains node attributes other than node values. The following example shows u how to get the node attributes in xml.
Continue reading JAXP – Java API for XML Parsing @ 2
To parse an xml in java, we can make use of the JAXP – Java API for XML Parsing. The JAXP provides 2 standards which are SAX and DOM respectively. Here is the sample code which parses an xml using the DOM standard.
Continue reading JAXP – Java API for XML Parsing @ 1