Using XML Publisher with plsql package data source?

Hi,
I have a html gantt chart which i create using a plsql package and the use of the htp.p procedure for output to a webpage.
I want to be able to print this to PDF and was hoping the XML Publisher may be an option for doing this. The datasource for this however seems to be a sql query or XML feed.
Can anyone provide any suggestions on this??

With a Pipelined Table Function you can use a function in your FROM-clause (so you'll have a normal SELECT, but in the background the data comes from a PL/SQL-function):
SELECT * FROM TABLE( <function_name> )
Look here:
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:30404463030437
http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14261/tuning.htm#sthref2335

Similar Messages

  • Is it possible to use xml publisher with xml document as data source ?

    I have an application that have to publish document from xml document that are not part a oracle 10g database but will be stored into Oracle Berkeley XML database insteed. Is it possible to use server and/or desktop to publish these documents ?
    I test the desktop edition using the source xml document but it render no data when the template is executed (vizualization)
    I installed the server edition and i'm not able to declare xml document as a data source
    So i have a doubt that xml publisher is able to publish something from a xml datasource
    Thanks

    Yes, it is possible.
    The problem should come from your template. Refer to "edit a RTF template" in the docs.
    A fact is that XML Publisher server edition is not very adapted to an XML file datasource. In order to use it, you should use an HTTP datasource, with the URL of your XML document (that you should place on a web server...). The problem is that this URL is fixed and point always on the same reference...so XML Publisher server edition is not very good for that use.
    I choose to use the XML Publisher Java API which is better for this task.

  • Maximum Number of record Per page using XML Publisher with RTF template

    Hi
    I am creating customer statement and want to show only 20 records per page. How we can set maximum number of repord per page in rtf template.
    Thanks
    Ravi

    Ravi,
    I hope you are already done with this. In the invoice there is a nice example you can use on the xml blogs.
    You limit the number of lines per page when you use the xsl commands like this in your template:
    <xsl:variable name="lpp" select="number(13)"/>
    <?for-each@section:LIST_G_INVOICE?>
    <xsl:variable xdofo:ctx="incontext" name="invLines" select=".//G_LINES[LINE_TYPE='LINE']"/>
    <?for-each:$invLines?> <?if:(position()-1) mod $lpp=0?> <xsl:variable name="start" xdofo:ctx="incontext" select="position()"/>
    and then you have the table where you have the data
    <?for-each:$invLines?><?if:position()>=$start and position()<$start+$lpp?>
    and all your lines
    and then
    <?end if?><?end for-each?>

  • XML Publisher with Non Oracle databases

    Hi,
    Can we use XML Publisher with non oracle databases like Postgres ,mySQL etc.

    Hi
    Not sure if you're talking Apps or non but you can do it equally with both. Check out the Data Engine in the user guide and look for Distributed Queries. XMLP will need a jdbc connection to the db but you can then pass a query and get XML back.
    You can even write one query to pull back say customers from Oracle and their invoices from MySQL, you'll get a merged data set back with a master detail relationship btw customers-invoices
    Regards, Tim

  • Xml publisher with xe

    HI TO ALL,
    i have a question: can i try to use xml publisher with oracle xe.
    Does it work?
    I haven't read anything about xml pubblisher configuration and requirements
    Thankx

    hey, it works
    you need only to set the jdbc connection for a user that got the demo tables (the builtin HR user with all the tables of the demo application works super).
    Now it's all about money....
    bye bye

  • Using report parameter in data set filter expression with an SSAS data source

    I have an SSRS report with an SSAS data source.
    Report parameters:
    Param1 - text, single select
    Param2 - text, multi-select
    Dataset:
    In Query Designer, I want to include Param1 as a filter expression so I can have "Dimension1 Begins with @Param2". I'm not sure the exact syntax to make param2 work in this.
    The point is to filter my data set on param1. If A is selected for param1, I want the data set to have the filter saying "Dimension1 begins with A"
    Anyone know how to use a report parameter in the dataset filter expression for an ssas data source?

    hi,
    try this maybe the dates you are comparing are not in the same format.
    I test data template in EBS but not with dates.
    to_date(date,'dd/mm/YY') between to_date(:p_from_date ,'dd/mm/YY') and to_date(:p_to_date ,'dd/mm/YY')
    if dont works try to put values insted of your parameter like :
    to_date(date,'dd/mm/YY') between to_date(:p_from_date ,'10/01/07') and to_date(:p_to_date ,'01/12/07') ... put dates where u can have some values in report...
    if dont work then try to print the values of the 2 parameters and the date of the select somwhere in ur report to see what you have in it..
    hope it helps..
    Regards Joe.

  • Report VS Excel output using XML Publisher tool (DBMS_XMLGEN)

    Hi All,
    Currently I am working on report generation in MRP module with Excel output using XML Publisher tool.
    XML tool works based on query.
    I have developed PLSQL block by using DBMS_XMLGEN – database package, to generate XML output of query.
    My question is how we can put generated xml on above PLSQL block into OUT file (APPS).
    Because DBMS_OUTPUT.PUT_LINE( ) has limitation, it allow 255 character string only.
    But I do not know, Is FND_FILE.PUT_LINE (FND_FILE.OUTPUT,’’) allow for large data?
    If it does not allow what will be the other solution in oracle application to resolve above problem.
    Let me know any queries regarding to this problem.
    Thanks and Regards,
    Sai Krishna @cavaya.com

    Hi Prakash,
    Thanks for the reply. We did apply the one-off patch and got rid of the problem of not viewing 'Excel' output using XMLP.
    Now we are looking at a different perspective:
    Basically our client is looking for the following:
    1. Mathematical functions in the resulting XLS (like SUM, AVG etc..) ouput
    2. Use of macros if possible.
    And to do this i am looking out for a sample template that gives me output in excel format I have a TAR with Oracle for this purpose, but the TAR has so far been unsuccessful in providing us with any material in the direction.
    Our client remembers seeing this as a demo at the Oracle Conference this yr at San Fransisco, but does not have a sample to provide us. We are looking for such a sample.
    Thx,
    Nitin

  • Where we get real time XML publisher with neat explanation

    hi every one
    where we get real time XML publisher with neat explanation for oracle apps

    Why XML Publisher Reports Why NOT Traditional Oracle Reports?
    Oracle Applications, SQL, PL/SQL: Why XML Publisher Reports Why NOT Traditional Oracle Reports?
    Developing XML Publisher Report - using Data Source as PL/SQL Stored Procedure
    Oracle Applications, SQL, PL/SQL: Developing XML Publisher Report - using Data Source as PL/SQL Stored Procedure
    Developing XML Publisher Report - Using Data Template as Data Source
    Oracle Applications, SQL, PL/SQL: Developing XML Publisher Report - Using Data Template as Data Source
    Regards,
    Srini

  • Error while trying to update the XML template using XML Publisher Administrator

    Hello Folks,
    We are on R12.1.3
    I changed a condition in a report and trying to upload the new XML template using XML Publisher Administrator.
    when i click the Apply button, it is throwing an error 'Bad Request'
    Navigation : XML Publisher Administrator > Data Definitions > query the report
    Click on the name of the report > click 'Update file' besides Data Template > Choose file > Click Apply
    I am getting the below error
    Bad Request
    Your browser sent a request that this server could not understand.
    Now, i could not upload a new XML template.
    Am I doing anything wrong.
    regards,
    Kris

    user10163762 wrote:
    Thank you Eugen and Hussein.
    The problem is not with the template.
    It seems to be a problem in that particular instance.
    Uploaded it in a different instance.
    However once i run the program, i cannot view the output as the browser window flashes and disappears.
    My colleague says , it is to do with the trusted site to download something from the browser.
    Can you please guide me on how to fix this ?
    http://bit.ly/1k8e2vi
    Thanks,
    Hussein

  • Printing Arabic text in Oracle Application(R12i) using XML Publisher.

    Hi,
    I am using Oracle Application R12i version with Oracle database as 10g, base language as English and installed language as Arabic.
    I am trying to print the data which is there in English/Arabic in Oracle Application(using XML Publisher).
    I've created a rdf using Report Builder 10g and registered as concurrent program (XML as Output format). There after i executed the concurrent program and generated the XML file.
    Based on the XML file, i created a rtf file using XML Desktop(in Ms word) and register the same rtf file in XML Publisher Administrator for creating the XML definition and Template and Output as PDF.
    After creating a XML template, when i executed the Concurrent program, english text is shown in english but arabic text is shown some ascii characters like Question Mark(up side down).
    Could anyone please let us know the steps for doing the same or plz let us know are we missing any step.
    Quiet urgent.
    You could also reply to [email protected]
    Thanks in advance
    Your help will be appreciated.
    Edited by: user10772035 on Aug 20, 2009 10:23 PM

    Same Problem here, if you are able to solve it, please also help me.

  • How to inclulde digital signature in PDF outputs using XML Publisher

    I'm working on AR invoice print report which is a custom report. One of the requirements of this report is to include the digital signature in the output which is in PDF format.
    We have below code components for this custom report.
    Oracle Report (RDF) - to extract the invoice data
    RTF template - for report layout
    Bursting file - to split the output into individual PDFs
    Is there any document available to implement the digital signaure in my case?
    I'm looking for the steps to implement this in my custom report using XML Publisher.

    Take a look at the report designer's guide; section "Adding or Designating a Field for a Digital Signature" here:
    http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12187.pdf
    Thanks,
    Bipuser
    If I am not mistaken, this would require using PDF templates and use of Adobe Acrobat Professional.. Maybe others can chime in with other/better options..
    Edited by: BIPuser on Aug 2, 2011 12:58 PM

  • Can i use XML publisher in a c/s enviroment?

    Hi. I'd like to know whether it's possible to use XML Publisher in a C/S enviroment. We're still using reports and forms 6i in C/S. I'd like to know whether one can use the client version of XML to build custom reports (invoices for instance).
    Thanks in advance ...!

    Hi. my main concern is whether one can use XML publisher in a Client / Server enviroment. What this mean is :
    If it's possible not to use the middle tier: the J2EE container thing?. Put in other words, keep it simpler: just use a client that process XML data (probably using 10g facilities). Use the desktop client of XML publisher to access an Oracle Database or some xml files and use this to configure custom invoice reports for example. Our application is still on forms and reports 6i (C/S). Since there are certain limitations in customising the layout model on reports, i've been advised to consider XML publisher. So i don't really need to use forms or reports 6i with XML publisher. What i need is access to an Oracle Database from a desktop client (or have the DB generate an XML file) and be still C/S. I don't want the complexity of the three tier arquitecture yet.
    Best regards, Luis ...!

  • XML publisher with jdeveloper

    Hi all,
    I'm wondering if there is an API of XML Publisher for using with jdeveloper for development a reporting system. After I have run queries in database, I want to present tuples in a formatted fashion in PDF, RTF document etc. There are open source facilities like jasper reports etc, if XML publisher facilitates my reporting part of my system, I want to plan reporting development via XML Publisher!
    So, How I can integrate XML Publisher with jdeveloper? Is there any API documentation?
    best regards...
    --barisk                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    XML Publisher ships with 2 XDK parsers a 9i version for backward compatibility and 10g version - you can switch at runtim using the properties. However, you have to make sure that the XML Publisher versions of the libraries are used and not the ones coming with i.e. jdeveloper version or oc4j version that you are using. You should use the version shipped with XML Publisher, because these versions are thoroughly tested with XML Publisher.
    See the deployment notes in the install document:
    Oracle OC4J Deployment Notes
    The version of the XML Parser shipped with Oracle OC4J is incompatible with XML Publisher. When you create an XML Publisher application for OC4J you need to configure the system to use the XML Publisher version of the XML Parser. This can be accomplished by setting an orion-web.xml configuration file with the following content:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <orion-web-app>
    <web-app-class-loader search-local-classes-first="true" />
    </orion-web-app>

  • How to filter cancelled PO lines using XML publisher desktop

    Hello,
    I've created a new PO template for printing using XML Publisher Desktop for Word. Output format is in RTF. All data required was printed except when the user canceled a particular PO line, that line will also be printed out with quantity and total amount 0. How can I filter PO lines with "canceled" flag not be printed out? Is it possible to insert conditional statement within the table template? How to do that?
    Thanks in advance

    if you want only test it by XML publisher desktop
    then you can use if statement
    for example in field
    <?if:TAG1='test?>then
    <?TAG2?>then
    <?end if?>for row between (for example)
    <?for-each:G_GROUPNAME?>and
    <?end for-each?>BTW use this method is not correct in my opinion
    if you use "canceled" flag as parameter in concurrent program
    then you may get xml for RTF template only with needed data

  • Crystal Report using a Web Service as a data source?

    I am trying to figure out how to use a Web Service as a data source in Crystal Reports. When I use the report wizard, I do not see an option to select Web Service as a new connection. We are currently using Crystal Reports 2008 v12.1.0.892. Could it be that my version does not support this? Is there an update that contains this feature? Please help.

    Thanks for your response. Unfortunately I do not see a radio button for Web Services. I've read that it should be there too. Could it be a missing plug-in or patch?
    Here are screen shots of what I see when trying to connect to an XML. Any thoughts?
    [http://s26.photobucket.com/albums/c120/hpolit/?action=view&current=wizard1.jpg]
    [http://s26.photobucket.com/albums/c120/hpolit/?action=view&current=wizard2.jpg]

Maybe you are looking for

  • How do I get possession of an iCloud email address?

    At some point in the not too distant past, I remember having to create an iCloud email address.  It will be associated with my apple ID, but I cant use it.  I know noone else has it because the email server gives a bounceback. How do I get in touch w

  • New REACh Release - new features and ramp up

    Hi, when is the next release of REACh available and what are the new features? When does ramp up begin?

  • Signal Level Meter

    Signal Level Meter CATV Signal Level Meter GAO2002 is specially designed for CATV system maintenance. Signal Level Meter GAO2002 features small size (160mm x 130mm x 65mm) , light weight (368g including battery), long operating time (more than 6 hour

  • Error in RFC destination SWU3

    Hi Team, Recently we have performed System Copy from Production to QAS system. After system copy we checked that workflow is not working properly in system and RFC destination WORKFLOW_LOCAL_xxx does not exist in system So we went to SWU3 and tried t

  • Adobe reader and flash won't finish installing

    ''locking this thread as duplicate, please continue at [https://support.mozilla.org/en-US/questions/1024944 /questions/1024944]'' When I attempt to play a youtube video, it says to update flash or it won't play. So I go to update it, download the off