Sql/xml - powerful tool for complex reports

I just want to share euphoria...
HTMLDB itself provides powerful ways how to control the design of the page - various types of regions, page types, templates...
Nevertheless sometimes you need even more precise control over the content and format of the displayed page. The combination of SQL/XML and HTMLDB solves it in very elegant way.
- create page with common SQL report region.
- prepare the SELECT gathering the data to be displayed
- prepare another SELECT using SQL/XML functions adding HTML formating tags upon the first select.
Example:
select
XMLTYPE.getStringVal(
XMLElement("table",
XMLAttributes('5' as cellpadding),
XMLConcat(
XMLElement("tr",
XMLElement("td",
XMLAttributes('left' as align, 'top' as valign),
XMLElement("a",
XMLAttributes(provider_url as href),
XMLElement("img",XMLAttributes(provider_icon as src, provider_name as alt, provider_name as title))
XMLElement("td",
XMLAttributes('left' as align, 'top' as valign, '150' as width),
XMLElement("a",
XMLAttributes(event_url as href),
XMLElement("div",XMLAttributes('font-weight:bold; font-style:normal; font-size:10px; ' as style), event_name_part2)
XMLElement("div",XMLAttributes('font-weight:normal; font-style:normal; font-size:10px; ' as style), event_name_part1)
XMLElement("td",
XMLAttributes('right' as align, 'top' as valign),
XMLElement("div",
XMLElement("a",
XMLAttributes( edit_url as href),
XMLElement("img",
XMLAttributes( '#IMAGE_PREFIX#ed-item.gif' as src, '14' as width, '14' as height, 'Editovat článek/pořad' as alt, 'Editovat článek/pořad' as title)
XMLElement("div",
XMLElement("a",
XMLAttributes( delete_url as href),
XMLElement("img",
XMLAttributes( '#IMAGE_PREFIX#wastebasket.gif' as src, '16' as width, '16' as height, 'Smazat článek/pořad' as alt, 'Smazat článek/pořad' as title)
) as event_description
from (select
case
when EVENT_PROVIDER_TYPE='Magazine' then set_1 || ' ' || set_2 || ' ' || set_3 || ' ' || set_4
when EVENT_PROVIDER_TYPE='Radio' then set_1 || ' ' || set_2 || ' ' || set_3 || ' ' || set_4
when EVENT_PROVIDER_TYPE='Author' then set_2
end as event_name_part1,
case
when EVENT_PROVIDER_TYPE='Magazine' then set_5 || ' ' || set_6
when EVENT_PROVIDER_TYPE='Radio' then set_5 || ' ' || set_6
when EVENT_PROVIDER_TYPE='Author' then set_1
end as event_name_part2,
events.url as event_url,
my_events.issue_date,
providers.icon_path as provider_icon,
providers.provider_name,
case
when substr(upper(providers.www_address),1,7)<>'HTTP://'
then 'http://' || providers.www_address
else providers.www_address
end as provider_url,
'f?p=' || v('APP_ID') || ':2:' || v('SESSION') || '::NO:16:P2_EVENT_ID,P2_EVENT_NAME:' || events.event_id || ',' || events.event_name as delete_url,
'f?p=' || v('APP_ID') || ':35:' || v('SESSION') || '::NO:35:P35_SELECTED_EVENT_ID,P35_SELECTED_EVENT_NAME:' || events.event_id || ',' || events.event_name as edit_url
from my_events
join events on my_events.event_id=events.event_id
join providers on EVENTS.PROVIDER_ID= PROVIDERS.PROVIDER_ID
where my_events.user_id=:IAL_USER_ID
order by my_events.issue_date desc)
P.S. It's cool to use XMLAGG function in combination with GROUP BY clause - it enables you to easily display list of strings as a single filed on the formular....

You will be able to use our XSL Processor to format into HTML or
CSV once it is released next month. Adobe is sponsoring a
context for a PDF engine for XML.
Oracle XML Team
http://technet.oracle.com
Oracle Technology Network
Karl Reitschuster (guest) wrote:
: We are developing an IntranetApplication with Oracle Webserver
: and Oracle DB.
: Reports should be generated in HTML or PDF or CSV.
: IS there any tool which can generate these formats on XML-Base.
: How do you generate your documentation which is both in PDF
and
: HTML?
: For any Tips : thank you
null

Similar Messages

  • SQL Server Data Tools for SQL 2014 setup

    Hello,
    I have been using SQL server 2008 with Visual Studio 2008 to perform the ETL processes.
    I have recently got SQL 2014 and realized that Business Intelligence Development Studio does not come with it so I have to download SQL Server Data Tools for Visual Basics 2012 or 2013 from:
    https://msdn.microsoft.com/en-us/data/hh297027
    Can someone advise what exactly I have to do if I want to start using SQL  2014 with SSDT? I still have VB 2008 installed and all my packages were created with that version.
    Do I need to download VB 2012 or 2013 plus SSDT and then SSDT? Do I also uninstall VB2008?
    Thanks in advnce

    Hello,
    If you want to keep developing packages for SQL Server 2008 then you need to use BIDS 2008, you cannot use SSDT.
    If you want to upgrade BIDS projects to SSDT, then you can use Integration Services Project Conversion Wizard from Visual
    Studio or SSIS Package Upgrade Wizard from SQL Server Management Studio (SSMS).
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • SQL Server Data Tools - for visual studio 2013

    Hi
    I have recently installed Visual Studio 2013 and need to install the SQL Server Data Tools too, as I have done in Visual Studio 2012, but I can not find the software, where can I get it?
    thanks
    MsdnMezzo

    Hi,
    I hope you serve.Regards
    SQL Server Data Tools for Visual Studio 2013 - 12.0.40403.0
    Portuguese (Brazil) 
    http://download.microsoft.com/download/2/A/4/2A4211D0-AA9B-4496-A9D4-48CDBED5C25C/BR/SSDTSetup.exe
    Chinese (PRC) 
    http://download.microsoft.com/download/2/A/4/2A4211D0-AA9B-4496-A9D4-48CDBED5C25C/CN/SSDTSetup.exe
    German 
    http://download.microsoft.com/download/2/A/4/2A4211D0-AA9B-4496-A9D4-48CDBED5C25C/DE/SSDTSetup.exe
    English (United States) 
    http://download.microsoft.com/download/2/A/4/2A4211D0-AA9B-4496-A9D4-48CDBED5C25C/EN/SSDTSetup.exe
    Spanish 
    http://download.microsoft.com/download/2/A/4/2A4211D0-AA9B-4496-A9D4-48CDBED5C25C/ES/SSDTSetup.exe
    French 
    http://download.microsoft.com/download/2/A/4/2A4211D0-AA9B-4496-A9D4-48CDBED5C25C/FR/SSDTSetup.exe
    Italian 
    http://download.microsoft.com/download/2/A/4/2A4211D0-AA9B-4496-A9D4-48CDBED5C25C/IT/SSDTSetup.exe
    Japanese 
    http://download.microsoft.com/download/2/A/4/2A4211D0-AA9B-4496-A9D4-48CDBED5C25C/JA/SSDTSetup.exe
    Korean 
    http://download.microsoft.com/download/2/A/4/2A4211D0-AA9B-4496-A9D4-48CDBED5C25C/KO/SSDTSetup.exe
    Russian 
    http://download.microsoft.com/download/2/A/4/2A4211D0-AA9B-4496-A9D4-48CDBED5C25C/RU/SSDTSetup.exe
    Chinese (Taiwan) 
    http://download.microsoft.com/download/2/A/4/2A4211D0-AA9B-4496-A9D4-48CDBED5C25C/TW/SSDTSetup.exe

  • Database - Best tool for making report

    Hi everybody,
    We're developping an application with HTML-DB. Our users want to extract some reports.Those users are used to work MS-Excel to make reports.
    My question is what is the best tool for producing this kind of reports ?
    Is it with HTML DB (report), Discoverer or Oracle Reports ?
    Thank you. Bye.

    The answer, as with all of ORacle's products, is "It depends".
    Oracle Discoverer, once set up, is very easy to use as a 'developer' and as a 'report recipient' across the web. Looks and feels like Excel. Personally my first choice for a medium user to power user level from a 'create reports' perspective. Prepare to have a Disco Administrator, but that is usually a 'power user' rather than an IT guru.
    Oracle Reports is much more powerful, useful for high-end reporting and control of reporting such as multi-bursting to individual printers, caching, PDF and CSS generation - but it requires a person who is interested in becoming competent at reports. It's also a bit of a bear to set up.
    A lot of reports can be accomplished using SQLPlus or iSQLPlus. Too many people are not aware of the power of the environment and end up going for high-end tools when SQLPlus will do.
    HTMLDB is OK and designed to be simple. I haven't used it much, so I'm the wrong person to comment.

  • Technical Documentation Tool for Oracle reports ---?

    Hello All,
    Are there are any technical documentation tools available for Oracle reports...similar to the one available for Oracle forms(FoReDocLet 1.1). In any kindly specify.
    Thanks & Regards,
    Arun.v

    HI Arun
    where can we get this forms documentation?
    Thankyou
    Sasi

  • Please help! XML output needed for OBIEE report.

    Hi,
    I need an xml output of the OBIEE report. I have tried extrating the xml result using GO url but the xml format is not satisfactory. The default output assigns C0,C1..column names to each column data while on the other hand I need the name of the column and not C0 or C1.
    Hence, can anyone please suggest as to how can I format the OBIEE xml output internally i.e. without doing it manually.
    Please let me know if more explanation is required.
    Thanks in advance!!

    Hi,
    Thanks for the response but unfortunately Bi Publisher is even not giving the required output.
    The output of Bi Publisher is like
    <_170627_>170627</_170627_>
    <_TRADES_._TRADE_ID_>2996</_TRADES_._TRADE_ID_>
    <_FALSE_>FALSE</_FALSE_>
    <_N_>N</_N_>
    <_170627_>170627</_170627_>
    <_R_>R</_R_>
    and the output of OBIEE is
    <C0>170627</C0>
    <C1>2996</C1>
    <C2>FALSE</C2>
    <C3>N</C3>
    <C4>170627</C4>
    <C5>R</C5>
    <C8>B</C8>
    In both the cases I get leading and trailing tags which are not required. Ideally according to the requirement C0 should have been Trade ID, C2 - Cancellation option and so on.
    The BI Publisher does give the output to some ectent but lans up capturing the table name also as u see it is Trades.Trades Id. I even reuire few extra tags which caary report information and this data is not being pulled from database.
    Hence please help!! I am really very much confused!!
    Thanks!!!

  • Tool for Formating Report

    Hi Experts,
    In our project we are using two mode for presentation one is broadcasting and second is formating of reports with proper format needed by client .
    now for broadcasting of reports we are using SAP portal.
    and for Formating we are using a third party tool known as "Cognos 8 IBM .
    Now is there any way in SAP BI where I dont have to use third party tool for formating and generating reports? i.e. formating and broadcasting will be done in SAP BI only.
    Please help

    Hi,
    Thanks for sujjesting...but the problem with SAP BI VC KIT is we have to design it from the ground level....for say it will take the data from respirotary connect it with J2EE server and give me the output...though the process is really good and can combine two different buisness senario but my issue is Cognos wat I am using for report format is already a establish tool of the process .....and in the process two ways we are generating report one in in BW and one is in Cognos ,BW report is for Enterprise Portal which all the internal client's are using but Cognos report are being used by end user where company logo and lots of details are getting generated In PDF format. I cannot replace existing BW tool , but wanted to use BI where I can upgrade BW and remove Cognos use....is there any way for that?
    and for BI WEB reporting which is much semiliar to BW web reporting ......

  • What is suitable method or Tool for Generate Reports or Inovice?

    Which Tool or Class is suitable for Generate Reports or Inovice?
    i hope to make some reports and invoice for my project,
    but i don't know what is suitable class to generate and show report and invoice.
    can you give me some advice?
    thanks!

    My report consists of one main repeating frame containing about 15 (detail) repeating frames. The main frame starts a new page each time the deposit (master record) changes and resets the physical page number at the top of the page. In the property palate, I have Source set to my deposit number and Maximum Records per Page set to 1 and this results in the start next deposit on a new page.
    I can't find any 'BREAK' command that would result in the action I need - and there seems to be nothing in the SRW_package or conditional formatting that might help.
    What I was hoping was that there would be a command somewhere that I have missed, that would cause a new report to be written each time the deposit (or master record) changes, rather than one huge report.
    Thanks for the suggestion
    Glenn

  • SAP BI tools for FI reports

    Hello everybody,
    I am SAP FICO consultant but new to SAP BI. I have a requirement that uses BI tools to create FI reports and I need to give functional specs. Can anyone give me general guideline to do that? More specifically, I have following questions:
    1. I Names of SAP BI tools that are used for SAP FI reporting.
    2. Can anyone also send me material / links to the readings that could help understand creating functional specs for such reports?
    3. It would also tremendously help me if anyone can tell me the difference between functional specs for ABAP reports Vs. BI reports. I have worked on ABAP functional specs but not on BI reports.
    Thank you,
    Sonia

    >
    SoniaG wrote:
    > 1. I Names of SAP BI tools that are used for SAP FI reporting.
    > 2. Can anyone also send me material / links to the readings that could help understand creating functional specs for such reports?
    > 3. It would also tremendously help me if anyone can tell me the difference between functional specs for ABAP reports Vs. BI reports. I have worked on ABAP functional specs but not on BI reports.
    >
    1. you'll need to extract data into BW, so you'll need to set up a Data Model for FI; then depending on which kind of reports, you'll need BEx Query Designer, BEx Analyzer, Report Designer, Web Application Designer or any of the BOBJ tools (or external party tools)
    2. /
    3. I personally would be fine with ABAP specs... basically what one needs to know is which data you wish to see in what format and how that data can be found in the source system... if calculations are necessary, those have to be delivered as well
    Important is to determine the granularity of data

  • Report preview issue in SQL Server Data Tools for VS2013 2013

    I have a basic table based report backed by an SQL2012 stored procedure.  When I try to preview the report I get this error:
    There was no endpoint listening at net.pipe://localhost/PreviewProcessingService6476/ReportProcessing that could accept the message.  This is often caused by an incorrect address or SOAP acction.  See InnerException, if present, for more details.
    How do you view the inner exception?
    How do you troubleshoot this error?
    scott

    Hi scortt_m,
    Based on the error message, generally it occurs because the .Net pipe Listener Adapter is Stopped in Service. Please follow the steps below:
    1. Oper to Start and type Service.
    2. Go to Service, find .Net Pipe Listener Adapter.
    3. Right click and start this service. 
    Also please refer to the similar threads below:
    There was no endpoint listening at net.pipe://localhost/
    No endpoint listening at net.pipe exception
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Project management tools for complex publishing project?

    I was wondering what project management tools people use for managing complex InDesign projects? Software-oriented project management tools, or are there tools specifically for publishing projects?

    The "Yes" is a link to a list of them. There are also a number of web-based services like 37 Signals.

  • Just discovered I need a reference tool for research reports with pages...

    I love the great tutorial that tells you to insert a function that does not come standard with pages.  One would really think a bibliography tool or simple endnote feature would be pretty basic for a word processor.
    So.....EndNote is the featured program on the tutorial....though I don't believe it is made by Apple (?). 
    Q:  Are there other options for a program that will do research report-level citations in Pages?  Or do I have to now spend 2x what I paid for the entire iWorks suite for this simple luxury?

    HokieHi wrote:
    One would really think a bibliography tool or simple endnote feature would be pretty basic for a word processor.
    You can tell Apple here:
    http://www.apple.com/feedback/pages_ios.html
    (Though it's 7 years now they have not added that feature)

  • Oracle tool for Dynamic Reporting?

    What Oracle tool\download allows users to do dynamic reporting?
    Thank you in advance,
    Wes

    Wes Gibbs,
    have you set goal for yourself to reach 50 or 100 posts in a day, posting the same message again and again? Please respect the forum rules.
    Hope you understand.
    Thanks,
    Kalyan

  • Third party tools for Usage Reports at list&library level

    Hello,
    We are looking for a Third party tool which gives usage analytic reports(preferably with
    dashboards) with specific Time Stamps at list (Item) &library (Document) level.
    Thanks for your help in advance.. :-)

    you can try couple of available 3rd party option( i would say test it with trial version).
    Webtrends for SharePoint
    CARDIOLOG ANALYTICS
    DocAve Report Center for Microsoft® SharePoint® Reporting
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • XML Editing Tool For Mac

    Hi there.
    I just had a promotion at work and have started looking into XML coding with the view to edit the code and eventually create my own XML document from scratch.
    While at work it is very easy to as we have all the programs we need and a nice big screen to allow us to carry out our job but when at home is not so easy when I'm trying to look at it using a 15" laptop.
    I have a 27" iMac and would love to be able to continue my work when at home using my iMac.
    The problem i have is i can not find any programs for iMas via the the web or the App store that allow me to edit and create XML documents.
    Is there any one out there who can suggest what i could do or it there is software out there that will allow me to do what i need. I have tried Notepad ++ but i can not find a Apple version.
    Cheers

    Hi Lucy:
    Valkommen to discussions!
    The Hard Way
    The Easy Way
    :)Sue
    iMac ppcG5 1.8 GHz 20FP & (2)iMac G4 800MHz 17FP Mac OS X (10.3.9) OS X 10.4.6 / iLife 4,5,6 Superdrives & 1 G RAM / QT6 pro

Maybe you are looking for

  • Users are unable to synchronize document libraries with OneDrive for Business

    Hello, We are having an issue with our users attempting to synchronize document libraries with OneDrive for Business. When a user tried to synchronize the document library either via the "SYNC" button on the document library page using IE or by manua

  • ICal print options - help!

    I have been unable to find a way to print from iCal to a custom page size. Ideal solution is a way to print Week View (2 pages per week) onto Franklin Covey Compact size paper (4.25 x 6.75). I was able to do this in Outlook before I switched to Mac.

  • Problems w/ FP 10.3? What do i DO?

    My problem started about 3 weeks ago when upgraded to new version of FP (10.3). Videos were not in the correct spot, they w ere up in the left corner and flashing. Ads were flashing just all over the place, often right in the way of what were trying

  • Cost per mile report

    Hi I am new to the logistics module and have just started  learning the PM and CS modules. I was just trying to figure out a query raied by one of the clients regarding a report which will generate the "cost per mile". Actually the client wants to ca

  • Printing CD jewel cases prints all black

    Can you help me with that problem??  I am running iTunes version 10.3.2... the  album covers on the CD Jewel Case are still printing that HUGE, SOLID  BLACK SQUARE. I too have reported it to Apple iTunes support team  several times .. no response rec