Export PDF reports Using XML publisher

Source: Internet
Author: User

There are two ways of generating an XML data source.

One is to use a stored procedure that returns a CLOB as an XML data source.

The other is to generate an XML data source directly using the data in VO.

Method One reference:

Oracle XML Publisher Tips Collection

OAF integration with XML Pulisher

Way two:

CO

if ("Printdis". Equals (l_enent))    {      = Pagecontext.getparameter ("Distributionid");       New serializable[] {Distributionid};       = (XMLNode) am.invokemethod ("Onlyprintdis", parameters);      Printdispdf (PageContext, Webbean, XmlNode, Distributionid);    }

Am

 Public XMLNode Onlyprintdis (String distributionid) {     = getChgDisPrintTmpVO1 ();     Vo.clearcache ();     Vo.initquery (keyId);     Vo.executequery ();      =          ((XMLNode) vo.writexml (4, xmlinterface.xml_opt_all_rows));      return XmlNode;}

Export PDF reports Using XML publisher

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.