Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I use XML as a POJO Scripted Data Source?

Data pojo scripted source XML
0
Posted

How do I use XML as a POJO Scripted Data Source?

0

BIRT Supports an XML data source. See the examples page for a demonstration. Another method is to use the Scripted Data Source to communicate to Java objects that are used to parse and interogate the raw XML. Scripted Data Sources always have three basic tasks: • Open – Initialize connections and Instantiate required Java Objects • Fetch – Bind values to the dataSetRow • Close – Clean up any connections and Java Objects The following code is typical for an open method. In this case we are creating a URL object, and a DataInputStream to that object.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.