Urgent help on conditional formatting using XML publisher

Folks can any one help me. I am trying to do conditional format in my xml publisher rtf template and I am having issues to render data in specific format. Please see the sample xml file
<?xml version="1.0" encoding="UTF-8"?>
<ColTrn:CollegeTranscript xmlns:AcRec="urn:org:pesc:sector:AcademicRecord:v1.0.0" xmlns:ColTrn="urn:org:pesc:message:CollegeTranscript:v1.0.0" xmlns:UseExt="urn:org:pesc:useextensions" xmlns:core="urn:org:pesc:core.CoreMain:v1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:org:pesc:message:CollegeTranscript:v1.0.0 http://www.regents.state.oh.us/articulation_transfer/AT/ATC/XML/Standards/Postsecondary/Transcript/v1.0.0/CollegeTranscript_v1.0.0.xsd urn:org:pesc:useextensions http://www.regents.state.oh.us/articulation_transfer/AT/ATC/XML/Standards/Postsecondary/Transcript/v1.0.0/OBRExtensions_v1.0.0.xsd">
<Student>
<Person>
<SchoolAssignedPersonID>0001567740</SchoolAssignedPersonID>
<Name>
<FirstName>WENDELL</FirstName>
<MiddleName>ROBERT</MiddleName>
<LastName>MORRISON</LastName>
</Name>
</Person>
<AcademicRecord>
<AcademicAward>
<AcademicAwardLevel>2.4</AcademicAwardLevel>
<AcademicAwardDate>2004-03-20</AcademicAwardDate>
<AcademicAwardTitle>BACHELOR OF SCIENCE IN EDUCATION</AcademicAwardTitle>
<AcademicCompletionIndicator>true</AcademicCompletionIndicator>
<AcademicCompletionDate>2004-03-20</AcademicCompletionDate>
<AcademicAwardProgram>
<AcademicProgramType>Major</AcademicProgramType>
<AcademicProgramName>INTEGRATED SOCIAL STUDIES (BS6308)</AcademicProgramName>
</AcademicAwardProgram>
<AcademicAwardProgram>
<AcademicProgramType>Minor</AcademicProgramType>
<AcademicProgramName>PSYCHOLOGY (OR4101)</AcademicProgramName>
</AcademicAwardProgram>
<NoteMessage>EDUCATION AND HUMAN SERVICES</NoteMessage>
<AcademicSummary>
<AcademicSummaryType>SenderOnly</AcademicSummaryType>
<AcademicSummaryLevel>Undergraduate</AcademicSummaryLevel>
<GPA>
<GradePointAverage>2.835</GradePointAverage>
</GPA>
<ClassRank>408</ClassRank>
<ClassSize>533</ClassSize>
</AcademicSummary>
</AcademicAward>
<AcademicAward>
<AcademicAwardLevel>2.4</AcademicAwardLevel>
<AcademicCompletionIndicator>false</AcademicCompletionIndicator>
<AcademicAwardProgram>
<AcademicProgramType>Minor</AcademicProgramType>
<AcademicProgramName>HISTORY (OR4211)</AcademicProgramName>
</AcademicAwardProgram>
</AcademicAward>
</Student>
</ColTrn:CollegeTranscript>
I am trying to generate the output in the below format -
[ The University Degrees Conferred section is printed if  /AcademicRecord/AcademicAward/AcademicCompletionIndicator = true and  AcademicProgramType = 'Major' Then ]
********** UNIVERSITY DEGREE(S) CONFERRED ******************
DATE : Mar 20, 2004 => <AcademicAwardDate>
COLLEGE : EDUCATION AND HUMAN SERVICES => <NoteMessage>
DEGREE : BACHELOR OF SCIENCE IN EDUCATION => <AcademicAwardTitle>
PROGRAM(S) : INTEGRATED SOCIAL STUDIES (BS6308) => <AcademicProgramName>
ACCUM GPA : 2.835 => AcademicSummary/GPA/GradePointAverage
GRAD RANK : 408 IN TOTAL OF 533 => <ClassRank> and <ClassSize>
[ The below section should print if the student has AcademicProgramType = 'Minor' and Academiccompletionindicator = true ]
******OTHER UNIVERSITY PROGRAM(S) COMPLETED******
DATE Mar 16, 2002 PROGRAM : PSYCHOLOGY (OR4101) => <AcademicProgramName> where AcademicProgramType = 'Minor'
[ The below section should print if Academiccompletionindicator = false print all majors and minors.
CURRENT PROGRAM(S) OF STUDY
PROGRAM(S) : HISTORY (OR4211)
=> AcademicProgramName where AcademicAward/AcademicCompletionIndicator = 'false'
Please help me guys. I really appreciate your help.
Thanks
Pradeep

I have sent you a modified template. Please take a look.
Assign points and close out the thread if you are satisfied.
Thanks,
Bipuser

Similar Messages

  • Issue with conditional formatting in XML publisher report

    Hi All,
    I am working on a XML report where in I am required to use conditional formatting to highlight changes, if there is change in any of the column value. The condition is required to be implemented on a text column as well as a number column. I have tried to use the conditional formatting available in the BI Publisher Release 10.1.3.2, wherein I have compared the two columns, and when they are not equal to, then formatting should change to red color; but the same is not working in the excel output.
    Can anybody help here?
    Thanks,
    Nitin

    Cross conditional formatting ie formatting based on some other column is not supported in pivot view.
    There are some workaround.See if that helps
    http://www.obinotes.com/2010/03/pivot-view-conditional-formatting-in.html
    Regards,
    Sandeep

  • Help bring a multipage scanned document (TIFF) in PDF format using XML Publ

    Help bring a multipage scanned document (TIFF) in PDF format using XML Publisher.
    In the generated XML file data into BLOB field is, but their XML Publisher can not handle.
    If the output TIFF, multipage PDF file in the report, the report prints a blank.
    <fo:instream-foreign-object content-type="image/tiff"> <xsl:value-of select=".//FILE_DATA"/>
    If the output JPG file to a PDF report, all displayed perfectly.
    <fo:instream-foreign-object content-type="image/jpg" height="9 cm" width="12 cm">
    <xsl:value-of select=".//FILE_DATA"/>
    Thanks

    It seems that these error messages MOD_OC4J_0184 etc are associated with some sort of timeout.
    My problem finally solved - see my comments at:
    Re: FOP
    I would like to see the PDF format using FOP docs made clearer that 2 http servers are involved in this process, one serving htmldb pages and the other oc4j stuff.
    Is it possible to do the PDF format using FOP with only the htmldb http server??
    Cheers
    KIM

  • Need help in printing text at back page using XML Publisher

    Hi,
    I need to print instructions (static text) at the back page of my report ouput using XML publisher. Oracle Application used is 11.5.10. Please help me to reslove.

    Hi,
    Did you see "Oracle XML Publisher User's Guide" manual available at --> http://www.oracle.com/technology/documentation/applications.html
    Regards,
    Hussein

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

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

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

  • How can i display page number in this format in xml publisher report (1-1)

    in this format
    1-1
    1-2
    1-3
    2-1
    2-2
    2-3
    can i display page nos in this format in xml publisher please help me on this

    Hi,
    Use the SET COUNTRY..
    SET COUNTRY 'US'.
    write: / sy-datum.
    SET COUNTRY 'IN'.
    write: / sy-datum.
    Thanks,
    Naren

  • Excel Output for Standard Reports using XML Publisher

    Hi All,
    Customer wants to get Excel Output for the existing Standard/Custom Reports using XML Publisher. I followed the following procedure.
    1. Changed the output to XML for Concurrent program ( Trial Balance - Detail )
    2. Used the Existing seeded Template
    3. Ran the Report using EXCEL as the output.
    When I clicked on View Output, I am not able to see the Excel output. I am seeing the HTML tags in the output window. Verified that Viewer Options existed for Excel as follows:
    File Format=Excel, Mime Type=application/vnd.ms-excel.
    When I ran the report with PDF output. I can see the PDF output.
    Ran the HTML output with new Viewer Option ( File Format=HTML, Mime Type=application/vnd.ms-excel) then I can see the output in Browser in the Excel format. I did this test after going through the Metalink Note: Note:316752.1
    My question is.. Do I need always choose the HTML ouput in the options window to trigger the Viewer option for HTML. Customer may not like this idea. He would like to choose the Excel Output and see the output in Excel format either in the Browser or Microsoft Excel.
    Can someone in this situation before help me out.
    Thanks,
    V

    Questions rephrase:
    1. Is the output is same for HTML and Excel options ?
    2. Why the output is viewable with HTML option and not with Excel option ?
    Customer has XML Publisher Version 5.0.1 and in the process of applying 5.6.1
    Thanks,
    V

  • Not getting Euro Symbol in PDF Report using XML Publisher

    Hi,
    We have developed an Oracle Report from Report Builder 6i and also a Template in RTF Format.
    We are using XML Publisher to display our XML Output in PDF Format to Users..
    There is a Field called Comments on Customer Transaction Form, where user can enter any characters and that we are querying in Report and displaying on the PDF Output.
    Currently, the user entered a Euro Character on the comments section and that was not visible to user on PDF Report and replaced by a Question Mark as below:
    "3% price reduction ?89.91, 20% marine"
    When i am Querying to the Database, i am able to see the Euro Symbol, but when i checked the XML generated on the Unix Box for the Report. I found as below:
    "3% price reduction \342\202\25489.91, 20% marine"
    So, the Euro Symbol on the database is replaced by " \342\202\254" in the XML Output and ? in the PDF Outbut.
    Please help ASAP.
    Regards
    Saurabh Jaiswal

    one way
    value set based on view (view - select level id, chr(level) cl connect by level <= 500)
    for example, chr(64) - @
    so in xml you have code of @. sample xml is
    <ROWSET>
      <ROW>64</ROW>
    </ROWSET>in rtf template pick
    <?xdofx:chr(to_number(ROW))?>
    select chr(14844588)  from dual
    €Edited by: AlexAnd on Aug 23, 2011 12:46 AM

  • Error while running the XML file using XML Publisher Desktop

    Hi All,
    We have successfully loaded the XML file using XML Publisher Desktop.But when we try to preview it using the PDF format we are getting the following error.
    Font Dir: C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\fonts
    Run XDO Start
    RTFProcessor setLocale: en-us
    FOProcessor setData: C:\Documents and Settings\smanmadh\Desktop\ProductCompensationDT.xml
    FOProcessor setLocale: en-us
    java.lang.NullPointerException
         at oracle.apps.xdo.template.fo.area.PageNumber.formatString(PageNumber.java:104)
         at oracle.apps.xdo.template.fo.IDManager.registerId(IDManager.java:44)
         at oracle.apps.xdo.template.fo.area.AreaTree.registerLastPageJoinSeq(AreaTree.java:1106)
         at oracle.apps.xdo.template.fo.area.AreaTree.incrementJoinSequenceIndex(AreaTree.java:219)
         at oracle.apps.xdo.template.fo.area.AreaTree.registerLastPageDocument(AreaTree.java:1089)
         at oracle.apps.xdo.template.fo.area.AreaTree.forceOutput(AreaTree.java:471)
         at oracle.apps.xdo.template.fo.elements.FORoot.end(FORoot.java:58)
         at oracle.apps.xdo.template.fo.FOHandler.endElement(FOHandler.java:386)
         at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
         at oracle.apps.xdo.template.fo.FOProcessingEngine.process(FOProcessingEngine.java:279)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:1022)
         at RTF2PDF.runRTFto(RTF2PDF.java:626)
         at RTF2PDF.runXDO(RTF2PDF.java:460)
         at RTF2PDF.main(RTF2PDF.java:251)
    Any pointers will be of great help.
    Thanks in Advance
    Sudeep.


    I had a similar error which when I searched, came up with this thread.
    My issue was resolved after I discovered that my RTF template was not really RTF. It was sill in MS Word DOC format. This was discovered by reviewing two templates in NOTEPAD. The MS-DOC files have a lot of "special" characters in them. My RTF was not really RTF.
    After doing a SAVE AS - RTF format, then the preview worked as expected.
    Just Sharing...
    --Tim                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to filter cancelled PO lines using XML publisher desktop

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

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

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

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

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

  • Creating a text output using XML Publisher

    Hi All,
    Recently i created a  report for my client using XMl Publisher. The Data Definition was XML and the template type was RTF and i got the output in a PDF format. All was going smoothly until the client decided at the last moment that they wanted to print this in a dot matrix printer!
    I've read some articles on XSL- Text layout templates. But i can't get my head around it (I'm Functio-Technical as opposed to Techno-Functional )
    How do i convert my RTF template to give me a text output?
    Miranga

    From what I know, you will have to create another template based on "XSL" layout or eText layout (both of them require different coding methods). The RTF can not create text outputs even in 11g. This is based on my experience so far. You can create RTF output (available by default) based on the current layout that you use for PDF and see if it can be printed in a dot matrix printer though.

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

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

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

  • How to print total amount in last page of purchase orde using xml publisher

    Hi
    I customizing purchase order report using xml publisher.
    i have to print total amount at last every purchse order.
    how to compare carry forward amount in xml publisher

    I think the guys overhere :
    BI Publisher
    can help you a lot better

  • Getting error while running the XML file using XML Publisher Desktop

    Hi all,
    We have successfully loaded the XML file using XML Publisher Desktop. But when we preview the same using PDF format we are getting the following error.
    Font Dir: C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\fonts
    Run XDO Start
    RTFProcessor setLocale: en-us
    FOProcessor setData: C:\Documents and Settings\smanmadh\Desktop\ProductCompensationDT.xml
    FOProcessor setLocale: en-us
    java.lang.NullPointerException
         at oracle.apps.xdo.template.fo.area.PageNumber.formatString(PageNumber.java:104)
         at oracle.apps.xdo.template.fo.IDManager.registerId(IDManager.java:44)
         at oracle.apps.xdo.template.fo.area.AreaTree.registerLastPageJoinSeq(AreaTree.java:1106)
         at oracle.apps.xdo.template.fo.area.AreaTree.incrementJoinSequenceIndex(AreaTree.java:219)
         at oracle.apps.xdo.template.fo.area.AreaTree.registerLastPageDocument(AreaTree.java:1089)
         at oracle.apps.xdo.template.fo.area.AreaTree.forceOutput(AreaTree.java:471)
         at oracle.apps.xdo.template.fo.elements.FORoot.end(FORoot.java:58)
         at oracle.apps.xdo.template.fo.FOHandler.endElement(FOHandler.java:386)
         at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
         at oracle.apps.xdo.template.fo.FOProcessingEngine.process(FOProcessingEngine.java:279)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:1022)
         at RTF2PDF.runRTFto(RTF2PDF.java:626)
         at RTF2PDF.runXDO(RTF2PDF.java:460)
         at RTF2PDF.main(RTF2PDF.java:251)
    Thanks in Advance.
    Sudeep.

    This is BI related. You will get a quicker answer from the BI Publisher forum
    BI Publisher

Maybe you are looking for

  • When to clone both appl and Db.

    Hi, I have 10g DB and R12.0.6 ebs PROD we use to clone TEST instance as of PROD when developers or consultants request for a TEST instance same as PROD. My Question is. What are the scenario in which : 1)I need to clone only DB and just run autoconfi

  • IF there are two release strategy, How it will work?

    Hi, Can u Please help, if we have two release strategy, and PO first gets blocked by one release strategy,  if we release that PO and check for the another release strategy, it is possible in ABAP? and How? Which Function module or BAPI we have to us

  • Separate excel from xcelsius

    Does anybody know how to separate an underlying excel page from the created dashboard on which it is based on? I would really appreciate specifics if possible. Thanks!!

  • FileVault + USB Flash drive = can't open excel files

    I can't open files in Excel that are stored on flash drives (I have several flash drives with the same files) in my account that has FileVault enabled. The files open just fine when copied to the Desktop. Same flash drive, same computer, same Excel,

  • Problems with new Acrobat X

    First problem is I tried to use the contact us link at the bottom of this page  https://createpdf.acrobat.com/features.html?x=1  but it is not a functioning link. This email address does not exist. So, anyway, here is the body of the email I tried to