Template for ApplicationStructure.xml

Hi
Can i specify any templates for ApplicationStructure.xml?
The point is to define some parameters, which i want to set for all future generation. But after each generation of ApplicationStructure.xml i need to change them to my default values (f.e. default date format is dd-MMM-yyyy, but i want to use dd.MM.yyyy).

Sasha,
The TemplateApplicationStructure.xml file is included in the PrjWizard.jar (one of the JDeveloper add-ins). You can change the contents of the jar (though you will have to do it again after upgrading JHeadstart).
Steps:
* Unzip the PrjWizard.jar file using folder structure (possibly first rename .jar to .zip)
* Change oracle/jheadstart/tools/appwizard/templates/TemplateApplicationStructure.xml to your liking
* Zip the files again, making sure that the folder paths start with oracle and META-INF respectively
* Rename to PrjWizard.jar and install in JDeveloper (see JHeadstart installation guide).
Hope this helps,
Sandra Muller
JHeadstart Team
Oracle Consulting

Similar Messages

  • Unable to establish a for loop in custom rtf template for seeded xml file

    Hi Experts ,
    I am Unable to establish a for loop in custom rtf template for seeded xml file. i am using <?:for-each:G_BSALINE?> FORM FIELD .....<?:FOR-EACH?END> .AM i missing something?
    Please help.
    Thanks

    Hi,
    Need more information about your XML data structure; however based on the code you provided, the synax does not look right; you have some colon sign where it is not needed etc... You could use the following (although not quite sure if you want to use Form Filed to group by or just display), but look at the example provided below.
    <?for-each-group:G_BSALINE?> FORM FIELD .....<?end for-each-group?>
    Example code:
    <?for-each-group:G_INVOICE_NUM;./INV_TYPE?>
    xxxxxxxxxx
    <?end for-each-group?>
    Thanks!

  • Default a rtf template for a Xml publisher report!

    Hello,
    How to default a layout template if multiple templates are registered for a Data template?
    and also how to delete a template?
    Thanks,

    Thank you all for the reply. I was talking about Xml publisher with EBS.
    As said...we can not delete the template but we can end date it and we can set the default template from the system administration responsibility.
    One more question regarding this : When we migrate the xml publisher seed data for this report( which include template which was endated) to other instance ( let say Development to Test)....we are unable to see the template in the test instance. All i meant was can we migrate the template which is end dated to other instance with the data definition??

  • Where is the template for config.xml

    when i modify settings using weblogic console, is config.xml changed
    according to a template?
    is the template available?

    Hi,
    Template files can be found under $ORACLE_HOME/appsutil/template (database) and $COMMON_TOP/clone/context/apps (application) directories.
    Note: 603104.1 - Troubleshooting RapidClone issues with Oracle Applications R12
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=603104.1
    Regards,
    Hussein

  • PDF Template for XML Report

    We are trying to create a PDF Template for an XML Publisher Report using Adobe Acrobat Profession Version. The PDF Template works fine for one employee but when the start and end body tags are inserted in the template, the concurrent process to submit this reports completes in warning.
    The OPP Log shows the below details
    [6/30/08 1:26:36 PM] [102436:RT20660155] XML Publisher post-processing action complete.
    [6/30/08 1:26:36 PM] [102436:RT20660155] Completed post-processing actions for request 20660155.
    [6/30/08 2:29:59 PM] [OPPServiceThread0] Post-processing request 20660180.
    [6/30/08 2:29:59 PM] [102436:RT20660180] Executing post-processing actions for request 20660180.
    [6/30/08 2:29:59 PM] [102436:RT20660180] Starting XML Publisher post-processing action.
    [6/30/08 2:29:59 PM] [102436:RT20660180]
    Template code: Test123
    Template app: XBOL
    Language: en
    Territory: US
    Output type: PDF
    [6/30/08 2:29:59 PM] [UNEXPECTED] [102436:RT20660180] oracle.apps.fnd.cp.opp.PostProcessorException: XML Publisher output file not created
    at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:281)
    at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    I think this is do which how i am creating the PDF Template. When i am not inserting the repearting group tootips then the PDF Template works abosoultey fine for one employee
    the text inserted in the Toottip for the start of the repeating group - @{rep_field="BODY_START"}@
    Tootip for each repeating row @{rep_field="T1_G1"}@ ,@{rep_field="T1_G2"}@ and so on.
    Tootip for end of the repating group @{rep_field="BODY_END"}@

    XML Data
    <?xml version="1.0"?>
    <!-- Generated by Oracle Reports version 6.0.8.11.3 -->
    <MODULE1>
    <LIST_G_HGL>
    <G_HGL>
    <EMPLOYER>HWS</EMPLOYER>
    <BOX_1>YEN</BOX_1>
    </G_HGL>
    <G_HGL>
    <EMPLOYER>HGL</EMPLOYER>
    <BOX_1>YE</BOX_1>
    </G_HGL>
    </LIST_G_HGL>
    </MODULE1>
    Further when i tried using the Template Viewer of XML Publisher Desktop with the above XML File and the template i created in Adobe Acrobat Professional (i am mailing the template to [email protected]) , i got the following error
    [070808_093926007][][STATEMENT] MergerEngine.modify : template forms value is being changed......
    [070808_093926007][][STATEMENT] MergerEngine.modify(String, String, String) block ::: FieldName -> Start , FieldValue ->
    [070808_093926007][][STATEMENT] MergerEngine.modify(String, String, String) block ::: FieldName -> End , FieldValue ->
    [070808_093926038][][STATEMENT] MergerEngine.modify(String, String, String) block ::: FieldName -> EMPLOYER , FieldValue -> HGL
    [070808_093926054][][STATEMENT] MergerEngine.modify : template forms value is changed......
    [070808_093926054][][EXCEPTION] java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
         at java.util.Vector.elementAt(Unknown Source)
         at oracle.apps.xdo.template.pdf.RepeatEngine.getGapBetweenGroups(RepeatEngine.java:449)
         at oracle.apps.xdo.template.pdf.RepeatEngine.<init>(RepeatEngine.java:154)
         at oracle.apps.xdo.template.pdf.RepeatEngine.<init>(RepeatEngine.java:101)
         at oracle.apps.xdo.template.FormProcessor.processRepeatableFields(FormProcessor.java:1742)
         at oracle.apps.xdo.template.FormProcessor.processRepeatableFields(FormProcessor.java:1684)
         at oracle.apps.xdo.template.FormProcessor.process(FormProcessor.java:1445)
         at oracle.apps.xdo.template.FormProcessor.process(FormProcessor.java:1583)
         at oracle.apps.xdo.runner.PDFFormRunThread.runFormProcessor(PDFFormRunThread.java:131)
         at oracle.apps.xdo.runner.PDFFormRunThread.runFormProcessor(PDFFormRunThread.java:73)
         at oracle.apps.xdo.runner.PDFFormRunThread.run(PDFFormRunThread.java:45)
    [070808_093926054][][STATEMENT] <--- before calling createContents() --->
    [070808_093926086][][STATEMENT] <--- before calling addFontInfoToResources() --->
    [070808_093926086][][EXCEPTION] oracle.apps.xdo.template.pdf.exception.FatalException: page Key can't be found to duplicate page......
         at oracle.apps.xdo.template.pdf.RepeatEngine.getDupPageKey(RepeatEngine.java:1421)
         at oracle.apps.xdo.template.pdf.RepeatEngine.composePages(RepeatEngine.java:827)
         at oracle.apps.xdo.template.FormProcessor.processRepeatableFields(FormProcessor.java:1743)
         at oracle.apps.xdo.template.FormProcessor.processRepeatableFields(FormProcessor.java:1684)
         at oracle.apps.xdo.template.FormProcessor.process(FormProcessor.java:1445)
         at oracle.apps.xdo.template.FormProcessor.process(FormProcessor.java:1583)
         at oracle.apps.xdo.runner.PDFFormRunThread.runFormProcessor(PDFFormRunThread.java:131)
         at oracle.apps.xdo.runner.PDFFormRunThread.runFormProcessor(PDFFormRunThread.java:73)
         at oracle.apps.xdo.runner.PDFFormRunThread.run(PDFFormRunThread.java:45)
    End of Process.
    Time: 0.251 sec.
    FO Formatting failed.

  • Templates for XML documents  in Dreamweaver CS3?

    I have a strange question. Is it possible to create a DW
    template (.dwt) for an XML document with editable and repeatable
    regions? I would like to set up some templates that will allow my
    users to create new XML files and edit the appropriate regions with
    Contribute.
    Any advice would be greatly appreciated.
    Michael
    [email protected]

    I have a strange question. Is it possible to create a DW
    template (.dwt) for an XML document with editable and repeatable
    regions? I would like to set up some templates that will allow my
    users to create new XML files and edit the appropriate regions with
    Contribute.
    Any advice would be greatly appreciated.
    Michael
    [email protected]

  • Standard Mapping Templates for XML to Invoic02

    Hi Experts,
    I have been provided a customized XML from a partner which needs to be mapped to Invoic02 (Invoice Idoc).
    I wanted to know whether there are any standard mapping templates available for standard xml to invoice mapping (Example:
    XML standards are followed by xcbl).
    I have not been provided with the MIG.This will be helpful to me so that i can initially take up some of the field mappings.
    I have the following message which needs to be mapped to Invoic02 idoc :
    <?xml version="1.0" encoding="UTF-8" ?>
    <BlMessage>
    <TransactionInfo AcknowledgementRequested="false">
      <MessageSender>XXXX</MessageSender>
      <MessageRecipient>XXXX</MessageRecipient>
      <MessageID>XXX20090727_140928</MessageID>
      <Created>2009-08-18T14:09:28.450-07:00</Created>
      <FileName>XXX_310_20090727_140928560.xml</FileName>
      </TransactionInfo>
    <BL Sequence="1" Purpose="Original" BillType="SeaWaybill" CarrierScac="AAAA" ServiceType="NoCFS" MoveType="PortToPort" ShipmentId="22222" Payment="Collect" BLNumber="11111111">
    <References>
      <Reference referenceType="MutuallyDefined">20090406</Reference>
      </References>
    <Voyage>
    Thanks,
    Sudhansu

    I had to create an customized xsd.

  • Can enable a site template for subsites via editing webtemp.xml but how do I change in my solution files?

    I have a template wsp that I deploy then create a new top level site. The template is available perfectly.
    I then try to create a subsite and the template isn't available. So I went to .../14/TEMPLATE/1033/XML/WEBTEMP.XML
    I added in my template...
    <Template Name="MYTEMPLATE" SetupPath="SiteTemplates\MyTemplate" ID="202">
    <Configuration ID="0" Title="My Site Title" Hidden="FALSE" ImageUrl="" Description="A site I created."></Configuration>
    </Template>
    Now after an IIS reset the templates show under the "Custom" tab perfectly.
    BUT the question is what file do I change in my actual solution files before I package everything up? What would add this to the webtemp.xml automatically for me when my solution is deployed?
    Thanks,

    The terminology is confusing, but what you are actually adding is a "Site Definition".  Site Templates are .wsp files that can be saved as a snapshot of an existing site for re-use.  These .wsp files are stored in the site template gallery of a
    site collection.  There are also Web Templates that are similar to Site Definitions since they use an ONET.XML file, but they are activated using a Feature.  Together Site Definitions, Site Templates, and Web Templates are known as Site Templates
    in the User Interface.  But each one is deployed and activated differently.  Site Devfinitions are normally added to the environment by using Module features to deploy the site definition in its own subdirectory where the other site definitions are
    stored.  A custom webtemp file is also deployed instead of editing the existing file.  SahrePoint will pick up any file that is stored in that location that starts with webtemp and ends in .xml.  So you can deploy a new webtemp file called Webtemp_custom.xml.
    If you are actually deploying a site template then you just upload it to the site template gallery of the site collection.  If you still aren't seeing it in the custom tab then its probably because the root site has restricted the available site templates
    for creating subsites.  This is common in Publishing sites, but can be done in any site.  In Publishing sites there is a link on the site settings page that you can use to select what site templates are available to create sub sites.  In non-publishing
    sites it requires powershell
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Dynamically set template for Print Quote report

    We need to customize "Print Quote" in Quoting
    As part of this we will be having 2 custom templates (will be related to data definition "Quote Printing", ASOPRT).
    These two templates have to be defaulted based on the quote status - one for status "Approved", and the other template for other non "Approved" statuses.
    How can this be achieved dynamically? (OAF CO customization / personilization)
    There doesn't seem to be any setup for assigning different templates based on status.
    Profile option "ASO: Default Layout Template" can be utilized to change the default template, but we need this template to be defaulted dynamically based on the Quote status.
    Thanks,
    Sumanth
    Edited by: user1131947 on Oct 25, 2011 3:51 AM

    If you want to create a custom report using concurrent program then refer:
    http://apps2fusion.com/apps/apps/63-xml-publisher-concurrent-program-xmlp
    If you want to create a custom report using OAF page then refer:
    http://apps2fusion.com/at/51-ps/260-integrating-xml-publisher-and-oa-framework
    -Anand

  • XML publisher report not generating output for huge XML files

    Changed Depreciation Projections Report output type to XML.
    Defined a Data Definition and a new Data Template (RTF) for this report.
    Ran the Depreciation Projection Report to generate the XML output.
    Ran the XML Report Publisher report to generate teh PDF/Excel output of the above report.
    Output generated for smaller XML files. When XML size is big, the program is running for hours without generating the output.
    Teh RTF template is basically a matrix report in which the number of columns in the report is based on the number of periods the report is run for.
    The same is not working in the Desktop version also. The system is hanging when i try to view the preview pdf.
    The XML file size is approximately 33 MB.
    Please let me know if there is any way we can increase the memory size to see the output.
    Thanks,
    Ram.

    for publisher use Category: E-Business Suite

  • Creating Parameters in RTF Template for BI Publisher Report

    hi,
    I have created Parameters in my BI Publisher Report and in SQL query. But i need to create same parameters in RTF Template , so that when i publish this report in dashboard , parameters will be visible. Can you please tell me how to create Parameters in RTF Template for BI Publisher Report ? I am not finding option. Please let me know .
    Thanks in advance
    Gayathri.

    all the parameter's value will be there in your xml .
    just you need to add parameter heading and corresponding xml tag name to get the parameter value on the report.
    if u dont have you can try like below
    https://blogs.oracle.com/xmlpublisher/entry/get_your_parameters_here_guv
    Declare Parameter in RTF Template
    Before you use the parameter in the RTF template file you need to declare it first. You can do so by having the following syntax.
    <?param@begin:%parameter_name%?>
    Note: where %parameter_name% is the parameter name that you have created at the BI Publisher Server UI.
    Here is an example:
    <?param@begin:param1?>
    Use it in RTF Template!
    Once it’s declared in the RTF template you can start using it as the same way you use the variable. You need to just add ‘$’ prefix in front of the parameter name. Here is the example:
    <?$param1?>
    The above example would print the parameter value in the report output. If you want to use this value in your condition or calculation you can simply use it as ‘$param1’. Yes, it’s that simple.
    If you are not sure if and how the parameter values are passed to the report when you run the report you can use this command in your RTF template, which will return all the parameter values passed to the RTF template at the runtime.
    <?xdoxslt:getXDOProperties($_XDOCTX)?>
    http://kirti-bi-solutions.blogspot.com/2009/06/passing-parameters-from-obiee.html

  • Fix Cheque position in RTF Templates for AP Payments R12

    Hi,
    I created rtf template for check printing. I have to print invoices details first and after that check at the bottom of the page. I need to print invoices on the cheque page only when total invoice count < = 3 which I am able to control. I am facing issue when for 3 invoices the table height is variable, depends on invoice description this table size is changing. How I can give the fixed-height for invoice table or how I can specify exact place for check (at the bottom of each page )
    Thanks
    Mital

    Hi Prakhar,
    Please note the cheque is not an image its in a table.
    Even if I fix a table using table positioning in the output it doesnot print at the fixed position which I have provided in my RTF.
    Please let me know if you would want to see the sample XML Data and RTF that I have created which can be easier to debug.
    Thanks for your help,
    Mital

  • How to make a RTF-Template for the Bill Presentment Architecture (BPA)

    Hallo,
    I search a way to make an external RTF-template for the Oracle Receivables Balance Forward - Detail report in the Bill Presentment Architecture (BPA).
    I've never done that.
    I don't know how to get a XML-file of this request to use for the creation of the RTF-file.
    And so I don't know how to specify in the RTF the LOOPs for the Lines and other If-conditions and so on.
    Can anybody help me?
    Thanks.
    Edited by: user2609890 on 23.06.2009 01:25

    HI,
    Can you please help me in finding XML output for Invoice Print BPA Child Program. I have tried changing the output format to XML but no luck. If you can send me any suggestion to my email address [email protected] would be very helpful.
    Also, Did you try adding any conditional formatting (eg. <?if:column_name='value'?>) in RTF template? is it working?
    Any help is appreciated.
    Thanks
    Deepak

  • Error in Java Mapping for Single XML conversion

    We are working on ABAP Proxy --> SAP PI 7.1 --> SOAP (Synchronous Scenario).
    (ECC -> PI -> Legacy CRM)
    Client has provided a WSDL with Single Node of XML and asking us to pass the whole structure as an single string along with all the nodes of data structure. To perform mapping we are using Java Mapping.
    Message which we are getting after Java Mapping:
    Input
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_SOReject_Sender xmlns:ns0="http://MTSINDIA/TC/SalesOrderReject">
       <ITEM>
          <sSlsOrderCode>1001</sSlsOrderCode>
          <sDlrCode>A250</sDlrCode>
          <sRejectReason>Z2</sRejectReason>
          <nCircleCode>2</nCircleCode>
       </ITEM>
    </ns0:MT_SOReject_Sender>
    Output
    <?xml version="1.0" encoding="UTF-8"?><MT_Trg xmlns:ns="urn:Test_File_to_File"><stringinp>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;ns0:MT_SOReject_Sender xmlns:ns0="http://MTSINDIA/TC/SalesOrderReject"&gt;&lt;ITEM&gt;&lt;sSlsOrderCode&gt;1001&lt;/sSlsOrderCode&gt;&lt;sDlrCode&gt;A250&lt;/sDlrCode&gt;&lt;sRejectReason&gt;Insufficient Stock Balance&lt;/sRejectReason&gt;&lt;nCircleCode&gt;2&lt;/nCircleCode&gt;&lt;/ITEM&gt;&lt;/ns0:MT_SOReject_Sender&gt;</stringinp></MT_Trg>
    Is ther any way from which we can convert &gt; as u201C>u201D and &lt; as u201C<u201D.  Required result is as follows
    Required Output
    <?xml version="1.0" encoding="UTF-8"?><MT_Trg xmlns:ns="urn:Test_File_to_File"><stringinp><?xml version="1.0" encoding="UTF-8"?><ns0:MT_SOReject_Sender xmlns:ns0="http://MTSINDIA/TC/SalesOrderReject"><ITEM><sSlsOrderCode>1001</sSlsOrderCode><sDlrCode>A250</sDlrCode><sRejectReason>Insufficient Stock Balance</sRejectReason><nCircleCode>2</nCircleCode></ITEM></ns0:MT_SOReject_Sender></stringinp></MT_Trg>
    We are using following Java Code for the same.
    import java.io.BufferedReader;
              import java.io.FileInputStream;
              import java.io.FileOutputStream;
              import java.io.InputStream;
              import java.io.InputStreamReader;
              import java.io.OutputStream;
              import java.util.Map;
              import javax.xml.parsers.DocumentBuilder;
              import javax.xml.parsers.DocumentBuilderFactory;
              import javax.xml.transform.Transformer;
              import javax.xml.transform.TransformerFactory;
              import javax.xml.transform.dom.DOMSource;
              import javax.xml.transform.stream.StreamResult;
              import org.w3c.dom.Element;
              import org.w3c.dom.Document;
              import org.w3c.dom.Text;
              import com.sap.aii.mapping.api.*;
              import com.sap.aii.mapping.api.StreamTransformation;
    public class SingleStr implements StreamTransformation{
          * @author user
          * To change the template for this generated type comment go to
          * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
                    public static void main(String args[]) throws Exception {
                FileInputStream inFile =
                 new FileInputStream("C:/Documents and Settings/user.HR0102WILT00033/Desktop/Input.XML");
                FileOutputStream outFile =
                 new FileOutputStream("C:/Documents and Settings/user.HR0102WILT00033/Desktop/Output.XML");
                 SingleStr xml = new SingleStr();
                xml.execute(inFile, outFile);
                System.out.println("Success");
               public void setParameter(Map param) {
                Map map = param;
               public void execute(InputStream in, OutputStream out)
                throws com.sap.aii.mapping.api.StreamTransformationException {
                try {
                 //************************Code To Generate The XML Parsing Objects*****************************//    
                 DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
                 DocumentBuilder db = dbf.newDocumentBuilder();
                 TransformerFactory tf = TransformerFactory.newInstance();
                 Transformer transform = tf.newTransformer();
                 //Document doc = db.parse(in);
                 Document docout = db.newDocument();
                 Element root = docout.createElement("MT_Trg");
                 root.setAttribute("xmlns:ns","urn:Test_File_to_File");
                 docout.appendChild(root);
                 Element stringinp = docout.createElement("stringinp");
                 root.appendChild(stringinp);
                 BufferedReader inpxml = new BufferedReader(new InputStreamReader(in));
                 StringBuffer buffer = new StringBuffer();
                 String line="";
                 while ((line = inpxml.readLine()) != null)
                 buffer.append(line);
                 String inptxml=buffer.toString();
                 Text srcxml = docout.createTextNode(inptxml);
                 stringinp.appendChild(srcxml);
                 DOMSource domS = new DOMSource(docout);
                 transform.transform((domS), new StreamResult(out));
                 } catch (Exception e) {
                   System.out.print("Problem parsing the file: " + e.getMessage());
                   e.printStackTrace();
    Please help!!

    We are using following Java Code for the same.
    import java.io.BufferedReader;
              import java.io.FileInputStream;
              import java.io.FileOutputStream;
              import java.io.InputStream;
              import java.io.InputStreamReader;
              import java.io.OutputStream;
              import java.util.Map;
              import javax.xml.parsers.DocumentBuilder;
              import javax.xml.parsers.DocumentBuilderFactory;
              import javax.xml.transform.Transformer;
              import javax.xml.transform.TransformerFactory;
              import javax.xml.transform.dom.DOMSource;
              import javax.xml.transform.stream.StreamResult;
              import org.w3c.dom.Element;
              import org.w3c.dom.Document;
              import org.w3c.dom.Text;
              import com.sap.aii.mapping.api.*;
              import com.sap.aii.mapping.api.StreamTransformation;
    public class SingleStr implements StreamTransformation{
               public static void main(String args[]) throws Exception {
                FileInputStream inFile =
                 new FileInputStream("C:/Documents and Settings/user.HR0102WILT00033/Desktop/Input.XML");
                FileOutputStream outFile =
                 new FileOutputStream("C:/Documents and Settings/user.HR0102WILT00033/Desktop/Output.XML");
                 SingleStr xml = new SingleStr();
                xml.execute(inFile, outFile);
                System.out.println("Success");
               public void setParameter(Map param) {
                Map map = param;
               public void execute(InputStream in, OutputStream out)
                throws com.sap.aii.mapping.api.StreamTransformationException {
                try {
                 DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
                 DocumentBuilder db = dbf.newDocumentBuilder();
                 TransformerFactory tf = TransformerFactory.newInstance();
                 Transformer transform = tf.newTransformer();
                 //Document doc = db.parse(in);
                 Document docout = db.newDocument();
                 Element root = docout.createElement("MT_Trg");
                 root.setAttribute("xmlns:ns","urn:Test_File_to_File");
                 docout.appendChild(root);
                 Element stringinp = docout.createElement("stringinp");
                 root.appendChild(stringinp);
                 BufferedReader inpxml = new BufferedReader(new InputStreamReader(in));
                 StringBuffer buffer = new StringBuffer();
                 String line="";
                 while ((line = inpxml.readLine()) != null)
                 buffer.append(line);
                 String inptxml=buffer.toString();
                 Text srcxml = docout.createTextNode(inptxml);
                 stringinp.appendChild(srcxml);
                 DOMSource domS = new DOMSource(docout);
                 transform.transform((domS), new StreamResult(out));
                 } catch (Exception e) {
                   System.out.print("Problem parsing the file: " + e.getMessage());
                   e.printStackTrace();
    Please help!!

  • Custom Template for Third Party Balance Summary Report(Java type executable

    Hi Al,l we have a requirment to have a layout with some of the fields from
    Third Party Balance Summary Report( Which is a Java type executable and
    Data definition has Data Template attached(.xml)).
    I tried in below way.
    Coppied the Third Party Balance Summary Report program with same application and parameters
    with. Then defined a Datadefinition with my concurrent prog short name
    attached the same standard .xml file(Not sure what it is) and developed a custom template with
    a custom rtf(excel output type), and submitted the program
    the output is generated in excel but my custom .rtf layout is not getting applied
    rather it is showing same layout as in standard.
    Some thing I am missing here or else it is not the way of changing the
    template.
    If any one know how to do this please let me know.
    My client want only some files from the standard report(no need of new fileds)
    with output type xls.
    Thanks in Advance.
    The same content is posted in Custom Template for Third Party Balance Summary Report(Java type executable sorry for duplicating the thread, just for increase the visibility for my issue I did this.

    I gave up on using a different font or figuring out if I could use Times New Roman's built-in fractions visible in Font Book (as unicodes) and did a work-around based on Michael Wasley's tips in this discussion.
    https://discussions.apple.com/message/11622842#11622842
    I adapted it however and think it looks a little better.
    Font: Times New Roman 12 point
    I used the fraction bar in 12-point (Shift-Option-1) for automatic kerning.
    For the numerator, I changed the font style to superior (12-point).
    For the denominator, I changed the font style to subscript (Shift-Command-hyphen) and reduced the font size to half, or 6-point using the short-cut Shift-Command-<.
    When the fractions occured in my footnotes (9-point), I used 4-point in the denominator; 10- and 11-point, I used 5-point in the denominator. This seemed to produce the best result when printing.
    Thank you, Michael.
    -Dottie

Maybe you are looking for