Manipulating "Exclude from XML Output" property at runtime

Hi !
Here's one for reports 10g
Is there a way/function to manipulate the "Exclude from XML Output" property for attributes at runtime (say, in the after param form trigger ?)
The srw.package contains functions to manipulate the "other 4" XML properties of an attribute, but not this one... ?
Any help greatly appreciated...
Cheers,
Jens Rettig

Hi,
I posted a solution for this in the thread: Dynamically show/hide columns for DelimitedData output
Thanks.
Paul
(If the link doesn't work then I re-post the solution from that thread).

Similar Messages

  • Oracle Reports exclude from xml output

    Hej,
    How we could hide xml column or group programmatically in reports? manually we do this by setting
    exclude from xml output=NO
    But dont know how to do this dynamically.
    7Z

    Anyone who knows?

  • How to generate PDF from XML output without XML publisher

    Hi,
    I am facing a problem while splitting the rdf generated XML output.
    Problem Description:
    I have a oracle invoice report which runs once every day (scheduled program). This report fetches me the invoices generated on that day and needs to be Mailed / Faxed to the customers.
    So i developed the report in such a way that it generates the output order by customers...since the output generated will be as one .out file in APPLCSF/out directory...the .out file needs to be splitted by customers, for which i have written a cursor which takes the data of the main query and submits that many requests as many as customers are there.....There is a possibility of having 1000 customers per day also. If that is the case then my main program will fire that many requests.
    Is there a different approach......any inputs are highly appreciated.
    Also, i am generating the output in XML format. Is there a way from which i can directly generate a PDF from that XML output rather using any other tool.
    Thanks & Regards,
    Lakshmi Kalyan Vara Prasad.

    Hi,
    with Reports Bursting and the defined "distributions" it's possible to have one report splittet to several parts with different receipients. Have a look at http://download-uk.oracle.com/docs/cd/B14504_01/dl/bi/B13673_01/pbr_dist.htm.
    With xsl-fo it's possible to create pdf out of xml ... that's what xml publisher is doing.
    Regards
    Rainer

  • Build Reports from XML output from Reports

    Hi,
    I was just wondering if it is possible to build reports from output in XML format, originally generated by Oracle Reports.
    The XML output produced by Reports is stored in a database for further processing.
    TIA
    Hien

    Hi Hien
    If I have understood this right, you need to create report in XML format from an XML Report Definition File. From the Builder, Generate to File from the File menu and choose XML format for the output.
    Remember that XML output from Reports is Data driven and faithfully reproduces the Data Model. It is NOT layout driven.
    Regards
    Sripathy

  • Not missing NULLs from XML output

    I create XML output for the table having some NULL values, like
    with t as
    select 'A' field1 , 1 field2 from dual
    union
    select 'A' field1 , null field2 from dual
    union
    select 'A' field1 , 3 field2 from dual
    union
    select 'B' field1 , null field2 from dual
    select
    XmlElement("TOP",
    XmlAgg(
    XmlElement("DOWN",
    XmlForest(field1, field2))))
    .extract('/*').getstringval() xml_string
    from t
    XML_STRING
    <TOP>
      <DOWN>
        <FIELD1>A</FIELD1>
        <FIELD2>1</FIELD2>
      </DOWN>
      <DOWN>
        <FIELD1>A</FIELD1>
        <FIELD2>3</FIELD2>
      </DOWN>
      <DOWN>
        <FIELD1>A</FIELD1>
      </DOWN>
      <DOWN>
        <FIELD1>B</FIELD1>
      </DOWN>
    </TOP>How can I avoid missing nulls from XML? I.e. I need this:
    <TOP>
      <DOWN>
        <FIELD1>A</FIELD1>
        <FIELD2>1</FIELD2>
      </DOWN>
      <DOWN>
        <FIELD1>A</FIELD1>
        <FIELD2></FIELD2>
    </DOWN>
      <DOWN>
        <FIELD1>A</FIELD1>
        <FIELD2>3</FIELD2>
      </DOWN>
      <DOWN>
        <FIELD1>B</FIELD1>
        <FIELD2></FIELD2>
      </DOWN>
    </TOP>Thanks!

    Is this fine?
    sql> with t as
      2  (
      3  select 'A' field1 , 1 field2 from dual
      4  union
      5  select 'A' field1 , null field2 from dual
      6  union
      7  select 'A' field1 , 3 field2 from dual
      8  union
      9  select 'B' field1 , null field2 from dual
    10  )
    11  select
    12  XmlElement("TOP",
    13  XmlAgg(
    14  XmlElement("DOWN",
    15  xmlelement(field1,field1),
    16  xmlelement(field2,field2)
    17  )))
    18  .extract('/*').getstringval() xml_string
    19  from t;
    XML_STRING
    <TOP>
      <DOWN>
        <FIELD1>A</FIELD1>
        <FIELD2>1</FIELD2>
      </DOWN>
      <DOWN>
        <FIELD1>A</FIELD1>
        <FIELD2>3</FIELD2>
      </DOWN>
      <DOWN>
        <FIELD1>A</FIELD1>
        <FIELD2/>
      </DOWN>
      <DOWN>
        <FIELD1>B</FIELD1>
        <FIELD2/>
      </DOWN>
    </TOP>

  • How to remove default comment from XML output

    Hi,
    I have a requirement to generate the XML report with XML output(Not PDF). Everything is working fine except I am getting one comment line "<!--Generated by Oracle Reports version 6.0.8.28.0--> which is not required and I want to remove this line. This report will be run through Oracle Apps 11i.
    Thanks.

    Hi,
    There is option to change the "Prolog Value" but nothing is there to remove the comment.
    Thanks

  • Suppress Row Num from XML output

    Hi there,
    Is possible to generate the output following without using style sheet ?
    a) remove <ROW num="10">
    b) to change the tag Code <COMM NULL="TRUE"/> to <COMM><COMM/>
    Thanks
    Jeremy Lee
    =====
    declare
    queryCtx DBMS_XMLquery.ctxType;
    result CLOB;
    begin
    delete from temp_clob_tab;
    commit;
    result := empty_clob();
    -- set up the query context...!
    -- queryCtx := DBMS_XMLQuery.newContext('select * from testxml');
    queryCtx := DBMS_XMLQuery.newContext('select empno ,ename,comm from emp WHERE comm is null');
    -- modify encoding format
    DBMS_XMLQuery.setEncodingTag(queryCtx, '"WINDOWS-1252"');
    --DBMS_XMLQUERY.setencodingtag(queryCtx 'UTF-8');
    -- DBMS_XMLGEN.SETNULLHANDLING(queryctx,2);
    dbms_xmlquery.SETROWSETTAG(queryCTX,'ROOT');
    dbms_xmlquery.usenullattributeindicator(queryCtx, true);
    -- get the result..!
    result := DBMS_XMLQuery.getXML(queryCtx);
    INSERT INTO temp_clob_tab VALUES(result);
    -- Now you can use the result to put it in tables/send as messages..
    ShowClobContents(result);
    DBMS_XMLQuery.closeContext(queryCtx); -- you must close the query handle..
    end;
    ================================================================
    | </ROW>
    | <ROW num="9">
    | <EMPNO>7902</EMPNO>
    | <ENAME>FORD</ENAME>
    | <COMM NULL="TRUE"/>
    | </ROW>
    | <ROW num="10">
    | <EMPNO>7934</EMPNO>
    | <ENAME>MILLER</ENAME>
    | <COMM NULL="TRUE"/>
    | </ROW>
    | </ROOT>

    Hi Ramesh,
    Thanks for your reply. If I tried using DBMS_XMLGEN, I get the following output which is closer to the output that I want. How do i show the null value as <COMM></COMM> ?
    Thanks
    Regards
    Jeremy Lee
    DECLARE
         ctx DBMS_XMLGEN.ctxHandle;
         xml CLOB;
    BEGIN
    delete from temp_clob_tab;
    commit;
         ctx := dbms_xmlgen.newcontext('select * from emp where comm is null');
         dbms_xmlgen.setrowsettag(ctx, 'Root');
    dbms_xmlgen.setrowtag(ctx, 'ROW');
    DBMS_XMLGEN.SETNULLHANDLING(ctx,2);
    -- DBMS_XMLGEN.setEncodingTag(ctx, '"iso-8859-1"');
    -- dbms_XMLGEN.usenullattributeindicator(ctx, true);
    xml := dbms_xmlgen.getxml(ctx);
    INSERT INTO temp_clob_tab VALUES(xml);
         -- dbms_output.put_line(substr(xml,1,1000));
    DBMS_XMLGEN.closeContext(ctx);
    END;
    ===================================================================
    <ROW>
    <EMPNO>7934</EMPNO>
    <ENAME>MILLER</ENAME>
    <JOB>CLERK</JOB>
    <MGR>7782</MGR>
    <HIREDATE>23-JAN-82</HIREDATE>
    <SAL>1300</SAL>
    <COMM/>
    <DEPTNO>10</DEPTNO>
    </ROW>
    Regards
    Jeremy Lee

  • Page numbers from XML output file

    Scenario:
    We have a situation here where we would need to create an XML document and a pdf file produced by an Oracle 11i EBS report. The XML document will need to have the number of pages the report (in pdf) has produced.
    For example, if I have two sales orders in the pdf report. And, the first order has three pages and the second order has five pages, we would need to create an the XML document with:
    <order>1
    <page>3</page>
    </order>
    <order>2
    <page>5</page>
    </order>
    Question:
    Is there a way for us somehow to capture the number of pages for the order (using my example) in the XML template? We want to capture it and use it to populate our XML document.
    Thanks
    Kamalakar.G

    Hello,
    If you know at which xml (data) branch you should break for each page, and your format template is setup to do so, you should be able to predetermine your page numbers using node counting.
    I have used node counting only one or two times myself and (at the moment) can not even find the report(s) I used it with (sorry, just way, way too many reports around here... :-( )
    Anyway, it is pretty straitforward and is documented at:
    http://www.ibm.com/developerworks/library/x-tipnodst.html#1
    A google search on XSL and node revealed many other sites with examples as well.
    (ex. http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/XML/Q_21875961.html )
    Good luck and if I ever find one of the reports I actually used it in...I will post my code.
    Scott

  • XML Output order

    Hi,
    How can I control the order of columns in XML output? The order in data model applies only to database columns. The formuale columns appear at the end of database columns irrespective of the location of formuale column in the data model.

    The order of the elements is determined by the order of the columns in the Data Model. Note that you can also use the "Exclude from XML output" property to completely omit columns form the XML output.
    Message was edited by:
    Brian Hill
    This applies to Reports 10g. I don't know if it also works in 6i.

  • XML output from Repostiory Reports

    Hi,
    Any ideas why the table definition report (cktci.rdf) data from the Repository Reports cannot be generated to XML?
    I'm running Designer ver. 9.0.2.91.9, Reports ver. 9.0.2.0.3 . XML is not on the destination format list in Repository Reports, but if you type in xml, the DESFORMAT parameter is correctly set to it. However, only part of the data model is output to the xml file:
    &lt;?xml version="1.0"?&gt;
    &lt;!-- Generated by Oracle Reports version 9.0.2.0.3 --&gt;
    &lt;CKTCI&gt;
    &lt;LIST_G_IRID&gt;
    &lt;G_IRID&gt;
    &lt;IRID&gt;*****&lt;/IRID&gt;
    &lt;NAME&gt;SODO&lt;/NAME&gt;
    &lt;LIST_G_LEV&gt;
    &lt;G_LEV&gt;
    &lt;VERSION&gt;1.8&lt;/VERSION&gt;
    &lt;LEV&gt;0&lt;/LEV&gt;
    &lt;/G_LEV&gt;
    &lt;/LIST_G_LEV&gt;
    &lt;CS_TABS&gt;1&lt;/CS_TABS&gt;
    &lt;/G_IRID&gt;
    &lt;/LIST_G_IRID&gt;
    &lt;D_USERNAME&gt;REP_OWNER&lt;/D_USERNAME&gt;
    &lt;D_USERNAME1&gt;&lt;/D_USERNAME1&gt;
    &lt;F_COL_DET&gt;N&lt;/F_COL_DET&gt;
    &lt;F_VW&gt;&lt;/F_VW&gt;
    &lt;F_SNP&gt;&lt;/F_SNP&gt;
    &lt;TABLES_YN&gt;Yes&lt;/TABLES_YN&gt;
    &lt;VW_TYPE&gt;No&lt;/VW_TYPE&gt;
    &lt;SNP_TYPE&gt;No&lt;/SNP_TYPE&gt;
    &lt;COL_DET&gt;Yes&lt;/COL_DET&gt;
    &lt;D_TABTY1&gt;&lt;/D_TABTY1&gt;
    &lt;CF_PROP_NAME&gt;&lt;/CF_PROP_NAME&gt;
    &lt;P_NULL_IND&gt;Optional ? : &lt;/P_NULL_IND&gt;
    &lt;P_DOMAIN_NAME&gt;Domain : &lt;/P_DOMAIN_NAME&gt;
    &lt;P_UPPERCASE&gt;Uppercase ? : &lt;/P_UPPERCASE&gt;
    &lt;P_ORAC_SEQ&gt;Sequence : &lt;/P_ORAC_SEQ&gt;
    &lt;P_DEF_VAL&gt;Default Value : &lt;/P_DEF_VAL&gt;
    &lt;P_ORD_SEQ&gt;Order By Sequence : &lt;/P_ORD_SEQ&gt;
    &lt;P_SORT_ORD&gt;Sort Order : &lt;/P_SORT_ORD&gt;
    &lt;D_YN&gt;&lt;/D_YN&gt;
    &lt;D_YES&gt;Yes&lt;/D_YES&gt;
    &lt;D_NO&gt;No&lt;/D_NO&gt;
    &lt;D_NULL&gt;Yes&lt;/D_NULL&gt;
    &lt;D_NOT_NULL&gt;No&lt;/D_NOT_NULL&gt;
    &lt;D_NULL_IND&gt;&lt;/D_NULL_IND&gt;
    &lt;D_VERSION&gt;1.8&lt;/D_VERSION&gt;
    &lt;D_CONTAINER&gt;ZSI-WARTA/SODO&lt;/D_CONTAINER&gt;
    &lt;D_VERSION1&gt;&nbsp&lt;/D_VERSION1&gt;
    &lt;D_CONTAINER1&gt;&nbsp&lt;/D_CONTAINER1&gt;
    &lt;COUNTER&gt;*****&lt;/COUNTER&gt;
    &lt;/CKTCI&gt;
    The biggest problem is that the main group G_APP from the report definition is not generated to XML, in spite of its parameter "Exclude from XML Output" being set to No. Any ideas why this happens?
    Regards,
    Tomasz

    hello,
    you can specify the look of the XML tags in the "XML Settings" property of the respective field. so let's say your datamodel has the colun called NAME then by default the xml tag would look soemthing like this
    <NAME>this is the value </NAME>
    now if you set the value for the
    "XML Tag" property and the "XML Tag Attributes" property to e.g. facet and name="his-name"> (the * is just to terminate the the values in this text) the generated XML tag would look something like
    <facet name="his-name">name="his-name"></facet>
    columns that are not in the datamodel (like i asume you mean by <stuff> and <futurestuff> you can create by adding formula columns into your datamodel. formula columns have the same "XML settings" section in their property sheet and can be modified accordingly.
    hope this is what you are looking for.
    thanks,
    ph.

  • Runtime error!  when doing XML output

    Hi,
    I am really stuck with this error...
    When running a script to genarate a XML file I keep getting
    an error. The error looks like it is coming from IE:
    Microsoft Visual C++ Runtime Library
    Runtime Error!
    Program: C:\Program Files\Internet Explorer\IEXPLORE.EXE
    This application has requested the runtime terminate it in an
    unusual way.
    Please contact the application support team for more
    information.
    OK
    The script works and genarates the XML output for small
    requests but I get this error when I try to get it to process
    several thousand rows. I need it to be able to process tens of
    thousands of rows!
    Please can someone point me in the right direction for a
    cause/solution to this.
    I have tried putting the script in a <cftry>
    <cfcatch> tag to get an error report but I still get the
    error and when I click "OK" all instancs of IE close.
    CF7 & IE7 (I also got the error in IE6)
    Regards,
    Chris.

    Actually it also happens when I don't do a network migration. I choose -
    create - and it errored when I choose Current User.
    >>> Kevin VanSchepen<[email protected]> 3/23/2006 9:37 AM >>>
    I get a Visual C++ Runtime error on DesktopDNA.exe (abnormal program
    termination)
    - It happens when I am doing a network migration (with and without
    crossover
    connection)
    - The moment I choose Current User or when I choose next after choosing the
    user in Multiple Users
    - It works on other machines, could it be something to do with the user
    account I am trying to migrate?
    Kevin VanSchepen

  • XML Datatype as transaction output property

    Hello everyone,
    I'm having some problems while using the XML datatype as an output for a transaction and would like your input on this.
    I've created a transaction that has one output property set as a XML. This transaction reads information from a SAP BAPI call and I assigns the response XML to the output parameter. I've checked the output value with a trace block and it is ok.
    This transaction is called from within another transaction, but when I read the output parameter after the transaction block is executed, the output parameter is empty...
    The only work-around this problem that I have found it to encode the XML as a string and then decode it in the outer transaction, but that just doesn't seem like the right thing to do... There must be a reason to have a XML datatype!
    Thanks in advance,
    Marcelo

    Marcelo,
    I too tried this on 12.1.8 build 20 and this seems to be working for me.
    Here's what I did, I am calling BAPI_ALM_ORDER_DETAIL in the "called" transaction. This has an output property called "outXML" of type XML.
    I assign the response of the BAPI to outXML after the BAPI is executed.
    I tried a tracer here and all's well.
    In the "calling" transaction I have a tracer after the Transaction call where  am able to see the respose from the called transaction.
    Thanks
    Udayan

  • How to exclude the XML declaration from each row of the result set?

    Hi,
    I have a table with an XMLTYPE column and would like to SELECT a set of rows. How can I exclude the XML declaration from each row in the result set? My query currently looks like this, I'm executing it through Spring JDBC:
    SELECT XMLSerialize(CONTENT t1.xmltext) FROM myschema.event t1 WHERE XMLEXISTS('$e/Event' PASSING XMLTEXT AS "e") ORDER BY t1.time DESC
    After selecting, in my application I convert each row into a String and concatenate all rows into one big string in order to parse it into a DOM model. I get a parser exception (org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed) because there are multiple XML declarations in my big string. Of course, I could manually check the String of each row whether it starts with the XML declaration, but it would be nicer if I could instruct the DB not to add it in the first place. Is there a way?
    Thanks!
    -- Daniela

    Hi,
    A couple of options I can think of :
    SELECT XMLSerialize(CONTENT
    XMLtransform(t1.xmltext,
      xmltype('<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output omit-xml-declaration="yes"/> 
    <xsl:template match="/"><xsl:copy-of select="*"/></xsl:template>
    </xsl:stylesheet>')
    FROM myschema.event t1
    WHERE XMLEXISTS('$e/Event' PASSING XMLTEXT AS "e")
    ORDER BY t1.time DESC
    ;or simply,
    SELECT XMLSerialize(CONTENT
      extract(t1.xmltext,'/')
    FROM myschema.event t1
    WHERE XMLEXISTS('$e/Event' PASSING XMLTEXT AS "e")
    ORDER BY t1.time DESC
    ;

  • Problem cf10 installation xml error - Conflicting values for output property method

    We just completed a ColdFusion 10 installation on Windows Server 2008 R2. After taking care of some configuration issues, we're now faced with a problem that we can't figure out. Searches on Google for the error returned almost nothing.
    The error occurs when xmltransform is called in a CFC file. The error we get from CF is:
    An error occured while Transforming an XML document
                 Failed to compile stylesheet. 1 error detected.            
    It's not very helpful. In the coldfusion-error.log file, we have this entry:
    Error at xsl:output on line 2 column 193
      XTSE1560: Conflicting values for output property method
    Anyone have any ideas how to fix this? Is it something simple that we overlooked, or a fundamental difference in the way CF10 handles xmltransform?
    Thanks,
    Jamie Carter

    Here is the XSLT:
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
    <xsl:output method="html" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" media-type="application/xhtml+xml" />
    <xsl:include href="E:\Inetpub\wwwroot\cfroot\cms\aacc-cms\general\xslt\aacc_main_browse.xsl" />
    <xsl:include href="E:\Inetpub\wwwroot\cfroot\cms\aacc-cms\general\xslt\rotator\aacc_home_rotator.xsl" />
    <xsl:include href="E:\Inetpub\wwwroot\cfroot\cms\aacc-cms\general\xslt\nav\aacc_home_side_menu.xsl" />
    <xsl:include href="E:\Inetpub\wwwroot\cfroot\cms\aacc-cms\general\xslt\news\aacc_home_news.xsl" />
    <xsl:template match="page">
      <!-- homepage --> 
            <div class="home_rotator_nav_div">
              <div class="nav" id="nav"><xsl:comment>nav div</xsl:comment></div>
            </div>
            <div id="home_rotator_container">
              <xsl:call-template name="home_side_menu" />
                <xsl:choose>
                  <xsl:when test="string-length(text/child::*[attribute::seq=12])=0" >
                    <xsl:comment>emergency alert not active</xsl:comment>
                  </xsl:when>
                  <xsl:otherwise>
                    <div id="emergency">
                    <div id="emergencyClose">
                      <a onclick="document.getElementById('emergency').style.display='none';">
                        close <img src="/aacc-cms/general/images/icons/controls/close.png" />
                        </a>
                      </div>
                      <div id="emergencyHeader"><h1>AACC Alert</h1></div>
                      <xsl:apply-templates select="text/child::*[attribute::seq=12]" />
                      <br /><br />
                    </div>
                  </xsl:otherwise>
                </xsl:choose>
              <div class="home_rotator_img">
                    <xsl:call-template name="aacc_home_rotator" /><xsl:comment>rotator</xsl:comment>
              </div>
            </div>
      <div id="body_container_top_bg"><div id="body_container_bottom_bg"><div id="homepage_body_container">
            <div class="bottom_center_home">
              <div id="bottom_center_content">
                <xsl:if test="string-length(image/child::*[attribute::seq=1]/imgFile)>0" >
                  <div id="homepage_ad_1a">
                    <xsl:apply-templates select="image/child::*[attribute::seq=1]" />
                  </div>
                </xsl:if>
                <div id="homepage_ad_1b">
                  <xsl:comment>bottom ad</xsl:comment>
                  <a href="#"><xsl:apply-templates select="image/child::*[attribute::seq=2]" /></a>
                </div>
              </div>
            </div>
           <div id='e2campus' style="visibility:hidden;"> <script type="text/javascript" src="http://widgets.omnilert.net/f300fe3c5dccfdb6d076ecb0048934fa-1791">//</script> </div><!--E2campus smart code-->
            <div id="body_bottom_left_home">
              <div id="body_bottom_right_home">
                <h2>AACC Highlights </h2>
                <div class="highlights">
                  <div class="highlights_title">
                    <xsl:if test="string-length(text/child::*[attribute::seq=7])>0" >
                      <div id="tertiary_1_txt1" ><xsl:apply-templates select="text/child::*[attribute::seq=7]" /><img src="/aacc-cms/general/image/cleardiv.png" /></div>
                    </xsl:if>
                  </div>
                </div>
                <div class="highlights">
                  <div class="highlights_title">
                    <xsl:if test="string-length(text/child::*[attribute::seq=8])>0" >
                      <div id="tertiary_1_txt2" ><xsl:apply-templates select="text/child::*[attribute::seq=8]" /><img src="/aacc-cms/general/image/cleardiv.png" /></div>
                    </xsl:if>
                  </div>
                </div>
                <div class="highlights">
                  <div class="highlights_title">
                    <xsl:if test="string-length(text/child::*[attribute::seq=9])>0" >
                      <div id="tertiary_1_txt3" ><xsl:apply-templates select="text/child::*[attribute::seq=9]" /><img src="/aacc-cms/general/image/cleardiv.png" /></div>
                    </xsl:if>
                  </div>
                </div>
                <div class="highlights">
                  <div class="highlights_title">
                    <xsl:if test="string-length(text/child::*[attribute::seq=10])>0" >
                      <div id="tertiary_1_txt4" ><xsl:apply-templates select="text/child::*[attribute::seq=10]" /><img src="/aacc-cms/general/image/cleardiv.png" /></div>
                    </xsl:if>
                  </div>
                </div>
                <div class="highlights">
                  <div class="highlights_title">
                    <xsl:if test="string-length(text/child::*[attribute::seq=11])>0" >
                      <div id="tertiary_1_txt5" ><xsl:apply-templates select="text/child::*[attribute::seq=11]" /><img src="/aacc-cms/general/image/cleardiv.png" /></div>
                    </xsl:if>
                  </div>
                </div>
                <xsl:if test="string-length(image/child::*[attribute::seq=3]/imgFile)>0" >
                  <div class="highlights_last">
                    <div class="highlights_last_title">
                      <xsl:apply-templates select="image/child::*[attribute::seq=3]" />
                    </div>
                  </div>
                </xsl:if>
                <xsl:if test="string-length(image/child::*[attribute::seq=4]/imgFile)>0" >
                  <div class="highlights_last">
                    <div class="highlights_last_title">
                      <xsl:apply-templates select="image/child::*[attribute::seq=4]" />
                    </div>
                  </div>
                </xsl:if>
                <xsl:if test="string-length(image/child::*[attribute::seq=5]/imgFile)>0" >
                  <div class="highlights_last">
                    <div class="highlights_last_title">
                      <xsl:apply-templates select="image/child::*[attribute::seq=5]" />
                    </div>
                  </div>
                </xsl:if>
                <xsl:if test="string-length(image/child::*[attribute::seq=6]/imgFile)>0" >
                  <div class="highlights_last">
                    <div class="highlights_last_title">
                      <xsl:apply-templates select="image/child::*[attribute::seq=6]" />
                    </div>
                  </div>
                </xsl:if>
                <xsl:if test="string-length(image/child::*[attribute::seq=7]/imgFile)>0" >
                  <div class="highlights_last">
                    <div class="highlights_last_title">
                      <xsl:apply-templates select="image/child::*[attribute::seq=7]" />
                    </div>
                  </div>
                </xsl:if>
              </div>
              <div class="bottom_left_home">
                <h2 style="font-size:16px; font-weight:bold;"><a href="/newsroom" style="color:#ffffff;">AACC Newsroom</a></h2>
                <div id="home_news_content">
                  <!--<div class="homepage_news_item" style="color:#ff0000;">
                     <div class="homepage_news_headline">
                      <h3>Password Management Tool Unavailable 3/7-3/8</h3>
                    </div>
                    <div class="homepage_news_preview">
                      As part of the Friday scheduled system downtime which starts at 9:30 p.m., we will be upgrading the password management tool on March 7th. Due to the nature of this upgrade, we anticipate the password management tool to be unavailable until 3:30 p.m. on Sat., March 8th. During this time, you will not be able to reset your password. We will provide updates here on the AACC website and the portal.
                    </div>
                  </div> -->
                  <div id="news_articles" class="news_articles">
                  Loading newsroom feed...
                    <img src="/aacc-cms/general/image/cleardiv.png" />
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </xsl:template>
    <xsl:template match="image/child::*[attribute::seq &lt; 3]" ><xsl:call-template name="genImg" /><br /></xsl:template>
    <xsl:template match="image/child::*[attribute::seq &gt; 2]" ><xsl:call-template name="genImg" /></xsl:template>
    </xsl:stylesheet>

  • Generate XML output using DBMS_XMLGEN.getxmltype and not from rdf

    Hi,
    I have a requirement to display output from a particular table in XL format. Out of all the known possible options, I am planning to use the XML publisher to generate XL output.
    For the data source, instead of using the conventional way of creating XML data using rdf,I am planning to use DBMS_XMLGEN.getxmltype pl/sql procedure to generate the XML output. And from the output, call the template to generate the required Excel output.
    Now, I am using the following code to generate XML output but am not sure how to proceed from here. I need to first print the XML data in the FND Output file after which I was planning to call the 'XML Report Publisher' (XDOREPPB) program and use the current request id to get the excel output but I am not able to find the way to print the XML data in the output file as:
    fnd_file.put_line (fnd_file.output, l_xml_type); - is throwing an error as l_xml_type is an XML data output.
    PROCEDURE xml_main (
    errbuf OUT VARCHAR2
    ,retcode OUT VARCHAR2
    ,p_project_from IN VARCHAR2
    ,p_project_to IN VARCHAR2
    AS
    l_xml_type XMLTYPE;
    BEGIN
    SELECT DBMS_XMLGEN.getxmltype
    ('SELECT fnd_global.conc_request_id
    ,TO_CHAR (segment1)
    ,to_char(start_date,''MM/DD/RRRR'')
    ,to_char(xxmcc_project_details_pkg.current_profit_projection
    (project_id),''999,999,990.90'')
    ,to_char(xxmcc_project_details_pkg.cost_to_date (project_id),''999,999,990.90'')
    ,''1''
    FROM pa_projects_all
    WHERE segment1 BETWEEN NVL (p_project_from, segment1)
    AND NVL (p_project_to, segment1)')
    INTO l_xml_type
    FROM DUAL;
         fnd_file.put_line (fnd_file.output, l_xml_type);
    END xml_main;
    Can anyone point me as to how to publish XML output using a PL/SQL procedure (DBMS_XMLGEN.getxmltype)
    Thanks.

    Pl see if the example included in this presentation helps http://www.oracle.com/technology/products/applications/Events/OOW-2006/EBS/S281401_Sridhar_Bogelli.pdf
    Also, you do not need to explicitly call XDOREPPB in later versions of XML Publisher. If you set up everything correctly (as described in the presentation above and the link below) the Output Post Processor is called automatically after the XML file is generated successfully.
    Another excellent tutorial is at http://www.oracle.com/technology/obe/fusion_middleware/fusion/bi/xmlp_ebiz/index.html
    HTH
    Srini

Maybe you are looking for

  • Custom calculation script (roll date forward)

    I'm trying to add 6 days to a date that is in a user defined form field   called PeriodBegin The new calculated date should b e:   PeriodBegin + 6 days and should display in a new form field called PeriodEnd I've tried using some code that I've found

  • How to use multiple concurrent contexts

    I have a context package that uses a session_id. I want to use multiple sessions as I will have multiple users creating contexts at the same time. Once the context is created with a session_id I want to reference that session_id in a view. Can this b

  • Facing problem in having CANCEL functionlaity to a selection screen.

    Hello there,                 I have a selection screen. There i am calling another selection screen as selection screen within selection screen. I am calling this second selection screen as a pop-up screen, to that small pop-up i am setting a pf-stat

  • Developer read only account ?

    Is possible to have a "developer" account that only could see the pages' code and unable to modify it ? We have some scenarios where we would appreciate this functionality: 1. One stage of our development process is "Peer Review", where an external d

  • PC Photo Orientation

    When I downoad photos that I took with the I phone 4S to Windows 7 from Camera Roll I find that the orientation in some cases is incorrect depending on how I took the shot. When I attempt to orient the photo in Windows, I find that the folder has a r