Servoy Plugins
Home
Table-Bean
XML-Plugin
MailPro-Plugin
DialogPro-Plugin
UserManager-Plugin
Google-Plugin
Exchange plugin
Phone-Plugin
FileWatcher-Plugin
TrayIcon-Plugin
PDI-Plugin
DateUtils-Plugin
Log-Plugin
ScreenShot-Plugin

XML plugin for Servoy
Plugin for parsing, creating and manipulating XML

The XML plugin is a powerful XML reader and writer. The plugin offers full support for

  • elements
  • attributes
  • namespaces
  • processing instructions
  • XPATH expressions
  • CDATA
  • XSL transformation
  • RSS feeds

Next to the ability to deal with "standard" XML files, the plugin makes it also very easy to archive or exchange data from a Servoy solution. To ease that process we have created the XMLFoundset and XMLRecord. To write data from within Servoy to a XML file is as easy as this:

var vXmlFoundset = plugins.XML.XMLFoundset(foundset);
vXmlFoundset.writeToFile('c:\\myXml.xml');

The plugin uses a built in "grammar" to archive Servoy data and automatically takes care of

  • looping over the provided foundset
  • setting the primary key of every record as an attribute
  • converting every data type to strings using a custumizable conversion format (so called "RecordFormatter")
  • optionally including all or some calculated columns
  • optionally including related data, even if the related table is several relations away ("nested" relations)
  • expand relations: if you want to use "nested" relations such as customers_to_orders.orders_to_order_items simply looping over the foundset is not good enough. Servoy will only give you access to all order items of the first order. Expanding relations means that really every record of order_items will be included. The plugin can do that automatically if wanted.
  • fully expand relations: this option makes it possible to also include every record from customers_to_orders from the example above as well

The XML plugin also comes with a little bean (XMLBrowser) that you can use to easily display a XML document inside Servoy. Here is a screenshot that shows a XMLFoundset inside the bean:

XMLBrowser with XMLFoundSet

A demo version of the plugin can be obtained here. A sample solution is installed into the solutions directory inside the Servoy (application_server) directory.

Get it
 
News
Version history
 
Shop
Downloads
Company
Contact
Services

SAN Partner

 

Follow us:
Twitter Facebook
Twitter Twitter

 

         
Legal notice        © 2007-2011 Servoy-Plugins.de        Terms and conditions