Chart on variables

Hello All,
We have variables (measures) TypeA, TypeB, TypeC created at report level in webi. It has the below mentioned example data:
TypeA
50
TypeB
30
TypeC
80
I am expecting bar/line chart with TypeA, TypeB, TypeC in Category (X) axis and values on Value (Y) axis. Any suggestion please..!!
(If TypeA, TypeB, TypeC are coming from dimension object (for ex Type) and Values are coming from any keyfigure (for ex Volume) then it is easy to convert it to graph, but all above are variables (measues))
We are using BI 4.0

Hi Suri,
Assign your chart data as per screenshot,
Regards,
Samatha B

Similar Messages

  • Crystal reports - charting a variable to simulate a running total

    I have 2 sets of data as below :
    units
    costs
    What I am trying to do is generate a chart that for each month, reports the result of the formula
    sum of costs to date / sum of units to date
    Ideally, I would create 2 running totals
    RT costs
    RT units
    then a formula avg. cost to date = RT costs/ RT units
    and then for each month (x axis of the chart) plot avg/ cost to date
    BUT - crystal won't plot a data set based on running totals.
    So, I created a field with a psudo running total
    i.e.
    whileprintingrecords;
    numbervar unitsum;
    unitsum:=unitsum+units
    and similar for the costs.  Variable called costsum.
    Then a variable field
    whileprintingrecords;
    numbervar results;
    results:=costsum/unitsum
    So I though I could then plot the field with the variable results in it in the chart.  But no, I cannot see the field name in the data select list.
    Please advise how I can create my chart.
    Thanks
    Edited by: newbyr on Jul 7, 2010 12:20 PM

    With the best will in the world, I realise that charting does not like running totals,  What I am looking for is a workaround, or clever way of circumventing the problem.
    Before posting I did extensively search the forum and saw the link that DebiHerbert has suggested, and it is of no help at all.
    Thanks
    Edited by: newbyr on Jul 9, 2010 2:40 PM

  • Bug in chart parsing variables?

    Chart Title: &P671_ERR8.
    Series Name: &P671_ERR8.
    Here the result:
    <rect id="background" x="1" y="1" width="598" height="398"/>
    <text x="20" y="20" class="title">Farbe</text>
    <text id="XAxisTitle" x="50%" y="390">Zeit</text>
    <text id="YAxisTitle" x="15" text-anchor="middle" y="50%">Fehlerzahl</text>
    <g id="legend" transform="translate(0,25)">
    <rect class="legend" x="1" y="0" width="598" height="60"/>
    <g class="legenditem" transform="translate(20,18)">
    <line x1="0" y1="-5" x2="-15" y2="-5" class="data1"/>
    <text class="legend" y="0" x="2">Fehler 1</text>
    </g>
    <g class="legenditem" transform="translate(20,36)">
    <line x1="0" y1="-5" x2="-15" y2="-5" class="data2"/>
    <text class="legend" y="0" x="2">F2</text>
    </g>
    <g class="legenditem" transform="translate(20,54)">
    <line x1="0" y1="-5" x2="-15" y2="-5" class="data3"/>
    <text class="legend" y="0" x="2">F3</text>
    </g>
    <g class="legenditem" transform="translate(120,18)">
    <line x1="0" y1="-5" x2="-15" y2="-5" class="data4"/>
    <text class="legend" y="0" x="2">&P671_ERR8.</text>
    </g>
    </g>
    the chart title was parsed correctly,
    but the legend not.
    are there any reasons for?
    my htmldb version is:
    1.6.0.00.87
    i am not able and not allowed to update my version.
    are there any bugfixes for this problem?
    if there are in which version was it fixed?

    P671_ERR8 := Farbe
    the session state says the same.
    the xml file for the svg chart contains the following data
    <text x="20" y="20" class="title">Farbe</text>
    <text class="legend" y="0" x="2">&P671_ERR8.</text>
    in the first line &P671_ERR8. was parsed and in the second not.
    if the different session state for the chart is the reason, even the first could not parse the variable.
    am i right?

  • Line charts of variable thickness in a series

    I'm trying to create a line chart where a small subset of the line [i.e. between points 1 and 3] has a different thickness than the rest of the line in order to highlight that region. Any ideas as to how to create that (or if it's even possible in this release of Numbers)?

    Thanks, but what I'm really trying to do is change a subset of that line's thickness.
    I don't think it's possible using a line chart, though it would be if I could use an XY-Scatter chart with lines. The trick there would be to have two series with one overlapping point, and to set the different thicknesses for the different series. Unfortunately, this requires Scatter Lines, which (if I'm not mistaken, and I do hope I am), Numbers can't do.

  • P Chart With Variable UCL

    Hello,
    I am trying to use an iSPCChart in P mode.  My sample size varies per point and I am specifying a Sample Size Column on the display template's Data Mapping tab. I have the box checked to Calculate Control Limits on the Limits tab.
    My problem is that the upper control limit does not show up on the chart even though I have Show Control Limits checked on the Upper Chart tab.  The lower control limit does show up.
    Is there a way to get the UCL to show up on the P chart when it is calculated and it varies due to varying sample sizes?
    Thanks,
    Mike

    Hi Udayan,
    It appears that the UCL is being calculated.  If I do a right-click on the applet and then Data -> SPC Results Detail, each position has a UCL listed.  They range from 0.02 to 0.05 (depending on the sample size).
    In the summary section at the top of the SPC Details, however, it says NA for UpperChartUCL. I think this is because I did not specify a static UCL in the template.
    Also, on my chart one of my plotted points is red indicating that the upper control limit alarm point has been exceeded.  The control limit alarm is the only alarm I have turned on.
    So, I think it is calculating the UCL properly and that it is using it properly in terms of assessing the alarm conditions but, for some reason, it is not drawing the UCL on the chart.
    Thanks for your help.
    Mike

  • How to create the custom charts?

    how to create a custom charts? for example the donut shapes, but for the data can be automatically adjust (like a available charts on keynote)

    Keynote and Numbers do not have a tool for making Donut Graphs. There are ways to make them using HTML, but I prefer to cheat:
    1 Create your first graph as a pie chart and add a circle of solid color to the center
    2. If you need more, take a screenshot of the pie chart with the center fill  and drag the screenshot into Preview - in Preview > Select Tool (pulldown from Toolbar) > Instant Alpha and remove the inner filled circle and outer fill then Save As > PNG with Alpha
    3. Drag your new hollow shape into Keynote. This chart can be placed over another pie chart with a filled center (the fill should match the background)
    Not as graceful as a special tool but can get the job done quickly - changing the data requires starting it over since at least one of your donuts my be an image rather than a pie chart with variable data.
    Try it. If you need more specific tools, Google Donut Shaped Charts for starts.
    Good luck

  • Multiple series in a chart

    Hi
    I want to create a chart with multiple series, each serie referring to a specific country.
    The query below is not accepted:
    SELECT null url,s.date_from,s.country,sum(s.unique_players) unique_players
    FROM   my_table s ...As a workaround I changed the query to:
    SELECT null url, s.date_from,
    sum(decode(s.country, 'se', s.unique_players, 0)) sweden,
    sum(decode(s.country, 'fi', s.unique_players, 0)) finland,
    sum(decode(s.country, 'no', s.unique_players, 0)) norway ...
    FROM   my_table s ...It works well but it is not very flexible, in the case a new country has to be added.
    Is there a better way to achieve this in Apex 3?
    Thanks
    Luis

    Luis,
    You can chart a variable number of series with a query like the second one you listed, except use "Function returning query" instead of "SQL query". Then generate the column list clause dynamically, one for each series.
    There's an enhancement request logged to make this easier.
    Marco

  • Error when previewing a chart

    I'm using Template Builder 5.6 for Word. After inserting a chart, I am getting the message below when I try to preview the document. The xml document I am using is below. Cart is showing sum of salary by department (Oracle HR schema).
    ------------------ ERROR MESSAGE ----------------------------------
    Font Dir: C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\fonts
    Run XDO Start
    RTFProcessor setLocale: en-us
    FOProcessor setData: C:\xmlpublisher\rep2\Report2.xml
    FOProcessor setLocale: en-us
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:586)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:383)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:201)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:161)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1015)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:968)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:209)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1561)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:951)
         at RTF2PDF.runRTFto(RTF2PDF.java:626)
         at RTF2PDF.runXDO(RTF2PDF.java:460)
         at RTF2PDF.main(RTF2PDF.java:251)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
         at oracle.xdo.parser.v2.XSLForEachGroup.processGroups(XSLForEachGroup.java:462)
         at oracle.xdo.parser.v2.XSLForEachGroup.process01(XSLForEachGroup.java:282)
         at oracle.xdo.parser.v2.XSLForEachGroup.process(XSLForEachGroup.java:210)
         at oracle.xdo.parser.v2.XSLForEachGroup.processAction(XSLForEachGroup.java:94)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLVariable.getValue(XSLVariable.java:223)
         at oracle.xdo.parser.v2.XSLVariable.processAction(XSLVariable.java:117)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLTemplate.processAction(XSLTemplate.java:191)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:508)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:485)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:264)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:150)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:187)
         ... 16 more
    ------------------ XML DATA----------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <ROWSET>
    <ROW>
    <FIRST_NAME>Jennifer</FIRST_NAME>
    <LAST_NAME>Whalen</LAST_NAME>
    <HIRE_YEAR>1987</HIRE_YEAR>
    <DEPARTMENT_NAME>Administration</DEPARTMENT_NAME>
    <SALARY>4400</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Michael</FIRST_NAME>
    <LAST_NAME>Hartstein</LAST_NAME>
    <HIRE_YEAR>1996</HIRE_YEAR>
    <DEPARTMENT_NAME>Marketing</DEPARTMENT_NAME>
    <SALARY>13000</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Pat</FIRST_NAME>
    <LAST_NAME>Fay</LAST_NAME>
    <HIRE_YEAR>1997</HIRE_YEAR>
    <DEPARTMENT_NAME>Marketing</DEPARTMENT_NAME>
    <SALARY>6000</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Den</FIRST_NAME>
    <LAST_NAME>Raphaely</LAST_NAME>
    <HIRE_YEAR>1994</HIRE_YEAR>
    <DEPARTMENT_NAME>Purchasing</DEPARTMENT_NAME>
    <SALARY>11000</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Alexander</FIRST_NAME>
    <LAST_NAME>Khoo</LAST_NAME>
    <HIRE_YEAR>1995</HIRE_YEAR>
    <DEPARTMENT_NAME>Purchasing</DEPARTMENT_NAME>
    <SALARY>3100</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Shelly</FIRST_NAME>
    <LAST_NAME>Baida</LAST_NAME>
    <HIRE_YEAR>1997</HIRE_YEAR>
    <DEPARTMENT_NAME>Purchasing</DEPARTMENT_NAME>
    <SALARY>2900</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Karen</FIRST_NAME>
    <LAST_NAME>Colmenares</LAST_NAME>
    <HIRE_YEAR>1999</HIRE_YEAR>
    <DEPARTMENT_NAME>Purchasing</DEPARTMENT_NAME>
    <SALARY>2500</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Guy</FIRST_NAME>
    <LAST_NAME>Himuro</LAST_NAME>
    <HIRE_YEAR>1998</HIRE_YEAR>
    <DEPARTMENT_NAME>Purchasing</DEPARTMENT_NAME>
    <SALARY>2600</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Sigal</FIRST_NAME>
    <LAST_NAME>Tobias</LAST_NAME>
    <HIRE_YEAR>1997</HIRE_YEAR>
    <DEPARTMENT_NAME>Purchasing</DEPARTMENT_NAME>
    <SALARY>2800</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Susan</FIRST_NAME>
    <LAST_NAME>Mavris</LAST_NAME>
    <HIRE_YEAR>1994</HIRE_YEAR>
    <DEPARTMENT_NAME>Human Resources</DEPARTMENT_NAME>
    <SALARY>6500</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Matthew</FIRST_NAME>
    <LAST_NAME>Weiss</LAST_NAME>
    <HIRE_YEAR>1996</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>8000</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Adam</FIRST_NAME>
    <LAST_NAME>Fripp</LAST_NAME>
    <HIRE_YEAR>1997</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>8200</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Shanta</FIRST_NAME>
    <LAST_NAME>Vollman</LAST_NAME>
    <HIRE_YEAR>1997</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>6500</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>TJ</FIRST_NAME>
    <LAST_NAME>Olson</LAST_NAME>
    <HIRE_YEAR>1999</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>2100</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>James</FIRST_NAME>
    <LAST_NAME>Marlow</LAST_NAME>
    <HIRE_YEAR>1997</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>2500</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Mozhe</FIRST_NAME>
    <LAST_NAME>Atkinson</LAST_NAME>
    <HIRE_YEAR>1997</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>2800</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Laura</FIRST_NAME>
    <LAST_NAME>Bissot</LAST_NAME>
    <HIRE_YEAR>1997</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>3300</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Steven</FIRST_NAME>
    <LAST_NAME>Markle</LAST_NAME>
    <HIRE_YEAR>2000</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>2200</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>James</FIRST_NAME>
    <LAST_NAME>Landry</LAST_NAME>
    <HIRE_YEAR>1999</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>2400</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Irene</FIRST_NAME>
    <LAST_NAME>Mikkilineni</LAST_NAME>
    <HIRE_YEAR>1998</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>2700</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Julia</FIRST_NAME>
    <LAST_NAME>Nayer</LAST_NAME>
    <HIRE_YEAR>1997</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>3200</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Kevin</FIRST_NAME>
    <LAST_NAME>Mourgos</LAST_NAME>
    <HIRE_YEAR>1999</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>5800</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Trenna</FIRST_NAME>
    <LAST_NAME>Rajs</LAST_NAME>
    <HIRE_YEAR>1995</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>3500</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Joshua</FIRST_NAME>
    <LAST_NAME>Patel</LAST_NAME>
    <HIRE_YEAR>1998</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>2500</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>John</FIRST_NAME>
    <LAST_NAME>Seo</LAST_NAME>
    <HIRE_YEAR>1998</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>2700</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Stephen</FIRST_NAME>
    <LAST_NAME>Stiles</LAST_NAME>
    <HIRE_YEAR>1997</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>3200</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Renske</FIRST_NAME>
    <LAST_NAME>Ladwig</LAST_NAME>
    <HIRE_YEAR>1995</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>3600</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Hazel</FIRST_NAME>
    <LAST_NAME>Philtanker</LAST_NAME>
    <HIRE_YEAR>2000</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>2200</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Ki</FIRST_NAME>
    <LAST_NAME>Gee</LAST_NAME>
    <HIRE_YEAR>1999</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>2400</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Michael</FIRST_NAME>
    <LAST_NAME>Rogers</LAST_NAME>
    <HIRE_YEAR>1998</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>2900</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Jason</FIRST_NAME>
    <LAST_NAME>Mallin</LAST_NAME>
    <HIRE_YEAR>1996</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>3300</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Douglas</FIRST_NAME>
    <LAST_NAME>Grant</LAST_NAME>
    <HIRE_YEAR>2000</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>2600</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Donald</FIRST_NAME>
    <LAST_NAME>OConnell</LAST_NAME>
    <HIRE_YEAR>1999</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>2600</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Kevin</FIRST_NAME>
    <LAST_NAME>Feeney</LAST_NAME>
    <HIRE_YEAR>1998</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>3000</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Alana</FIRST_NAME>
    <LAST_NAME>Walsh</LAST_NAME>
    <HIRE_YEAR>1998</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>3100</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Vance</FIRST_NAME>
    <LAST_NAME>Jones</LAST_NAME>
    <HIRE_YEAR>1999</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>2800</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Samuel</FIRST_NAME>
    <LAST_NAME>McCain</LAST_NAME>
    <HIRE_YEAR>1998</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>3200</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Britney</FIRST_NAME>
    <LAST_NAME>Everett</LAST_NAME>
    <HIRE_YEAR>1997</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>3900</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Sarah</FIRST_NAME>
    <LAST_NAME>Bell</LAST_NAME>
    <HIRE_YEAR>1996</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>4000</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Randall</FIRST_NAME>
    <LAST_NAME>Perkins</LAST_NAME>
    <HIRE_YEAR>1999</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>2500</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Timothy</FIRST_NAME>
    <LAST_NAME>Gates</LAST_NAME>
    <HIRE_YEAR>1998</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>2900</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Jennifer</FIRST_NAME>
    <LAST_NAME>Dilly</LAST_NAME>
    <HIRE_YEAR>1997</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>3600</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Kelly</FIRST_NAME>
    <LAST_NAME>Chung</LAST_NAME>
    <HIRE_YEAR>1997</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>3800</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Anthony</FIRST_NAME>
    <LAST_NAME>Cabrio</LAST_NAME>
    <HIRE_YEAR>1999</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>3000</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Julia</FIRST_NAME>
    <LAST_NAME>Dellinger</LAST_NAME>
    <HIRE_YEAR>1998</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>3400</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Alexis</FIRST_NAME>
    <LAST_NAME>Bull</LAST_NAME>
    <HIRE_YEAR>1997</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>4100</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Nandita</FIRST_NAME>
    <LAST_NAME>Sarchand</LAST_NAME>
    <HIRE_YEAR>1996</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>4200</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Girard</FIRST_NAME>
    <LAST_NAME>Geoni</LAST_NAME>
    <HIRE_YEAR>2000</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>2800</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Martha</FIRST_NAME>
    <LAST_NAME>Sullivan</LAST_NAME>
    <HIRE_YEAR>1999</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>2500</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Jean</FIRST_NAME>
    <LAST_NAME>Fleaur</LAST_NAME>
    <HIRE_YEAR>1998</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>3100</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Winston</FIRST_NAME>
    <LAST_NAME>Taylor</LAST_NAME>
    <HIRE_YEAR>1998</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>3200</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Peter</FIRST_NAME>
    <LAST_NAME>Vargas</LAST_NAME>
    <HIRE_YEAR>1998</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>2500</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Randall</FIRST_NAME>
    <LAST_NAME>Matos</LAST_NAME>
    <HIRE_YEAR>1998</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>2600</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Curtis</FIRST_NAME>
    <LAST_NAME>Davies</LAST_NAME>
    <HIRE_YEAR>1997</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>3100</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Payam</FIRST_NAME>
    <LAST_NAME>Kaufling</LAST_NAME>
    <HIRE_YEAR>1995</HIRE_YEAR>
    <DEPARTMENT_NAME>Shipping</DEPARTMENT_NAME>
    <SALARY>7900</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Alexander</FIRST_NAME>
    <LAST_NAME>Hunold</LAST_NAME>
    <HIRE_YEAR>1990</HIRE_YEAR>
    <DEPARTMENT_NAME>IT</DEPARTMENT_NAME>
    <SALARY>9000</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Bruce</FIRST_NAME>
    <LAST_NAME>Ernst</LAST_NAME>
    <HIRE_YEAR>1991</HIRE_YEAR>
    <DEPARTMENT_NAME>IT</DEPARTMENT_NAME>
    <SALARY>6000</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Valli</FIRST_NAME>
    <LAST_NAME>Pataballa</LAST_NAME>
    <HIRE_YEAR>1998</HIRE_YEAR>
    <DEPARTMENT_NAME>IT</DEPARTMENT_NAME>
    <SALARY>4800</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>David</FIRST_NAME>
    <LAST_NAME>Austin</LAST_NAME>
    <HIRE_YEAR>1997</HIRE_YEAR>
    <DEPARTMENT_NAME>IT</DEPARTMENT_NAME>
    <SALARY>4800</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Diana</FIRST_NAME>
    <LAST_NAME>Lorentz</LAST_NAME>
    <HIRE_YEAR>1999</HIRE_YEAR>
    <DEPARTMENT_NAME>IT</DEPARTMENT_NAME>
    <SALARY>4200</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Hermann</FIRST_NAME>
    <LAST_NAME>Baer</LAST_NAME>
    <HIRE_YEAR>1994</HIRE_YEAR>
    <DEPARTMENT_NAME>Public Relations</DEPARTMENT_NAME>
    <SALARY>10000</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>John</FIRST_NAME>
    <LAST_NAME>Russell</LAST_NAME>
    <HIRE_YEAR>1996</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>14000</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Alberto</FIRST_NAME>
    <LAST_NAME>Errazuriz</LAST_NAME>
    <HIRE_YEAR>1997</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>12000</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Eleni</FIRST_NAME>
    <LAST_NAME>Zlotkey</LAST_NAME>
    <HIRE_YEAR>2000</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>10500</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>David</FIRST_NAME>
    <LAST_NAME>Bernstein</LAST_NAME>
    <HIRE_YEAR>1997</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>9500</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Christopher</FIRST_NAME>
    <LAST_NAME>Olsen</LAST_NAME>
    <HIRE_YEAR>1998</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>8000</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Oliver</FIRST_NAME>
    <LAST_NAME>Tuvault</LAST_NAME>
    <HIRE_YEAR>1999</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>7000</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Patrick</FIRST_NAME>
    <LAST_NAME>Sully</LAST_NAME>
    <HIRE_YEAR>1996</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>9500</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Charles</FIRST_NAME>
    <LAST_NAME>Johnson</LAST_NAME>
    <HIRE_YEAR>2000</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>6200</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Kimberely</FIRST_NAME>
    <LAST_NAME>Grant</LAST_NAME>
    <HIRE_YEAR>1999</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>7000</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Jack</FIRST_NAME>
    <LAST_NAME>Livingston</LAST_NAME>
    <HIRE_YEAR>1998</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>8400</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Jonathon</FIRST_NAME>
    <LAST_NAME>Taylor</LAST_NAME>
    <HIRE_YEAR>1998</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>8600</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Sundar</FIRST_NAME>
    <LAST_NAME>Ande</LAST_NAME>
    <HIRE_YEAR>2000</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>6400</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>David</FIRST_NAME>
    <LAST_NAME>Lee</LAST_NAME>
    <HIRE_YEAR>2000</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>6800</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Mattea</FIRST_NAME>
    <LAST_NAME>Marvins</LAST_NAME>
    <HIRE_YEAR>2000</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>7200</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Danielle</FIRST_NAME>
    <LAST_NAME>Greene</LAST_NAME>
    <HIRE_YEAR>1999</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>9500</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Clara</FIRST_NAME>
    <LAST_NAME>Vishney</LAST_NAME>
    <HIRE_YEAR>1997</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>10500</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Sarath</FIRST_NAME>
    <LAST_NAME>Sewall</LAST_NAME>
    <HIRE_YEAR>1998</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>7000</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Louise</FIRST_NAME>
    <LAST_NAME>Doran</LAST_NAME>
    <HIRE_YEAR>1997</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>7500</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Lindsey</FIRST_NAME>
    <LAST_NAME>Smith</LAST_NAME>
    <HIRE_YEAR>1997</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>8000</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Allan</FIRST_NAME>
    <LAST_NAME>McEwen</LAST_NAME>
    <HIRE_YEAR>1996</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>9000</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Alyssa</FIRST_NAME>
    <LAST_NAME>Hutton</LAST_NAME>
    <HIRE_YEAR>1997</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>8800</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Ellen</FIRST_NAME>
    <LAST_NAME>Abel</LAST_NAME>
    <HIRE_YEAR>1996</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>11000</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Sundita</FIRST_NAME>
    <LAST_NAME>Kumar</LAST_NAME>
    <HIRE_YEAR>2000</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>6100</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Elizabeth</FIRST_NAME>
    <LAST_NAME>Bates</LAST_NAME>
    <HIRE_YEAR>1999</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>7300</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>William</FIRST_NAME>
    <LAST_NAME>Smith</LAST_NAME>
    <HIRE_YEAR>1999</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>7400</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Tayler</FIRST_NAME>
    <LAST_NAME>Fox</LAST_NAME>
    <HIRE_YEAR>1998</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>9600</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Harrison</FIRST_NAME>
    <LAST_NAME>Bloom</LAST_NAME>
    <HIRE_YEAR>1998</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>10000</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Lisa</FIRST_NAME>
    <LAST_NAME>Ozer</LAST_NAME>
    <HIRE_YEAR>1997</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>11500</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Amit</FIRST_NAME>
    <LAST_NAME>Banda</LAST_NAME>
    <HIRE_YEAR>2000</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>6200</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Janette</FIRST_NAME>
    <LAST_NAME>King</LAST_NAME>
    <HIRE_YEAR>1996</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>10000</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Nanette</FIRST_NAME>
    <LAST_NAME>Cambrault</LAST_NAME>
    <HIRE_YEAR>1998</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>7500</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Peter</FIRST_NAME>
    <LAST_NAME>Hall</LAST_NAME>
    <HIRE_YEAR>1997</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>9000</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Peter</FIRST_NAME>
    <LAST_NAME>Tucker</LAST_NAME>
    <HIRE_YEAR>1997</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>10000</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Gerald</FIRST_NAME>
    <LAST_NAME>Cambrault</LAST_NAME>
    <HIRE_YEAR>1999</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>11000</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Karen</FIRST_NAME>
    <LAST_NAME>Partners</LAST_NAME>
    <HIRE_YEAR>1997</HIRE_YEAR>
    <DEPARTMENT_NAME>Sales</DEPARTMENT_NAME>
    <SALARY>13500</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Steven</FIRST_NAME>
    <LAST_NAME>King</LAST_NAME>
    <HIRE_YEAR>1987</HIRE_YEAR>
    <DEPARTMENT_NAME>Executive</DEPARTMENT_NAME>
    <SALARY>24000</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Neena</FIRST_NAME>
    <LAST_NAME>Kochhar</LAST_NAME>
    <HIRE_YEAR>1989</HIRE_YEAR>
    <DEPARTMENT_NAME>Executive</DEPARTMENT_NAME>
    <SALARY>17000</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Lex</FIRST_NAME>
    <LAST_NAME>De Haan</LAST_NAME>
    <HIRE_YEAR>1993</HIRE_YEAR>
    <DEPARTMENT_NAME>Executive</DEPARTMENT_NAME>
    <SALARY>17000</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Nancy</FIRST_NAME>
    <LAST_NAME>Greenberg</LAST_NAME>
    <HIRE_YEAR>1994</HIRE_YEAR>
    <DEPARTMENT_NAME>Finance</DEPARTMENT_NAME>
    <SALARY>12000</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Daniel</FIRST_NAME>
    <LAST_NAME>Faviet</LAST_NAME>
    <HIRE_YEAR>1994</HIRE_YEAR>
    <DEPARTMENT_NAME>Finance</DEPARTMENT_NAME>
    <SALARY>9000</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>John</FIRST_NAME>
    <LAST_NAME>Chen</LAST_NAME>
    <HIRE_YEAR>1997</HIRE_YEAR>
    <DEPARTMENT_NAME>Finance</DEPARTMENT_NAME>
    <SALARY>8200</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Ismael</FIRST_NAME>
    <LAST_NAME>Sciarra</LAST_NAME>
    <HIRE_YEAR>1997</HIRE_YEAR>
    <DEPARTMENT_NAME>Finance</DEPARTMENT_NAME>
    <SALARY>7700</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Jose Manuel</FIRST_NAME>
    <LAST_NAME>Urman</LAST_NAME>
    <HIRE_YEAR>1998</HIRE_YEAR>
    <DEPARTMENT_NAME>Finance</DEPARTMENT_NAME>
    <SALARY>7800</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Luis</FIRST_NAME>
    <LAST_NAME>Popp</LAST_NAME>
    <HIRE_YEAR>1999</HIRE_YEAR>
    <DEPARTMENT_NAME>Finance</DEPARTMENT_NAME>
    <SALARY>6900</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>Shelley</FIRST_NAME>
    <LAST_NAME>Higgins</LAST_NAME>
    <HIRE_YEAR>1994</HIRE_YEAR>
    <DEPARTMENT_NAME>Accounting</DEPARTMENT_NAME>
    <SALARY>12000</SALARY>
    </ROW>
    <ROW>
    <FIRST_NAME>William</FIRST_NAME>
    <LAST_NAME>Gietz</LAST_NAME>
    <HIRE_YEAR>1994</HIRE_YEAR>
    <DEPARTMENT_NAME>Accounting</DEPARTMENT_NAME>
    <SALARY>8300</SALARY>
    </ROW>
    </ROWSET>
    --------------------------------------------------------------------

    I am trying out XML Publisher too see if we can use it instead of the Report Developer. The report is not really going to be used, I just wanted to see what I would get with a simple sql query (see below) on the HR schema.
    I am not sure what you mean by 'web tab', all I have is the query, xml file, and rtf file.
    Below is the file I get when running Tools -> Export – XSL:FO Style Sheet
    ---------------------------------- Sql query --------------------------------------------
    select
    D.DEPARTMENT_ID,
    D.DEPARTMENT_NAME,
    D.MANAGER_ID,
    D.LOCATION_ID,
    STREET_ADDRESS,
    L.POSTAL_CODE,
    L.CITY,
    E.EMPLOYEE_ID,
    E.FIRST_NAME,
    E.LAST_NAME,
    E.EMAIL,
    E.PHONE_NUMBER,
    E.HIRE_DATE,
    E.JOB_ID,
    E.SALARY,
    E.COMMISSION_PCT,
    E.MANAGER_ID,
    M.FIRST_NAME MAN_FIRST_NAME,
    M.LAST_NAME MAN_LAST_NAME
    from employees e, departments d, locations l, employees m
    where e.department_id = d.department_id
    and d.location_id = l.location_id
    and e.manager_id = m.employee_id;
    ----------- XSL:FO Style Sheet -------------------------------------------
    <?xml version="1.0" encoding="utf-8" ?>
    - <!--
    Generated by Oracle XML Publisher 5.6.2
    -->
    - <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:ora="http://www.oracle.com/XSL/Transform/java/" xmlns:xdofo="http://xmlns.oracle.com/oxp/fo/extensions" xmlns:xdoxslt="http://www.oracle.com/XSL/Transform/java/oracle.apps.xdo.template.rtf.XSLTFunctions" xmlns:xdoxliff="urn:oasis:names:tc:xliff:document:1.1" xmlns:xlink="http://www.w3.org/1999/xlink">
    <xsl:param name="_XDOCALENDAR">GREGORIAN</xsl:param>
    <xsl:param name="_XDOLOCALE">en-US</xsl:param>
    <xsl:param name="_XDOTIMEZONE">GMT</xsl:param>
    <xsl:param name="_XDODFOVERRIDE">;</xsl:param>
    <xsl:param name="_XDOCURMASKS">;</xsl:param>
    <xsl:param name="_XDOCHARTTYPE">image/svg+xml</xsl:param>
    <xsl:param name="_XDOOUTPUTFORMAT">application/pdf</xsl:param>
    <xsl:param name="_XDOSVGFONTEMBED">true</xsl:param>
    <xsl:param name="_XDOCTX">#</xsl:param>
    <xsl:variable name="_XDOXSLTCTX" select="xdoxslt:set_xslt_locale($_XDOCTX, $_XDOLOCALE, $_XDOTIMEZONE, $_XDOCALENDAR, concat($_XDODFOVERRIDE,' ',$_XDOCURMASKS))" />
    <xsl:variable name="_XDOFOPOS" select="''" />
    <xsl:variable name="_XDOFOPOS2" select="number(1)" />
    <xsl:variable name="_XDOFOTOTAL" select="number(1)" />
    <xsl:variable name="_XDOFOOSTOTAL" select="number(0)" />
    - <xsl:template match="/">
    - <fo:root>
    - <xdofo:properties>
    <xdofo:property name="default-tab-width">35.4pt</xdofo:property>
    </xdofo:properties>
    <xsl:call-template name="_XDOATTRIBUTESET" />
    - <fo:layout-master-set>
    - <fo:simple-page-master master-name="master0" margin-left="65.45pt" margin-right="65.45pt" page-height="841.9pt" page-width="595.3pt" margin-top="35.4pt" margin-bottom="35.4pt">
    <fo:region-before region-name="region-header" extent="35.45pt" />
    <fo:region-body region-name="region-body" margin-top="35.45pt" margin-bottom="35.45pt" />
    <fo:region-after region-name="region-footer" extent="35.45pt" display-align="after" />
    </fo:simple-page-master>
    </fo:layout-master-set>
    - <fo:page-sequence master-reference="master0">
    <fo:title>Department Name</fo:title>
    <xsl:variable name="_PW" select="number(595.3)" xdofo:alt="internal" />
    <xsl:variable name="_PH" select="number(841.9)" xdofo:alt="internal" />
    <xsl:variable name="_ML" select="number(70.85)" xdofo:alt="internal" />
    <xsl:variable name="_MR" select="number(70.85)" xdofo:alt="internal" />
    <xsl:variable name="_MT" select="number(70.85)" xdofo:alt="internal" />
    <xsl:variable name="_MB" select="number(70.85)" xdofo:alt="internal" />
    <xsl:variable name="_HY" select="number(35.399998)" xdofo:alt="internal" />
    <xsl:variable name="_FY" select="number(35.399998)" xdofo:alt="internal" />
    <xsl:variable name="_SECTION_NAME" select="string('master0')" xdofo:alt="internal" />
    - <fo:static-content flow-name="region-header">
    - <fo:block xdofo:tab-stops="center:226.8pt:space right:453.6pt:space" xdofo:use-attribute-sets="b_3 b_19 b_0">
    <fo:instream-foreign-object content-type="image/png" width="141.0pt" height="34.5pt" xdofo:alt="An Image" xdofo:image-uid="9fb22884e3851ba64e82050e61fd6b9d">iVBORw0KGgoAAAANSUhEUgAAALwAAAAuCAMAAAClOYPRAAABgFBMVEUAOovs6utc msN2dHXFxcUfY6ShnZxGfbWNsdWlxd7O5PGOs9AAT5b4/v7D1ucwea62sbWIhocQ VJ0ASpVvnMbe3t5Zi77l5eW9xcUua6zv9/kASpyBf4DW1taZmZmXvNd7rM3m7/gQ YaNJi7utra0GUp29vb0paadCerW40+be5+7x+P4AOpKSkJFsncXP3+7MzMxjkr6w zd0QU6EwdLGzzuFmmcxSjLz///8qc6p7e3uEsNPz9fIjaqg7fLTh7PI4da4HWpwA U5xzpM2dvt3Y5fXG2+6+1eWYt9aMjIxMhbwZY6RblcX3+P1ChLYAQY+uyN8QW56E hISlpaXm9Pcxc68aXqVSkL9upMq2z+XX5e4AQ5Tt8fqDq85ilcQrbK4ba6oFSpcG SptlnMW/2Oze6PTE3OZ6ps1ak748grawzuaAfn+1tbWMtdUha6yfxN9Lg7Z4pMcg ZaoSWqYKWqGZmZkxfLVol8U5dbPg7fWFs9Xm3ubv7++UjIz39/f///8ZWPsOAAAA gHRSTlP///////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// ////////////////////////////////////////////////ADgFS2cAAAABYktH RACIBR1IAAAABGdJRmcBAAAUPuq3VQAAAAxjbVBQSkNtcDA3MTIAAAADSABzvAAA CUVJREFUaEPtWY9X08gWpliKrYSlhJhDmwSBNJSF2PqEx9iWipUfG7AEEsoCg2KB QjVFEHue4snJ3/7uTNJfAgV9z931HL6jZDJzZ+ab7965M4EO9Auj4xfmju7I/13e u1P+TvkfUOBy2JTe/ebiP4VHZMBD7xUe8z8wwc/scpn8yeTkJOvifBimflx7Yzuy Z9J5fvHvkztJCdivW4mEZoYwy75b1s4cn3j/9Te9TIJ5pxuOcSxgcIBcED+4Bc MASoW0VqrPKeNxjGq4k03HPJUfWKWq9La4vUhmlqcXu5XerTkBePPNMdW29CzJP+ bR49xDlX+U/VhsHTkQU64HS5u7t7Joh2j+G5BaMnXp7NxTvfQ1Pk63I8vvxmEYoX x6SYWCjHs3FihMbL2S8z6UcldHI2QzD6qrab0oPxQ5fqIxgxSMYZiMfjwaXyaja7 FZk/Iy/1ddWUf92BmxH18D4/4sU/y+oNg445OsDFJu11xpQ2dV0vbDDpGDx1PfqG YYLUvOM1mP1BrCZfP5iER7GE0KN9aqVn82f1WT9TxRMsxutUl4UesC5+RaiUm2T1 1VVquDRIu10inygMunhGUBhx1cYH46xbij0rNGHWU2p6EJYWG0cojXE6gu5jHJ2b gyrciSLz/VB4OQEzbSyTzR85wTh72ssw/8IsW02nVzDe3pgCkV4OxaLR/gT1JOm7 Stcx/ZRMuwUq9OOp54ub0HKQL2D2YM11elPYgCvTJ00Y9fSefVdLPC3NQ7XgXcPR aPEEobPJOYbZibHs3u7En1AXfY/yY/CEdQHWgNLD0Ahe3iVvf8KGWtlFF3PFafQY yqf5LlCAkof1QV83Llbpvis76FwH90H04umTIpmrgXq2mQc9GvCyzTePevtyfXfu Qd0gc7SPT0F+vQe/QWjnKXBdRpFBXCxu05kOgdHKBzZGNgBCy4RVVzkYAi88gfL8 zjrLlqkcZ3gd3L1KyweUPF4eP8fA+LGeyxWq+pdm7o1b5cRIU0xDfOU8uPxd2vWg b+yZr2SK9ExHAeJjFNRZZRiGsJvdZb6AipBrAUeeCK/o27xOWeExcMsMmJ6fR6NV GguL+3sheAG3AV4SJwD6Y/g+vNFOPdW1K5Wv7Xy6/WdmstEW1ce8au9BItnF8CY1 xENQfodz7Ajk0NfAaLPEzMHsrvKLnhD4JX19Q4Mjiqs71AsxCPnoLAmwgY4t9AAU eEcc+xHHvkAcEktC3lWTfeomIxeNQ2p34BWg08W/R3PFnJcjCbmpA4DX1tlJ49PD a0pkjyyHOhqkIUfDbCRPlCfkL1Av5Up8R9Y4lBg6dx25hbrB5tHiB0hlsxFUqrKz 8T1iS/Q91td3T2OEM34A6/KOStzVNHmDfL5bb4761vhvbsEvnjeRL0HAsixEPELb pLQKcQGPMpoA5XtAz0R/cLFYLI4cwFZg99fQcH+BQWurxF2dKAuchsAVPT25BbQF 69MpCSL9gL4+gd6vw+pIzH/GPcVVkgrwHN313ygPc5MsWo/rlrhpOQTg3G1CJ2zT PXrg5uNEnsfBKZZ9uoMmBmGqr2h4piM9TTYBCsIxzX7aZj7ooyG0lAOOa+gtsEnD ZonirvzzTbYzeHo6Aw0k+77DJAMdwe2ExDzkHv0jQ7ZIT5bcuL4lj9IkNh7X8KKJ /ehAvRoKOy3kj4pFIg3BzhjVTdf7p1E+TXZ57MMIxvd/I7UD6BhiHeMHWx24fwUO AX2GuU8aVuKwEJw+nMP4CeSZUVLXFTwGnlMXcFqN6foQ+mMfgik2nn8GE+ibtci5 /ksK5KhhpbFBW3i7L6/wVO2mc/F5E/psPoTRS12x6gtATO9e+0QGOoNkXQUMbJS7 INf0zB5HUBznqlXYlbnBr6gM3u0fR0fkbGPZ9Ef4Mfg7DF/K7h+hz2SE2AlKjME1 ZrP3CuVbiQW9LQKxWb6CcqNqonej8TLcO70ENwDA8wWK0PYwujg8PAwRARZKpRKI e5HY3l4kzt+Aix6YhEIQx5HQ0iEojUq9vUu9kDkTS0dudEdCDDMROlw6WoBb2S6M cGXYtFLccFMCQUtybbuQv7axzQc4yQEUK/Wl/iA3O+n8YE/STeSu69yGfLBYdIP+ qjxB0yz4ruRWN89P2URUBCyTfn7VsKl1Mw1M7Qhv7vi3ShpEr8SsqVpgnnF90Or tWhS8fz3TIR461ouV8RkZXrJmj3e5uyGzdvr4+avpTf1lRQ0uY4Io8tco7js22O eMPH+WwfVTnjPvyWDCaGlEEZjrOhaDt8hnTNI4cToQLKvgwPtj4OftLOti/js6kl WIEZn/E1/NCOPNxkCeCieB36LLMSriCkaJYlcSipamGO0yRV0ESUDKc0NSySroqR pOQNSVEqmuTwkqaqIgpoppXkVMvg7YCmaknEqSlNMkSnEk4ZAR9ZK69Jomo6MlQb fcgXEARJAwU8tCO/sUKld+/kV6LP0AzNtDlBU2QrkAmk/BziDM1fSckZzahUDMEl n6Ix7wdrw1ADGRPsVC1jGqqclMIVv10hFQYvCbKiGmJSkBQzFbBVw6ekFN4IOKYl zWDV1IBRUrdjrx70zqvf2tf5t8HY8N/mAIhyfD5DSPAc4KJOEsWLQhw2XLJW67y lsnzYljiVUMCcKYBS7UC0KJqgUBA8msSsRVhKcjWwrZfkFU1w4cJeQ4FBA7kaFv pTx6Dxcq8nnRJmwUu8+q+EFoTgv7HK4vJVPygswZks8necpbrvJkXh/US2HOhiAP hHnwk8o7jlshappom5aopPoyoqHZjiQIfkTIy4S8wZmW31GEW5KPzN5wQsmpsJHS REeywoKgOCCnkORSAcSlTCSnDENwyVfcVOlmGyHs+AXJDMtOQOCJc8IqLxpQYTqK BdkrLPKqFQ6HoUuSZEnekhzznoikFJhBAwx9m5innw1jbaIGiYqi+IGBrciyyDB+ 00wyPiUJ70mUUWR/UqGHAFehqZKvQPRkFL+DRNlUMkxSgcThJGXZRlyfqdjIERWx L5VEPjIcXS78hLHA0kbkPydXwOSW5OGGvtUmav7PTY5sJnnJADFuifa/n4+ssLUb 3C3H+5/MILumyN6/LW7448LnkRuPz9vOdBs7n5i89iJzRf8byE+7n8z/UNxA/tpf iP4jlnP3N6m/yw13yt8p/wMK/NJh819o7jeVUp/XDQAAAABJRU5ErkJggg==</fo:instream-foreign-object>
    </fo:block>
    </fo:static-content>
    - <fo:static-content flow-name="region-footer">
    - <fo:block xdofo:tab-stops="center:226.8pt:space right:453.6pt:space" xdofo:use-attribute-sets="b_3 b_19 b_0 b_1">
    - <fo:inline xml:space="preserve" xdofo:use-attribute-sets="i_0">
    Stranica
    <fo:page-number />
    od
    <fo:page-number-citation ref-id="xdofo:lastpage-joinseq" />
    </fo:inline>
    <xdofo:tab font-size="10.0pt" font-family="Times New Roman" />
    - <fo:inline xdofo:use-attribute-sets="i_0">
    <xsl:value-of select="xdoxslt:sysdate("d.M.yyyy",2)" xdofo:field-name="xdoxslt:sysdate("d.M.yyyy", 2)" />
    </fo:inline>
    </fo:block>
    </fo:static-content>
    - <fo:flow flow-name="region-body">
    - <fo:block xdofo:use-attribute-sets="b_2">
    - <fo:table start-indent="0.0pt" xdofo:table-summary="Template Table 3" xdofo:row-header-count="0">
    <xsl:variable name="_XDOFOPOS2" select="number(1)" />
    <xsl:variable name="_XDOFOTOTAL" select="number(1)" />
    <fo:table-column column-width="132.8pt" />
    <fo:table-column column-width="415.4pt" />
    - <fo:table-header>
    - <fo:table-row>
    - <fo:table-cell xdofo:use-attribute-sets="c_2 c_0">
    - <fo:block xdofo:use-attribute-sets="b_3">
    <fo:inline xdofo:use-attribute-sets="i_8 i_5">Department Name</fo:inline>
    </fo:block>
    </fo:table-cell>
    - <fo:table-cell xdofo:use-attribute-sets="c_2 c_0">
    - <fo:block xdofo:use-attribute-sets="b_3">
    <fo:inline xdofo:use-attribute-sets="i_8 i_5">Department Name</fo:inline>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </fo:table-header>
    - <fo:table-body>
    <xsl:variable name="_XDOFOOSTOTAL" select="(number(concat('0', $_XDOFOPOS2)) - 1) * number(concat('0', $_XDOFOTOTAL))" />
    <xsl:variable name="_XDOFOTOTAL" select="count(.//ROW)" />
    - <xsl:for-each-group select=".//ROW" group-by="./DEPARTMENT_NAME" xdofo:ctx="3">
    <xsl:sort select=".//DEPARTMENT_NAME" order="ascending" data-type="text" />
    <xsl:variable name="_XDOFOPOS" select="concat($_XDOFOPOS, '_', position())" />
    <xsl:variable name="_XDOFOPOS2" select="number(concat('0', $_XDOFOOSTOTAL)) + position()" />
    - <fo:table-row xdofo:repeat="R">
    - <fo:table-cell xdofo:use-attribute-sets="c_2">
    - <fo:block xdofo:xliff-note="G, DEPARTMENT_NAME" xdofo:use-attribute-sets="b_3 b_5">
    <fo:inline xml:space="preserve" xdofo:use-attribute-sets="i_8 i_7"></fo:inline>
    - <fo:inline xdofo:use-attribute-sets="i_8">
    <xsl:value-of select=".//DEPARTMENT_NAME" xdofo:field-name="DEPARTMENT_NAME" />
    </fo:inline>
    </fo:block>
    </fo:table-cell>
    - <fo:table-cell xdofo:use-attribute-sets="c_2">
    - <fo:block xdofo:use-attribute-sets="b_2">
    - <fo:table start-indent="0.25pt" xdofo:table-summary="Template Table 2" xdofo:row-header-count="0">
    <xsl:variable name="_XDOFOPOS2" select="number(1)" />
    <xsl:variable name="_XDOFOTOTAL" select="number(1)" />
    <fo:table-column column-width="110.3pt" />
    <fo:table-column column-width="237.15pt" />
    - <fo:table-header>
    - <fo:table-row>
    - <fo:table-cell xdofo:use-attribute-sets="c_2 c_0">
    - <fo:block xdofo:use-attribute-sets="b_3">
    <fo:inline xdofo:use-attribute-sets="i_8 i_5">Hire Year</fo:inline>
    </fo:block>
    </fo:table-cell>
    - <fo:table-cell xdofo:use-attribute-sets="c_2 c_0">
    - <fo:block xdofo:use-attribute-sets="b_3">
    <fo:inline xdofo:use-attribute-sets="i_8 i_5">Hire Year</fo:inline>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </fo:table-header>
    - <fo:table-body>
    <xsl:variable name="_XDOFOOSTOTAL" select="(number(concat('0', $_XDOFOPOS2)) - 1) * number(concat('0', $_XDOFOTOTAL))" />
    <xsl:variable name="_XDOFOTOTAL" select="count(current-group())" />
    - <xsl:for-each-group select="current-group()" group-by="./HIRE_YEAR" xdofo:ctx="3">
    <xsl:variable name="_XDOFOPOS" select="concat($_XDOFOPOS, '_', position())" />
    <xsl:variable name="_XDOFOPOS2" select="number(concat('0', $_XDOFOOSTOTAL)) + position()" />
    - <fo:table-row xdofo:repeat="R">
    - <fo:table-cell xdofo:use-attribute-sets="c_2">
    - <fo:block xdofo:xliff-note="G, HIRE_YEAR" xdofo:use-attribute-sets="b_3 b_5">
    <fo:inline xml:space="preserve" xdofo:use-attribute-sets="i_8 i_11"></fo:inline>
    - <fo:inline xdofo:use-attribute-sets="i_8">
    <xsl:value-of select=".//HIRE_YEAR" xdofo:field-name="HIRE_YEAR" />
    </fo:inline>
    </fo:block>
    </fo:table-cell>
    - <fo:table-cell xdofo:use-attribute-sets="c_2">
    - <fo:block xdofo:use-attribute-sets="b_2">
    - <fo:table start-indent="0.25pt" xdofo:table-summary="Template Table 1" xdofo:row-header-count="0">
    <xsl:variable name="_XDOFOPOS2" select="number(1)" />
    <xsl:variable name="_XDOFOTOTAL" select="number(1)" />
    <fo:table-column column-width="84.85pt" />
    <fo:table-column column-width="82.15pt" />
    <fo:table-column column-width="58.85pt" />
    - <fo:table-header>
    - <fo:table-row>
    - <fo:table-cell xdofo:use-attribute-sets="c_2 c_0">
    - <fo:block xdofo:use-attribute-sets="b_3">
    <fo:inline xdofo:use-attribute-sets="i_8 i_5">First Name</fo:inline>
    </fo:block>
    </fo:table-cell>
    - <fo:table-cell xdofo:use-attribute-sets="c_2 c_0">
    - <fo:block xdofo:use-attribute-sets="b_3">
    <fo:inline xdofo:use-attribute-sets="i_8 i_5">Last Name</fo:inline>
    </fo:block>
    </fo:table-cell>
    - <fo:table-cell xdofo:use-attribute-sets="c_2 c_0">
    - <fo:block xdofo:use-attribute-sets="b_3">
    <fo:inline xdofo:use-attribute-sets="i_8 i_5">Salary</fo:inline>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </fo:table-header>
    - <fo:table-body>
    <xsl:variable name="_XDOFOOSTOTAL" select="(number(concat('0', $_XDOFOPOS2)) - 1) * number(concat('0', $_XDOFOTOTAL))" />
    <xsl:variable name="_XDOFOTOTAL" select="count(current-group())" />
    - <xsl:for-each select="current-group()" xdofo:ctx="3">
    <xsl:variable name="_XDOFOPOS" select="concat($_XDOFOPOS, '_', position())" />
    <xsl:variable name="_XDOFOPOS2" select="number(concat('0', $_XDOFOOSTOTAL)) + position()" />
    - <fo:table-row xdofo:repeat="R">
    - <fo:table-cell xdofo:use-attribute-sets="c_2">
    - <fo:block xdofo:xliff-note="F, FIRST_NAME" xdofo:use-attribute-sets="b_3 b_5">
    <fo:inline xml:space="preserve" xdofo:use-attribute-sets="i_8 i_16"></fo:inline>
    - <fo:inline xdofo:use-attribute-sets="i_8">
    <xsl:value-of select=".//FIRST_NAME" xdofo:field-name="FIRST_NAME" />
    </fo:inline>
    </fo:block>
    </fo:table-cell>
    - <fo:table-cell xdofo:use-attribute-sets="c_2">
    - <fo:block xdofo:xliff-note="LAST_NAME" xdofo:use-attribute-sets="b_3 b_19 b_0 b_15">
    - <fo:inline xdofo:use-attribute-sets="i_8">
    <xsl:value-of select=".//LAST_NAME" xdofo:field-name="LAST_NAME" />
    </fo:inline>
    </fo:block>
    </fo:table-cell>
    - <fo:table-cell xdofo:use-attribute-sets="c_2">
    - <fo:block xdofo:xliff-note="sum SALARY, E" xdofo:use-attribute-sets="b_3 b_5">
    - <fo:inline xdofo:use-attribute-sets="i_8" xml:space="preserve">
    <xsl:value-of select="sum (.//SALARY)" xdofo:field-name="sum (SALARY)" />
    </fo:inline>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </xsl:for-each>
    </fo:table-body>
    </fo:table>
    </fo:block>
    - <fo:block xdofo:xliff-note="E" xdofo:use-attribute-sets="b_3 b_5">
    <fo:inline xml:space="preserve" xdofo:use-attribute-sets="i_8"></fo:inline>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </xsl:for-each-group>
    </fo:table-body>
    </fo:table>
    </fo:block>
    - <fo:block xdofo:xliff-note="E" xdofo:use-attribute-sets="b_3 b_5">
    <fo:inline xml:space="preserve" xdofo:use-attribute-sets="i_8"></fo:inline>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </xsl:for-each-group>
    </fo:table-body>
    </fo:table>
    </fo:block>
    <fo:block xdofo:use-attribute-sets="b_3 b_19" />
    <fo:block xdofo:use-attribute-sets="b_3 b_19" />
    <fo:block xdofo:use-attribute-sets="b_3 b_19" />
    - <fo:block xdofo:use-attribute-sets="b_3 b_19 b_0">
    - <fo:instream-foreign-object content-type="{$_XDOCHARTTYPE}" width="342pt" height="257pt" xdofo:alt="A chart">
    - <xsl:variable name="_XDOCHARTXML">
    - <Graph>
    <Title text="" visible="true" horizontalAlignment="CENTER" />
    - <LocalGridData colCount="{count(xdoxslt:group(.//ROWSET, 'ROW/DEPARTMENT_NAME'))}" rowCount="1">
    - <RowLabels>
    <Label />
    </RowLabels>
    - <ColLabels>
    - <xsl:for-each-group select=".//ROWSET" group-by="ROW/DEPARTMENT_NAME">
    <xsl:sort select="ROW/DEPARTMENT_NAME" />
    - <Label>
    <xsl:value-of select="current-group()/ROW/DEPARTMENT_NAME" />
    </Label>
    </xsl:for-each-group>
    </ColLabels>
    - <DataValues>
    - <RowData>
    - <xsl:for-each-group select=".//ROWSET" group-by="ROW/DEPARTMENT_NAME">
    <xsl:sort select="ROW/DEPARTMENT_NAME" />
    - <Cell>
    <xsl:value-of select="sum(current-group()/ROW/SALARY)" />
    </Cell>
    </xsl:for-each-group>
    </RowData>
    </DataValues>
    </LocalGridData>
    </Graph>
    </xsl:variable>
    <xsl:value-of select="xdoxslt:chart_svg($_XDOCTX,$_XDOCHARTXML,342,257,0,$_XDOCHARTTYPE,$_XDOOUTPUTFORMAT)" />
    </fo:instream-foreign-object>
    <fo:inline id="{concat('page-total-', $_SECTION_NAME, $_XDOFOPOS)}" />
    <fo:inline id="{concat('page-total', $_XDOFOPOS)}" />
    </fo:block>
    </fo:flow>
    </fo:page-sequence>
    </fo:root>
    </xsl:template>
    - <xsl:template name="_XDOATTRIBUTESET">
    - <xdofo:attribute-set name="b_2">
    <xdofo:attribute name="padding-bottom">0.25pt</xdofo:attribute>
    <xdofo:attribute name="padding-top">0.25pt</xdofo:attribute>
    </xdofo:attribute-set>
    - <xdofo:attribute-set name="b_3">
    <xdofo:attribute name="orphans">2</xdofo:attribute>
    <xdofo:attribute name="widows">2</xdofo:attribute>
    <xdofo:attribute name="linefeed-treatment">preserve</xdofo:attribute>
    <xdofo:attribute name="start-indent">0.0pt</xdofo:attribute>
    <xdofo:attribute name="text-align">center</xdofo:attribute>
    <xdofo:attribute name="padding-bottom">0.0pt</xdofo:attribute>
    <xdofo:attribute name="end-indent">0.0pt</xdofo:attribute>
    <xdofo:attribute name="padding-top">0.0pt</xdofo:attribute>
    </xdofo:attribute-set>
    - <xdofo:attribute-set name="b_5">
    <xdofo:attribute name="height">0pt</xdofo:attribute>
    </xdofo:attribute-set>
    - <xdofo:attribute-set name="b_19">
    <xdofo:attribute name="height">13.392pt</xdofo:attribute>
    <xdofo:attribute name="end-indent">5.4pt</xdofo:attribute>
    <xdofo:attribute name="start-indent">5.4pt</xdofo:attribute>
    <xdofo:attribute name="text-align">start</xdofo:attribute>
    </xdofo:attribute-set>
    - <xdofo:attribute-set name="b_0">
    <xdofo:attribute name="height">0.0pt</xdofo:attribute>
    </xdofo:attribute-set>
    - <xdofo:attribute-set name="b_1">
    <xdofo:attribute name="text-align">right</xdofo:attribute>
    </xdofo:attribute-set>
    - <xdofo:attribute-set name="b_15">
    <xdofo:attribute name="text-align">center</xdofo:attribute>
    <xdofo:attribute name="start-indent">0.0pt</xdofo:attribute>
    <xdofo:attribute name="end-indent">0.0pt</xdofo:attribute>
    </xdofo:attribute-set>
    - <xdofo:attribute-set name="i_8">
    <xdofo:attribute name="height">12.0pt</xdofo:attribute>
    <xdofo:attribute name="font-family">Times New Roman</xdofo:attribute>
    <xdofo:attribute name="white-space-collapse">false</xdofo:attribute>
    <xdofo:attribute name="font-size">12.0pt</xdofo:attribute>
    </xdofo:attribute-set>
    - <xdofo:attribute-set name="i_0">
    <xdofo:attribute name="font-size">10.0pt</xdofo:attribute>
    <xdofo:attribute name="white-space-collapse">false</xdofo:attribute>
    <xdofo:attribute name="height">11.160001pt</xdofo:attribute>
    <xdofo:attribute name="font-family">Times New Roman</xdofo:attribute>
    </xdofo:attribute-set>
    - <xdofo:attribute-set name="i_5">
    <xdofo:attribute name="font-weight">bold</xdofo:attribute>
    </xdofo:attribute-set>
    - <xdofo:attribute-set name="i_11">
    <xdofo:attribute name="color">#003300</xdofo:attribute>
    </xdofo:attribute-set>
    - <xdofo:attribute-set name="i_16">
    <xdofo:attribute name="color">#800000</xdofo:attribute>
    </xdofo:attribute-set>
    - <xdofo:attribute-set name="i_7">
    <xdofo:attribute name="color">#000080</xdofo:attribute>
    </xdofo:attribute-set>
    - <xdofo:attribute-set name="c_2">
    <xdofo:attribute name="padding-start">5.15pt</xdofo:attribute>
    <xdofo:attribute name="vertical-align">top</xdofo:attribute>
    <xdofo:attribute name="border-bottom">0.5pt solid #000000</xdofo:attribute>
    <xdofo:attribute name="border-end-color">#000000</xdofo:attribute>
    <xdofo:attribute name="padding-top">0.0pt</xdofo:attribute>
    <xdofo:attribute name="border-end-style">solid</xdofo:attribute>
    <xdofo:attribute name="border-start-color">#000000</xdofo:attribute>
    <xdofo:attribute name="padding-end">5.15pt</xdofo:attribute>
    <xdofo:attribute name="number-columns-spanned">1</xdofo:attribute>
    <xdofo:attribute name="border-top">0.5pt solid #000000</xdofo:attribute>
    <xdofo:attribute name="border-start-style">solid</xdofo:attribute>
    <xdofo:attribute name="height">0.0pt</xdofo:attribute>
    <xdofo:attribute name="border-end-width">0.5pt</xdofo:attribute>
    <xdofo:attribute name="padding-bottom">0.0pt</xdofo:attribute>
    <xdofo:attribute name="border-start-width">0.5pt</xdofo:attribute>
    </xdofo:attribute-set>
    - <xdofo:attribute-set name="c_0">
    <xdofo:attribute name="background-color">#e7f3fd</xdofo:attribute>
    </xdofo:attribute-set>
    </xsl:template>
    </xsl:stylesheet>
    --------------------------------------------------------------------------------------

  • Saving chart images when visible property is false

    I've got an application where I chart several variables while the test is running.  In the process, I turn the chart visible properties to false so I can display a large summary x-y graph.  I want to save all the charts and the summary graph as jpgs, but not until later when I pass the references to the charts/graph (and gads of other stuff) to a handy data reduction subVI.  Using this sequence of events, the currently non-visible charts are all saved blank.  As always an example is easier to demonstrate what's going on than words, attached is a micro-version of what I want to do with these plots.  Is there any decent way to get these saved without a massive overhaul? 
    Thanks, Jesse
    Attachments:
    misc tinker 2.vi ‏105 KB

    I am new to this forum but used labview way back to 4.1 version. Anyway here is a modified version of your code, it seemed to work except there is a split second of switching back and forth of the first two plots but it is fairly fast enough though.
    Attachments:
    serialplotcapture.vi ‏122 KB

  • Charting sales figures

    [I am new to charts and stuff so please be gentle]
    Say I have a table like
    create table sales
    store_name varchar2(50),
    the_date date,
    total_sales number
    )';How would I go about charting this in HTML DB? I would like to search and select N stores from a list and chart their sales over all the available dates. What type of chart is most suitable to show this kind of information?
    Thanks for any help or pointers.

    I would like the chart to show the sales figures for the selected stores by date to see how they are doing over time.
    I suppose a line chart would best show the "trend" but from what I read, line charts have a SQL query per "series" (store in my case) that is burned into the chart at design time. Then how would I be able to chart a variable number of stores?
    In any case, I tried creating my first (line) chart at
    http://htmldb.oracle.com/pls/otn/f?p=24317:153
    The chart is at
    http://tinypic.com/et7ghj.jpg
    and I dont understand why the dots are not connected. Here are the chart details
    http://tinypic.com/et7g21.jpg
    http://tinypic.com/et7g4y.jpg
    Thanks

  • Using servlet to generate xml

    Hi,
    I'm not sure if this is the correct forum to post this but hopefully someone can point me in the correct direction or answer my question.
    I am using swfchart 5.08.  I'm new to this but have read the documentation and had an older version which didn't use the AC_FL_Content but was able to use a servlet to generate the XML. I recently downloaded the latest version into a new directory and was trying to see if I could get it to work. It doesn't appear to call my servlet.
    In my directory structure I have:
    public_html
    has the charts_library directory, resources directory, and the AC_RunActiveContent.js, charts.swf, charts.txt, and sample.html files. I have a procurement.jsp file which is used to run the flash player.
    WEB-INF/classes
       has the class file for XMLGen
    WEB-INF/src/com/sbec/swfchart508
       has the source XMLGen.java file
    I created sample3.jsp as a copy of the new sample.html. I moved over my code from the previous version (mostly just setting up a string called "query1" containing the chart and chart data variable data).
    I changed the line from the sample.html
    Code:
    'FlashVars', 'library_path=charts_library&xml_source=sample.xml',
    to
    Code:
    'FlashVars', 'library_path=charts_library&xml_source=XMLGen<%=query1%>',
    I have tried to put the full path to XMLGen (i.e. com.sbec.swfchart508.XMLGen) and it still didn't work.
    It doesn't seem to call my servlet. None of the System.out.println statements appear.  It brings up the page and says: Loading XMLGen? followed by the items in my "query1" string. I use the alert messages to see that the query1 string is correct..
    Can anyone tell me why it isn't calling my servlet?
    Thanks in advance,
    Elly

    Hi,
    I'm running into the same problem deploying the classes generated by the class generator. Code works fine from JDeveloper, but had to put my DTD in the directory where my classes are. Deploying the classes with Apache's JServ gives me a NullPointer exception on the first addNode method. I guess it can't find the DTD. I tried to put the DTD in many locations but this didn't fix the problem. Any suggestions?
    Steve,
    Did you fix this problem? Thanx!
    null

  • Graph to be displayed in Excel Sheet

    Hi,
    The requirement is : We need to display a Line-Graph in the Excel Sheet.
    I referred the [sdn |Excel Charts in ABAP;:
    But, the Demo Programs SAPRDEMOEXCELINTEGRATION & SAPRDEMOEXCELINTEGRATION2 display a Default Graph and not with our Values.
    Can anyone suggest me how to achieve this? Custom Graph (for example from our own Internal Table Values) to be displayed in Excel Sheet.
    Thanks in advance.
    Thanks & Regards,
    Sowmya

    Hi,
    Can you please try using the following code
    CREATE OBJECT h_excel 'EXCEL.APPLICATION'.
    *Sheet1
    CALL METHOD OF h_excel 'Workbooks' = h_mapl.
    SET PROPERTY OF h_excel 'Visible' = 1.
    CALL METHOD OF h_mapl 'Add' = h_map.
    gets the current worksheet
    GET PROPERTY OF h_excel 'activesheet' = worksheet.
    sets the name of the worksheet
    SET PROPERTY OF worksheet 'Name' = 'sheetnew'.
    pass data to sheet
    CALL METHOD OF worksheet 'Cells' = gs_cell1
    EXPORTING
    #1 = 1 " starting row of selection
    #2 = 1. " starting column of selection
    CALL METHOD OF worksheet 'Cells' = gs_cell2
    EXPORTING
    #1 = 1 " ending row of selection
    #2 = 1. " ending column of selection
    CALL METHOD OF worksheet 'Range' = range
    EXPORTING
    #1 = gs_cell1
    #2 = gs_cell2.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>CLIPBOARD_EXPORT
    IMPORTING
    DATA = GT_OUTPUT[]
    CHANGING
    RC = L_RC.
    CALL METHOD OF RANGE 'Select'.
    CALL METHOD OF WORKSHEET 'Paste'.
    create a chart sheet
    CALL METHOD OF h_excel 'charts' = h_chart.
    add a chart of variable h_chart1
    opens the initially created sheet
    CALL METHOD OF worksheet 'Select'.
    CALL METHOD OF h_excel 'Cells' = gs_cell1
    EXPORTING
    #1 = 1 " starting row of selection
    #2 = 1. " starting column of selection
    CALL METHOD OF h_excel 'Cells' = gs_cell2
    EXPORTING
    #1 = 4 " ending row of selection
    #2 = 2. " ending column of selection
    combine cells to form the range
    CALL METHOD OF h_excel 'Range' = range
    EXPORTING
    #1 = gs_cell1
    #2 = gs_cell2.
    sets the chart type
    CALL METHOD OF h_excel 'charts' = h_chart2.
    call method of h_chart2 'add' = h_chart3.
    SET PROPERTY OF h_chart3 'charttype' = '69'.
    title for chart
    SET PROPERTY OF h_chart3 'HasTitle' = 1.
    GET PROPERTY OF h_chart3 'ChartTitle' = ch_title.
    GET PROPERTY OF ch_title 'Characters' = ch_title.
    SET PROPERTY OF ch_title 'text' = 'inventory comparison'.
    CALL METHOD OF h_chart3 'SetSourceData'
    EXPORTING #1 = range " range to be passed to the chart
    #2 = 2. " selcts row/column
    CALL METHOD OF h_chart3 'ApplyDataLabels'
    exporting
    #1 = '5'.
    selects worksheet
    CALL METHOD OF worksheet 'Select'.
    CALL METHOD OF h_excel 'Cells' = gs_cell1
    EXPORTING
    #1 = 1 " starting row of selection
    #2 = 1. " starting column of selection
    CALL METHOD OF h_excel 'Cells' = gs_cell2
    EXPORTING
    #1 = 1 " ending row of selection
    #2 = 2. " ending column of selection
    CALL METHOD OF h_excel 'Range' = range
    EXPORTING
    #1 = gs_cell1
    #2 = gs_cell2.
    sets the bold for the header
    GET PROPERTY OF range 'Font' = GS_FONT .
    SET PROPERTY OF GS_FONT 'Bold' = 1 .
    free object h_excelor
    or
    CALL FUNCTION 'GRAPH_MATRIX_3D'

  • Crystal Xcelsius - Design suggestion

    <p>  from OLA:
    I need some hints how to design a chart in a clever way.  Have a look at this link. </p><p>http://i166.photobucket.com/albums/u110/Olasa/M2000Simulator.swf<br /></p><p>The Excel logic is there but the design is terrible. You can test to change the numbers and see the graf move. I&#39;m looking for something like Andy Pope&#39;s Charts with variable width bars. </p><p>http://www.andypope.info/charts/colwidth2.htm </p><p>AfaIk, no chart can do this. But there may be other ways? //Ola </p>

    Hi Ola,
    I appears as if you are trying to display data with two parameters. The column chart only displays one parameter and there is currently no way to dynamically set a column's width in a column chart.
    I would suggest looking at a multi-parameter chart such as the XY or Bubble chart.
    Good luck.

  • Print-time charting with shared variables on a report without groups...

    hello all,
    I have an interesting conundrum; I am working on a report (Crystal XI) with no groups to it, just several subreports. Presently the report is run weekly and sent to the manager of one of our departments.
    The report itself showcases all areas of the department with total tasks, longest outstanding task, average days outstanding, MTD tasks completed, and YTD tasks completed. Due to the variety of tables the data pulls from, I have it set up as subreports that simply display the data.
    All total, there are 20 different shared variables that have been obtained from 10 different subreports. I have the shared variables set as the running totals from the subreports (hence, all are print time). Since the running totals and all the subreports are time based and are not actually linked to ANYTHING on the main report, I am struggling with how to set up the formulas described in the white paper, "Charting on Print Time Formulas".
    The setting up of the two formulas ({@onchngof} and {@showval}) will be different for my situation, as all of the subreports run off of date information relative to when the report is ran. I've got all of the subreports that the shared variables originate in early in the report; but where to from here?
    Would I set up maybe a date grouping or some other non-essential consistent grouping to make it work? The way this report is, it really doesn't need grouping, because the main report is just a display agent for the subreports...
    As always, any help is greatly appreciated!

    Let me ask couple of questions before trying to resolve this.
    1. The chart you are trying to built is placed in which section and is it on Main report or sub-report of its own. This is needed because if you are trying to access shared variables values in Main report, the section should be below the sub-report placed sections.
    2. Try pacing few test formulas in Main report and make sure the correct values are being pulled in on Main report.
    If you are successfully pulling the variable values on the report, try creating a simple chart in report footer with the values you have pulled and see if its taking you somewhere...
    Would need more information on how those variables are being accessed form sub to main or sub to other sub for example are you making an array of those variables and splitting or bringing it in as separate...

  • How can I set #HOST# variable referenced in the Chart template?

    #HOST# and #HOST_PROTOCOL# are being set incorrectly by APEX from CGI variables when I create a chart. I am using APEX 4.1 and Oracle 11g. The get the continual "Loading data..." and then after it times out I get "Error loading file".
    Before we changed to a secure http environment, our charts worked. After we changed to the new web layer, the charts do not work. The #HOST# substitution was set to http://correctservername/ and #HOST_PROTOCOL# was set to http. We set PlsqlCGIEnvironmentList REQUEST_PROTOCOL=https in the dads configuration file and now the #HOST# displays https but it also includes the default port number which we do not want (https://correctservername:port/) The charts work without the port. REQUEST_PROTOCOL is not in the cgi list and setting this variable set #HOST_PROTOCOL#. What variable can we set to make #HOST# correct. It seems like #HOST# is being set by #REQUEST_PROTOCOL#'://'||HTTP_HOST||':'||SERVER_PORT||SCRIPT_NAME||'/'. SERVER_NAME could also be used in of HTTP_HOST. I don't know how APEX is setting #HOST#. Does it come from a host alias somewhere in the environment?
    I don't want to add a new cgi variable called HOST because HOST sounds so generic and it might interfere with something else running in our environment. Or, I don't want to change the plsql cgi environment variable (such as HTTP_HOST) because many developers may use owa_util.get_cgi_env('HTTP_HOST') to get the current server. If the SERVER_PORT is part of the #HOST# then what could I change it to if it needs to be null. If you leave it blank, then the default SERVER_PORT comes from the CGI variables.
    I would rather not create a global variable (hard-coding) and create a new chart template using the global variable or create a before header application process to re-direct url without a port.
    Edited by: Donna C-Houston on Oct 10, 2012 1:06 PM

    Hi Donna,
    changing the CGI environment variables HTTP_HOST, REQUEST_PROTOCOL and SERVER_PORT is the correct way how to resolve this, because it appears that your hiding the web server where you have installed mod_plsql or EPG by a different outside facing web server (also called reverse proxy). That's why APEX gets the host name, protocol and port of the internal web server, but should actually get the values of your reverse proxy web server. Can can fix that by changing the following CGI environment variables.
    HTTP_HOST should just contain the domain name (no protocol or port). For example: www.oracle.com
    REQUEST_PROTOCOL should contain http or https
    SERVER_PORT should be the port for https
    I don't want to add a new cgi variable called HOST because HOST sounds so generic and it might interfere with something else running in our environment. Or, I don't want to change the plsql cgi environment variable (such as HTTP_HOST) because many developers may use owa_util.get_cgi_env('HTTP_HOST') to get the current server. If the SERVER_PORT is part of the #HOST# then what could I change it to if it needs to be null. If you leave it blank, then the default SERVER_PORT comes from the CGI variables.The value of HTTP_HOST is wrong anyway and points to your internal web server, but I assume your developers actually want to get the host name of your external web server if they use it to generate absolute URLs. That's why I wouldn't bother and set it to the correct host name.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

Maybe you are looking for

  • Update 10.6.8 mail doesn't work

    I downloaded the Security Update 10.6.8 this week. After install the are 2 Mail icons. One is a generic "application" icon. The other is the standard "Mail" icon. The generic "mail" is no functioning. The standard "mail" will start to open and then g

  • "Expense without tax was found" error

    I am trying to convert a Delivery to an invoice and SAP is preventing it.  I keep getting an error..."Expense without tax was found".  I do have a tax code calculating 2% tax, but since this is an invoice why does the error msg mention "Expense..."??

  • Chrome and safari now won't open on air after update

    AAt first working fine, updated software a couple of days ago then progressively getting slower then freezing constantly and now won't even open.....

  • Oracle10g database backup

    Hello, I would like to make a online backup on oracle10g database, For my understanding. RMAN need sys privilage. and need input the passwrd to scirpt if I want to run the job by manually and i don't want to use admin privilage to perform online back

  • Premiere Pro, sincronizar video a 11 frames

    Intento editar un video .mp4 de 1280x720 a 11'92 frames/segundo. En la ventana de "código de tiempo" todo está correcto, pero no va sincronizado, el video va un poco más lento que el audio. Alguien sabe como puedo ajustarlo? llevo 3 días ya con este