How to do Grouping of Workbooks using XSL in Discoverer Viewer?

Hello Discoverer Experts,
My question is related to grouping of workbook names using XSL in Discoverer Viewer. This is a sample xml data file which contains 6 workbooks.
<eul>
     <workbooks>
          <workbook>
               <wb_name>Purchasing Workbook 1</wb_name>
               <worksheets>
                    <worksheet>
                         <ws_name>A</ws_name>
                    </worksheet>
                    <worksheet>
                         <ws_name>B</ws_name>
                    </worksheet>
               </worksheets>
          </workbook>
          <workbook>
               <wb_name>Purchasing Workbook 2</wb_name>
               <worksheets>
                    <worksheet>
                         <ws_name>C</ws_name>
                    </worksheet>
                    <worksheet>
                         <ws_name>D</ws_name>
                    </worksheet>
               </worksheets>
          </workbook>
          <workbook>
               <wb_name>Manufacturing Workbook 1</wb_name>
               <worksheets>
                    <worksheet>
                         <ws_name>E</ws_name>
                    </worksheet>
                    <worksheet>
                         <ws_name>F</ws_name>
                    </worksheet>
               </worksheets>
          </workbook>
          <workbook>
               <wb_name>Manufacturing Workbook 2</wb_name>
               <worksheets>
                    <worksheet>
                         <ws_name>G</ws_name>
                    </worksheet>
                    <worksheet>
                         <ws_name>H</ws_name>
                    </worksheet>
               </worksheets>
          </workbook>
          <workbook>
               <wb_name>CEO Workbook 1</wb_name>
               <worksheets>
                    <worksheet>
                         <ws_name>I</ws_name>
                    </worksheet>
                    <worksheet>
                         <ws_name>J</ws_name>
                    </worksheet>
               </worksheets>
          </workbook>
          <workbook>
               <wb_name>CEO Workbook 2</wb_name>
               <worksheets>
                    <worksheet>
                         <ws_name>K</ws_name>
                    </worksheet>
                    <worksheet>
                         <ws_name>L</ws_name>
                    </worksheet>
               </worksheets>
          </workbook>
     </workbooks>
</eul>
The XSL is generating a List of Workbooks in <table> by using <xsl:for-each select="eul/workbooks/workbook">
<table>
<tr><td>Purchasing Workbook 1</td></tr>
<tr><td>Purchasing Workbook 2</td></tr>
<tr><td>Manufacturing Workbook 1</td></tr>
<tr><td>Manufacturing Workbook 2</td></tr>
<tr><td>CEO Workbook 1</td></tr>
<tr><td>CEO Workbook 2</td></tr>
</table>
Now my question is:
1. The client want to see this report in Groups i.e
<table>
<tr><th>Group Name: Purchasing</th></tr>
<tr><td>Purchasing Workbook 1</td></tr>
<tr><td>Purchasing Workbook 2</td></tr>
</table>
<table>
<tr><th>Group Name: Manufacturing</th></tr>
<tr><td>Manufacturing Workbook 1</td></tr>
<tr><td>Manufacturing Workbook 2</td></tr>
</table>
<table>
<tr><th>Group Name: CEO</th></tr>
<tr><td>CEO Workbook 1</td></tr>
<tr><td>CEO Workbook 2</td></tr>
</table>
How can I achieve this grouping using XSL ? Has anybody tried customizing the XSL file to achieve grouping of workbooks by name?
Any help is highly appreciated.
Thanks in advance.
Warm Regards,
Pranav Desai

Hi Friends..
This is not the reply.
I have also some question..
Some related topic I found on this.
That's why I am posting the same question here also..
Dear friends..
I need help to customize our discoverer viewer.
We are creating work sheets in arial font size 8.
But, when it's viewing through discoverer viewer it's coming big size.
If we saw the source code by right click, it's taking some style sheets where
the font size is mentioned as 8. not 8px.
How I can modify the work sheets in viewer.
Exactly which tag I should modify for this.
And the other thing is the heading section is coming something as
jung.
Like this...
&nb12.09.52 PM 27-OCT-02; 27-OCT-02 &n12.09.52 PM12.09.52 PM
From: 01-JAN-2002 To: 30-DEC-2002o Page :1 / 1
How we will correct this ?
Please reply me as the earliest.
With Thanks & Regards,
Sheeja
[email protected]

Similar Messages

  • Problems in creation of workbook using Change query local view.

    Hi Experts,
    I have created a Multiprovider by using union of two infocubes and created a Query based on Multiprovider.  I want to restrict one infocube in Change Query local view for creating new workbooks.  In Query global view we drag and drop the Infocube under Filters, but in the Query local view Filter panel is in disable mode. (My requirement is to create the workbooks using change query local view only)
    How can I restrict the one Infocube values in the workbooks by using Change query local view? 
    Thanks in advance.
    Venkat.

    Hi Venkat Prasad
    As you told that the query is on multi provider and the view is not allowing to declare/define filter value
    Just drag the infoprovider info object avilable under packet dimension to rows and right click on it restrict by selecting the name of the info provider when u right click it will show you the option of restrict once u click on it,it will takes to u a pop up where you can able to see the name of info providers and you specify according to it and finally in the display of results if you dont want to to display the info provider name then just right click on the 0infoprovider object under rows go to properties then choose hide option under display.
    Hope its clear a little..!
    Thanks
    K M R
    **Assigning points is the only way of saying thanks in SDN***
    >
    venkata prasad wrote:
    > Hi K M R,
    >
    > Thanks for ur quick response.  Most of the Infoobjects are common for both infocubes. I didn't understand this sentense "retrict the value with the infoprovider which values you are trying to view".
    > Please explian elaborately how to restrict the values speicfic to infoprovider under rows.

  • How to convert to ' ' in xml using xsl.

    Hi all,
    I have a string downloaded which has the following string
    String= text1 <I> text2 </I&it;
    I have italics tag in my xml file. But my browser does not identifies italics. So i decided to comment out italics tag in my xml using xsl
    So what i need is
    String = text1 <!--I-->text2<!--I-->
    basically to comment out italics tag alone.
    How can i replace <I> to <!--I-->?
    Is there any way in xsl to do the above in a string?
    or
    Any other ways where i can just remove <I> in my out xml file using xsl?
    Thanks in advance.
    Menaga.

    Hi,
    The ultimate solution would be that you also install also a cocoon server (http://cocoon.apache.org/), but that might be overkill.
    Have a look at /people/sap.user72/blog/2004/11/10/bsphowto-generate-pdf-output-from-a-bsp for detailed info on creating PDF from BSP.
    If you want to use XSL(-FO), you might have a look at things like http://alt-soft.com/products_xml2pdf.jsp to be called as external command.
    Eddy

  • How to create groups in AD using AD group process definition

    Hello,
    I want to create group in AD when i create group in OIM & i had achieved this using JNDI & was able to create groups in AD
    successfully,now i want to create groups in AD using AD Group process definition which contains create AD Group task.
    Can anyone suggest what flow should be followed to achieve this ?
    Thanks & Regards,
    Rahul Shah

    I think you can do R & D to acheive this via Event Handler.
    1. Apply Event Handler on Group Object Form.
    In Event handler class.
    2. get the parameter from ADITresource.
    3. Make JNDI call.
    4. Create the same group name in AD.
    There may be easy approach.
    Which version of OIM you are using?
    Thanks,
    Kuldeep

  • How to design Group Left Report using RTF method ( XML Publisher )

    Hi,
    I need to design Group Left Report using basic RTF method. I am able to design basic simple report and Group Above Report but I am not getting Group Left Report. Can anyone help me out.
    Thx N Regs,
    Khan.

    Group Left report can be done using table consisting of 1 row and 2 columns. Group header goes to the column 1, group details go to the second column. Group details can be also designed using table, in this case you get table within table cell. "for-each.." statement for the upper level group to be placed in the left column before the group header data. "end for-each.." to be placed in the second column after the detail data.

  • How to create an excel workbook using the excel toolkit

    I've starte working with the excel toolkit combined with the GOOP toolkit. After finding out that the GOOP Toolkit apparently has problems working with LabView 5, with which I developed my application, I changed to LabView 6. My first step was to open an existing excel workbook. Here I was successful. On the other hand I could not create a workbook using the excel open vi. Did I miss something?

    "Goyo" wrote in message
    news:50650000000800000060510000-1023576873000@exch​ange.ni.com...
    > I've starte working with the excel toolkit combined with the GOOP
    > toolkit. After finding out that the GOOP Toolkit apparently has
    > problems working with LabView 5, with which I developed my
    > application, I changed to LabView 6. My first step was to open an
    > existing excel workbook. Here I was successful. On the other hand I
    > could not create a workbook using the excel open vi. Did I miss
    > something?
    There's an input to the excel open that chooses "open workbook from file" or
    "open new workbook" which should do it. Unless you meant 'worksheet' in
    which case there is another function in the tookit to do that.

  • How to send group SMSes by using KvanttiSMS and JSP

    Hello again , I would want some help in implementing an SMS module that sends out a SMS message to a selected group of individuals from a database of several different groups .
    Now I have done a JSP GUI to allow the user to send a single SMS to one person .
    And my initial JSP codings for the Group SMS GUI were scrutinized and was said to be not functional by my lecturer .
    This is one of the technique that I know currently to send out an SMS :
    Connect to the database and get all the names of the groups .
    Using a while(column.next()) statement , the results will be placed into a drop down list in the JSP.
    The user selects the group from the drop down list and types the message as normal .
    The user presses the submit button and goes to the next JSP page (the 2nd JSP page sends out the SMS).
    The 2nd JSP page gets the group parameter and the message . Both parameters are placed into a string object.
    Using the string "group" object , another connection to the database is called .
    The database is called once again to retrieve handphone numbers that belong to groups that matches the string "group" object.
    using another while(column.next()) statement . The Sms terminal is called , initialized and used to send the message accordingly to the number of results .
    So is there any comment about this ? Please tell me what I should do if my method is wrong.

    I'm sorry ,
    actually the SQL statement uses the string "group" object to retrieve handphone numbers that belong to a person who is inside the same group as the string "group" object .

  • How to display xml to html using xsl?

    hi all...may i know how to display xml to html page?
    i ve included <xsl:output method="html" indent="yes" /> inside my xsl file. i clicked on output.xml file and everything is displayed correctly but the format is xml instead of html. is there anyway to transform it to html?
    below are my xsl and xml codes:
    // xsl file
    <?xml version='1.0'?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html" indent="yes" />
    <xsl:template match="/">
    <html>
    <body>
    <h2>Document Contents</h2>
    <table border="1">
    <tr bgcolor="#9acd32">
         <th align="center">Document Name</th>     
         <th align="center">Document ID</th>          
         <th align="center">Owner</th>               
    </tr>
    <xsl:for-each select="Document/Contents">
    <tr>
    <td><xsl:value-of select="DocumentName"/></td>
    <td><xsl:value-of select="DocumentID"/></td>
    <td><xsl:value-of select="Originator"/></td>
    </tr>
    </xsl:for-each>
    </table>
    </body>
    </html>
    // xml file
    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="xsltStyleSheet.xsl"?>
    <Document>
         <Contents>
              <DocumentName>register</DocumentName>
              <DocumentID>1</DocumentID>
              <Originator>hhh</Originator>
         </Contents>
    </Document>
    </xsl:template></xsl:stylesheet>

    your XSL transforms to HTML (in fact XHTML): what more do you expect? did you expected anything different from the following output? if yes: what and why?
    <html>
         <body>
              <h2>Document Contents</h2>
              <table border="1">
                   <tr bgcolor="#9acd32">
                        <th align="center">Document Name</th>
                        <th align="center">Document ID</th>
                        <th align="center">Owner</th>
                   </tr>
                   <tr>
                        <td>register</td>
                        <td>1</td>
                        <td>hhh</td>
                   </tr>
              </table>
         </body>
    </html>

  • How to Replicate Standard Alternating Colors using XSL-FO??

    Hi All
    I am using Apex_3.1, Apache fop and Standard Report Printing to produce PDF reports. We would like to replicate the theme 12 (Blue) standard alternating colors in our PDF output.
    I do realise that this involves modifying the xsl-fo and have tried putting color attributes in the xsl-fo (Generic Columns). I know I can just put the color in the apex print settings but that doesn't give me the alternating colors.
    Edited by: Keith Jamieson on Oct 22, 2009 4:04 PM

    I believe this is the section of the xsl template that needs modified.
                       <fo:table-body>
                            <xsl:for-each select=".//ROW">
                               <fo:table-row >
                                      #PRN_TEMPLATE_BODY_ROW#
                               </fo:table-row>
                            </xsl:for-each>
                         </fo:table-body>and I have found this example which appears to do what I require.
    <xsl:template name="table.row.properties">
      <xsl:variable name="tabstyle">
        <xsl:call-template name="tabstyle"/>
      </xsl:variable>
      <xsl:variable name="bgcolor">
        <xsl:call-template name="dbfo-attribute">
          <xsl:with-param name="pis" select="processing-instruction('dbfo')"/>
          <xsl:with-param name="attribute" select="'bgcolor'"/>
        </xsl:call-template>
      </xsl:variable>
      <xsl:variable name="rownum">
        <xsl:number from="tgroup" count="row"/>
      </xsl:variable>
      <xsl:choose>
        <xsl:when test="$bgcolor != ''">
          <xsl:attribute name="background-color">
            <xsl:value-of select="$bgcolor"/>
          </xsl:attribute>
        </xsl:when>
        <xsl:when test="$tabstyle = 'striped'">
          <xsl:if test="$rownum mod 2 = 0"
            <xsl:attribute name="background-color">#EEEEEE</xsl:attribute>
          </xsl:if>
        </xsl:when>
      </xsl:choose>
    </xsl:template>Every time I try and add that section to the code, I end up breaking it and not getting any pdf output :(
    eg my latest attempt
    <?xml version = '1.0' encoding = 'utf-8'?>
    <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink">
          <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)"/>
         <xs1:variable name="rownum" />
      <xsl:choose>
        <xsl:when test="$bgcolor != ''">
          <xsl:attribute name="background-color">
            <xsl:value-of select="$bgcolor"/>
          </xsl:attribute>
        </xsl:when>
        <xsl:when test="$tabstyle = 'striped'">
          <xsl:if test="$rownum mod 2 = 0">
            <xsl:attribute name="background-color">#EEEEEE</xsl:attribute>
          </xsl:if>
        </xsl:when>
      </xsl:choose>
       <xsl:attribute-set name="padding">
          <xsl:attribute name="padding-bottom">0.25pt</xsl:attribute>
          <xsl:attribute name="padding-top">0.25pt</xsl:attribute>
       </xsl:attribute-set>
       <xsl:attribute-set name="text">
          <xsl:attribute name="text-align">start</xsl:attribute>
          <xsl:attribute name="orphans">2</xsl:attribute>
          <xsl:attribute name="start-indent">0.0pt</xsl:attribute>
          <xsl:attribute name="linefeed-treatment">preserve</xsl:attribute>
          <xsl:attribute name="padding-top">0.0pt</xsl:attribute>
          <xsl:attribute name="end-indent">0.0pt</xsl:attribute>
          <xsl:attribute name="padding-bottom">0.0pt</xsl:attribute>
          <xsl:attribute name="height">0.0pt</xsl:attribute>
          <xsl:attribute name="widows">2</xsl:attribute>
       </xsl:attribute-set>
       <xsl:attribute-set name="align-left">
          <xsl:attribute name="text-align">left</xsl:attribute>
       </xsl:attribute-set>
       <xsl:attribute-set name="align-center">
          <xsl:attribute name="text-align">center</xsl:attribute>
       </xsl:attribute-set>
       <xsl:attribute-set name="align-right">
          <xsl:attribute name="text-align">right</xsl:attribute>
       </xsl:attribute-set>
       <xsl:attribute-set name="footer">
          <xsl:attribute name="text-align">right</xsl:attribute>
          <xsl:attribute name="start-indent">5.4pt</xsl:attribute>
          <xsl:attribute name="end-indent">5.4pt</xsl:attribute>
       </xsl:attribute-set>
       <xsl:attribute-set name="text_2">
          <xsl:attribute name="start-indent">5.4pt</xsl:attribute>
          <xsl:attribute name="end-indent">23.4pt</xsl:attribute>
       </xsl:attribute-set>
       <xsl:attribute-set name="text_20">
          <xsl:attribute name="height">13.872pt</xsl:attribute>
          <xsl:attribute name="end-indent">5.4pt</xsl:attribute>
       </xsl:attribute-set>
       <xsl:attribute-set name="text_0">
          <xsl:attribute name="end-indent">5.4pt</xsl:attribute>
       </xsl:attribute-set>
       <xsl:attribute-set name="page-header">
          <xsl:attribute name="color">#PAGE_HEADER_FONT_COLOR#</xsl:attribute>
          <xsl:attribute name="font-family">#PAGE_HEADER_FONT_FAMILY#</xsl:attribute>
          <xsl:attribute name="white-space-collapse">false</xsl:attribute>
          <xsl:attribute name="font-size">#PAGE_HEADER_FONT_SIZE#pt</xsl:attribute>
          <xsl:attribute name="font-weight">#PAGE_HEADER_FONT_WEIGHT#</xsl:attribute>
       </xsl:attribute-set>
       <xsl:attribute-set name="page-footer">
          <xsl:attribute name="color">#PAGE_FOOTER_FONT_COLOR#</xsl:attribute>
          <xsl:attribute name="font-family">#PAGE_FOOTER_FONT_FAMILY#</xsl:attribute>
          <xsl:attribute name="white-space-collapse">false</xsl:attribute>
          <xsl:attribute name="font-size">#PAGE_FOOTER_FONT_SIZE#pt</xsl:attribute>
          <xsl:attribute name="font-weight">#PAGE_FOOTER_FONT_WEIGHT#</xsl:attribute>
       </xsl:attribute-set>
       <xsl:attribute-set name="body-font">
          <xsl:attribute name="height">12.0pt</xsl:attribute>
          <xsl:attribute name="font-family">#BODY_FONT_FAMILY#</xsl:attribute>
          <xsl:attribute name="white-space-collapse">false</xsl:attribute>
          <xsl:attribute name="font-size">#BODY_FONT_SIZE#pt</xsl:attribute>
          <xsl:attribute name="font-weight">#BODY_FONT_WEIGHT#</xsl:attribute>
       </xsl:attribute-set>
       <xsl:attribute-set name="page-number">
          <xsl:attribute name="height">13.872pt</xsl:attribute>
       </xsl:attribute-set>
       <xsl:attribute-set name="header-font">
          <xsl:attribute name="height">#HEADER_FONT_SIZE#pt</xsl:attribute>
          <xsl:attribute name="font-family">#HEADER_FONT_FAMILY#</xsl:attribute>
          <xsl:attribute name="white-space-collapse">false</xsl:attribute>
          <xsl:attribute name="font-size">#HEADER_FONT_SIZE#pt</xsl:attribute>
          <xsl:attribute name="font-weight">#HEADER_FONT_WEIGHT#</xsl:attribute>
       </xsl:attribute-set>
       <xsl:attribute-set name="border">
          <xsl:attribute name="border-top">#BORDER_WIDTH#pt solid #BORDER_COLOR#</xsl:attribute>
          <xsl:attribute name="border-bottom">#BORDER_WIDTH#pt solid #BORDER_COLOR#</xsl:attribute>
          <xsl:attribute name="border-start-width">#BORDER_WIDTH#pt</xsl:attribute>
          <xsl:attribute name="border-start-color">#BORDER_COLOR#</xsl:attribute>
          <xsl:attribute name="border-start-style">solid</xsl:attribute>
          <xsl:attribute name="border-end-width">#BORDER_WIDTH#pt</xsl:attribute>
          <xsl:attribute name="border-end-color">#BORDER_COLOR#</xsl:attribute>
          <xsl:attribute name="border-end-style">solid</xsl:attribute>
       </xsl:attribute-set>
       <xsl:attribute-set name="cell">
          <xsl:attribute name="background-color">#BODY_BG_COLOR#</xsl:attribute>
          <xsl:attribute name="color">#BODY_FONT_COLOR#</xsl:attribute>
          <xsl:attribute name="padding-start">5.15pt</xsl:attribute>
          <xsl:attribute name="vertical-align">top</xsl:attribute>
          <xsl:attribute name="padding-top">0.0pt</xsl:attribute>
          <xsl:attribute name="padding-end">5.15pt</xsl:attribute>
          <xsl:attribute name="number-columns-spanned">1</xsl:attribute>
          <xsl:attribute name="height">0.0pt</xsl:attribute>
          <xsl:attribute name="padding-bottom">0.0pt</xsl:attribute>
       </xsl:attribute-set>
       <xsl:attribute-set name="header-color">
          <xsl:attribute name="background-color">#HEADER_BG_COLOR#</xsl:attribute>
          <xsl:attribute name="color">#HEADER_FONT_COLOR#</xsl:attribute>
       </xsl:attribute-set>
       <xsl:template match="/">
          <fo:root>
             <fo:layout-master-set>
                <fo:simple-page-master master-name="master0" margin-left="66.6pt" margin-right="66.6pt" page-height="#PAGE_HEIGHT#pt" page-width="#PAGE_WIDTH#pt" margin-top="36.0pt" margin-bottom="36.0pt">
                   <fo:region-before region-name="region-header" extent="54.0pt"/>
                   <fo:region-body region-name="region-body" margin-top="54.0pt" margin-bottom="54.0pt"/>
                   <fo:region-after region-name="region-footer" extent="54.0pt" display-align="after"/>
                </fo:simple-page-master>
             </fo:layout-master-set>
             <fo:page-sequence master-reference="master0">
                <xsl:variable name="_PW" select="number(#PAGE_HEIGHT#)"/>
                <xsl:variable name="_PH" select="number(#PAGE_WIDTH#)"/>
                <xsl:variable name="_ML" select="number(72.0)"/>
                <xsl:variable name="_MR" select="number(72.0)"/>
                <xsl:variable name="_MT" select="number(90.0)"/>
                <xsl:variable name="_MB" select="number(90.0)"/>
                <xsl:variable name="_HY" select="number(36.0)"/>
                <xsl:variable name="_FY" select="number(36.0)"/>
                <xsl:variable name="_SECTION_NAME" select="string('master0')"/>
                <fo:static-content flow-name="region-header">
                   <fo:block xsl:use-attribute-sets="text text_2 text_0 #PAGE_HEADER_ALIGNMENT#">
                      <fo:inline xsl:use-attribute-sets="page-header">#PAGE_HEADER#</fo:inline>
                   </fo:block>
                </fo:static-content>
                <fo:static-content flow-name="region-footer">
                   <fo:block xsl:use-attribute-sets="text footer">
                      <fo:inline xsl:use-attribute-sets="body-font page-number">
                         <fo:page-number/>
                      </fo:inline>
                   </fo:block>
                   <fo:block xsl:use-attribute-sets="text text_2 #PAGE_FOOTER_ALIGNMENT#">
                      <fo:inline xsl:use-attribute-sets="page-footer">#PAGE_FOOTER#</fo:inline>
                   </fo:block>
                </fo:static-content>
                <fo:flow flow-name="region-body">
                   <fo:block xsl:use-attribute-sets="padding">
                      <fo:table start-indent="0.0pt">
                         <xsl:variable name="_XDOFOPOS2" select="number(1)"/>
                         <xsl:variable name="_XDOFOTOTAL" select="number(1)"/>
                         #PRN_TABLE_CELLS#
                         <fo:table-header>
                            <fo:table-row>
                               #PRN_TEMPLATE_HEADER_ROW#
                            </fo:table-row>
                         </fo:table-header>
                         <fo:table-body>
                            <xsl:for-each select=".//ROW">
                               <xs1:choose>
                                  <xs1:when> test = ".//ROW mod 2 = 0"
                               <fo:table-row bgcolor=#EEEEEE>
                                      #PRN_TEMPLATE_BODY_ROW#
                               </fo:table-row>
                                  </xs1:when>
                                  <xs1:when> test = ".//ROW mod 1 = 0"
                               <fo:table-row bgcolor=#DDDDDD>
                                      #PRN_TEMPLATE_BODY_ROW#
                               </fo:table-row>
                                   </xs1>                          
                            </xsl:for-each>
                         </fo:table-body>
                      </fo:table>
                   </fo:block>
                   <fo:block xsl:use-attribute-sets="text text_2 text_20">
                      <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:stylesheet>

  • How are Tab Groups superior to using windows for tab groupings?

    With Mac OS 10.5 I have been using windows as a defacto method for tab groupings. When tabs get two crowded, I open a new window. I have to move between windows to get to all tabs in a group.
    The Tab Grouping instructions don't address moving tabs from multiple windows into a single large group, say, for charts on a large number of stocks.
    [A disadvantage with my multiple window system has been my occasional misstep, e.g., closing a window full of tabs with the red button when I intended to minimize the widow with the yellow button, or, worse, when I get the option after a Firefox crash or power loss to Restore windows and tabs or Start a New Session and I hit the Start New session Button; in either event I lose the tabs and/or windows affected.]

    I don't ever use it because I think it is odd to have tabs floating around my desktop but you can drag Snippets, Connections and Reports outside the SQL Developer Window - Detail tabs and the Worksheet can't be. Not sure if this works on a Mac or if this is what you were looking for but wanted to mention it.
    -- Sharon

  • How would you launch an applet using xsl and some xml data?

    Is is possible?

    Thanks for your input but I got it working with the correct CDATA syntax. The concept is to launch a database driven system using xml instead, so the applet piece is completely modular and can be added to any other application that can call a url. No databases need to be created. Its not crazy if the amount of info int he database is managebable.

  • How to remove or collapse the parameter section in discoverer viewer  10g

    Hi All,
    how can i collapse or hide or remove parameter section when we run report after parameter form?
    Regards,
    Omer

    Sorry, I don't think you can do this.
    Rod West

  • How to save edited data Workbook in Excel Web Access web part?

    Hello All, I have one Workbook which is displayed on Excel Web Access web part in SharePoint 2013. If I edit data in workbook it is not getting saved. Am i missing anything here? please help.
    Thanks

    Hi,
    We can click “OPEN IN EXCEL” to open and save the Excel file, then the edited data will be saved.
    If you display a chart in Excel, we can create a InfoPath form to edit the excel Workbook, here is a blog for your reference:
    http://go.limeleap.com/community/bid/295022/How-to-Edit-an-Excel-Workbook-Using-an-InfoPath-Form-in-SharePoint
    More information:
    http://office.microsoft.com/en-us/sharepoint-server-help/introduction-to-excel-web-access-web-part-HA010377880.aspx
    http://office.microsoft.com/en-001/sharepoint-server-help/excel-web-access-web-part-summary-HA010105454.aspx
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Formatting output using XSL

    Hi All,
    Here is my XML output from an XSQL file.
    <ROWSET>
    - <ROW num="1">
    <EMP_NAME>Employee A</EMP_NAME>
    <WEEK_NUM>3</WEEK_NUM>
    <NOOFDAYS>5</NOOFDAYS>
    </ROW>
    - <ROW num="2">
    <EMP_NAME>Employee A</EMP_NAME>
    <WEEK_NUM>4</WEEK_NUM>
    <NOOFDAYS>5</NOOFDAYS>
    </ROW>
    - <ROW num="3">
    <EMP_NAME>Employee A</EMP_NAME>
    <WEEK_NUM>5</WEEK_NUM>
    <NOOFDAYS>5</NOOFDAYS>
    </ROW>
    - <ROW num="4">
    <EMP_NAME>Employee B</EMP_NAME>
    <WEEK_NUM>4</WEEK_NUM>
    <NOOFDAYS>5</NOOFDAYS>
    </ROW>
    - <ROW num="5">
    <EMP_NAME>Employee B</EMP_NAME>
    <WEEK_NUM>7</WEEK_NUM>
    <NOOFDAYS>5</NOOFDAYS>
    </ROW>
    - <ROW num="6">
    <EMP_NAME>Employee B</EMP_NAME>
    <WEEK_NUM>9</WEEK_NUM>
    <NOOFDAYS>4</NOOFDAYS>
    </ROW>
    - <ROW num="7">
    <EMP_NAME>Employee C</EMP_NAME>
    <WEEK_NUM>3</WEEK_NUM>
    <NOOFDAYS>2</NOOFDAYS>
    </ROW>
    - <ROW num="8">
    <EMP_NAME>Employee C</EMP_NAME>
    <WEEK_NUM>4</WEEK_NUM>
    <NOOFDAYS>5</NOOFDAYS>
    </ROW>
    - <ROW num="9">
    <EMP_NAME>Employee C</EMP_NAME>
    <WEEK_NUM>7</WEEK_NUM>
    <NOOFDAYS>4</NOOFDAYS>
    </ROW>
    So I am getting XML in form of:
    Employee A: Week 3: Noofdays : 5
    Employee A: Week 4: Noofdays : 5
    Employee A: Week 5: Noofdays : 5
    Employee B: Week 4: Noofdays : 5
    Employee B: Week 7: Noofdays : 5
    Employee B: Week 9: Noofdays : 4
    Employee C: Week 3: Noofdays : 2
    Employee C: Week 4: Noofdays : 5
    Employee C: Week 7: Noofdays : 4
    And now I need to generate and output in Cross tab format where Employee is in X-axis and Week is in Y axis. Now my XML does'nt contain information for all the weeks and I want to display 0 in the cell wherever the week is not applicable and the appropriate noofdays in the cell where information is there.
    So my output looks like this:
    Empl Name 1 2 3 4 5 6 7 8 9 10
    Emp A 0 0 5 5 5 0 0 0 0 0
    Emp B 0 0 0 0 5 0 5 0 4 0
    Emp C 0 0 2 5 0 0 4 0 0 0
    How can I generate such output using XSL. I even tried <xsl:key> but its not working fine. Can anyone have any ideas for generating such output using xsl.
    Any help in this will be highly appreciated. Its bit urgent...
    Thanks

    Hi All,
    Well I got the solution for this. The exact XSL for generating Crosstab report is as follows:
    <?xml version="1.0"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:key name="x" match="ROW" use="ROWS"/>
    <xsl:template match="/page">
    <html>
    <center>
    <body bgcolor="#FFFFFF" text="#000000">
    <table width="75%" border="1" style="background-color:#F5DEB3">
    <th style="background-color:#BBBBBB">Employee Name</th>
    <xsl:for-each select="ROWSET/ROW/COLH">
    <th style="background-color:#BBBBBB">
    <xsl:value-of select="."/>
    </th>
    </xsl:for-each>
    <xsl:for-each select="//page/ROWSET/ROW[generate-id()=generate-id(key('x',ROWS))]">
    <xsl:variable name="currow" select="ROWS"/>
    <tr>
    <td><xsl:value-of select="$currow"/></td>
    <xsl:for-each select="//page/ROWSET/ROW/COLH">
    <xsl:variable name="curcol" select="."/>
    <td align="center">
    <xsl:for-each select="/page/ROWSET/ROW[ROWS=$currow]">
    <xsl:if test="$curcol=COLS">
    <xsl:value-of select="CELLS"/>
    </xsl:if>
    </xsl:for-each>
    </td>
    </xsl:for-each>
    </tr>
    </xsl:for-each>
    </table>
    Back
    </body>
    </center>
    </html>
    </xsl:template>
    </xsl:stylesheet>
    I hope this will help others.
    Thanks
    null

  • Starting just today, when I send an e-mail to a group of friend using BCC, Thunderbird tacks on [Bulk] to my subject. How do I prevent that?

    Starting just today, when I send an e-mail to a group of friend using BCC, Thunderbird tacks on [Bulk] to my subject. How do I prevent that?
    Bill Gray
    [email protected]

    Thunderbird does not modify subject lines. Check your antivirus software or email providers spam filters.

Maybe you are looking for