Workbench doesnt save or create toplink.xml

Hello,
i'm using the latest patch (9.0.4.8) and when i try to create the deployment xml for the current loaded toplink project no new <projekt>.xml file will be created.
With the toplinkmw.jar from the 9.0.4.7 patch it works fine.
Regards
Dirk

Hello Neil,
no, i get no Exception or Error (or is there a error or log file which i've to check). What I'm wondering, with the 9.0.4.7 the workbench ask me to overwrite an existing file and tells me than that it has finished successfully. With the 9.0.4.8 it only ask for overwrite but never tells me that it has finished successfully.
I will check my environment, because on another Client PC it works very well but there is an very newly TopLink installation only with the latest patch 9.0.4.8 an no oracle client.
Maybe it is a misconfiguration in my environment.
Regards
Dirk

Similar Messages

  • How do I create an XML file through a JSP?

    I want to have a JSP which allows the user to create an account with password and this is stored in an XML file. I would like to b e able to amend this XML file with future users of the JSP but I'm not sure how to do this. I can do it using a database converting that to XML and then save the user input but I don't want to use a DB this time. Can some body give me an example. It the closing XML tag I have trouble with. I could amend the file but the previuos entry would close the XML file and then the newest entry would add on in effect an new XML file to the previous. Hope you can understand what I'm saying?!
    I have a file with:
    <topic>
    <--- this is where I want to store my data!
    </topic>
    Michael

    Use JDOM ... Here's a tutorial where you create a DOM and save it to an xml file ...
    http://www.topxml.com/tutorials/main.asp?id=jdom&page=15

  • Missing Conref when I save and reopen an .xml file in FM9

    I am running FM9 on Windows 7. We have been using the template and rules files shipped with FM9 and modifying them for our needs. Currently I am experiencing an issue and I'm not at all sure how to resolve it.
    I have two pieces of DITA content, they are both reference files created by using the DITA menu and creating a new <reference> file. I have entered my structured content into the two files and I want to include a conref from the source document B into my document A. I insert the conref into document A using the FM DITA menu and save both files as .xml. The files save without any errors. When I open document A the conref text is missing and all that is left is a blank reference element (created by the insertion of the conref). If I open the source document everything is fine. I also have an xref in document A and that seems to be working fine. My coworker is having the exact same issue. I am referencing a reference element with an unordered list.
    Also, if I save file A as .fm the conref stays which leads me to believe it has something to do with how FrameMaker is reading the .xml file.
    Any assistance would be appreciated,
    Laura

    Hi Laura...
    If the "auto-load conrefs" option is off, your conrefs will not be rendered. This is "as designed" so that you can disable the conref updating if it's taking too long to rebuild all of the conrefs each time you open a file.. The "auto-load xrefs" option should work the same way, although this may have changed in FM9 since all xrefs are really "fm-xrefs" inside of FM. If the xrefs are rendering the same regardless of the option's setting, then that's a bug (I'd think).
    So .. with the auto-load option enabled, your conrefs are working?
    Cheers,
    ...scott

  • How to create a XML Form with confirmation Page

    Hi!
    I need to create a XML Form that have a confirmation page to enter de data and save it (into XML file).
    It's possible to make it with the XML Forms Builder, or I need to make it manual at xml & xsl??
    (Sorry about my poor english!)

    Hi Ernesto,
    there is currently no confirmation message available in the XMLForms EditForm. But you can use the "preview" button to show how it looks like, before you are using the "Save" button.
    Regards
    --Matthias

  • How to save infopath form in XML file

    How to save InfoPath form in XML file.
    I want every new record in InfoPath form save in XML file and also retrieve these records from XML like databases

    Hi,
    Based on your description, my understanding is that you want to save InfoPath form in XML file.
    I have done a test in my SharePoint, Do the following steps:
    Create an form library and publish an InfoPath form into it, Then when we create new document into the form library, it is by default that InfoPath form is saved in XML file.
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • Error in Creating a XML Doc

    i am having a error in the fellowing program.
    When i create a xml file.Entire XML file is printed in a single line.
    import org.w3c.dom.*;
    import javax.xml.parsers.*;
    import javax.xml.transform.*;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    class CreateDomXml
    public static void main(String[] args)
    try{
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder docBuilder = factory.newDocumentBuilder();
    Document doc = docBuilder.newDocument();
    Element root = doc.createElement("root");
    doc.appendChild(root);
    Comment comment = doc.createComment("This is comment");
    root.appendChild(comment);
    Element childElement = doc.createElement("Child");
    childElement.setAttribute("attribute1","The value of Attribute 1");
    root.appendChild(childElement);
    TransformerFactory tranFactory = TransformerFactory.newInstance();
    Transformer aTransformer = tranFactory.newTransformer();
    Source src = new DOMSource(doc);
    Result dest = new StreamResult(System.out);
    Result dest = new StreamResult(new File("hello.xml"));
    aTransformer.transform(src, dest);
    }catch(Exception e){
    System.out.println(e.getMessage());
    OUTput
    *<?xml version="1.0" encoding="UTF-8" standalone="no"?><root><!--This is comment--><Child attribute1="The value of Attribute 1"/></root>*
    Edited by: psathishcs on May 29, 2008 6:24 PM

    what do you expect it to print?
    your output is set to System.out, not a file.

  • Creating an xml file from abap code

    Hello All,
    Please let me know which FM do I need to execute in order to create an XML file from my ABAP code ?
    Thanks in advance,
    Paul.

    This has been discussed before
    XML files from ABAP programs

  • Need help Take out the null values from the ResultSet and Create a XML file

    hi,
    I wrote something which connects to Database and gets the ResultSet. From that ResultSet I am creating
    a XML file. IN my program these are the main two classes Frame1 and ResultSetToXML. ResultSetToXML which
    takes ResultSet & Boolean value in its constructor. I am passing the ResultSet and Boolean value
    from Frame1 class. I am passing the boolean value to get the null values from the ResultSet and then add those
    null values to XML File. When i run the program it works alright and adds the null and not null values to
    the file. But when i pass the boolean value to take out the null values it would not take it out and adds
    the null and not null values.
    Please look at the code i am posing. I am showing step by step where its not adding the null values.
    Any help is always appreciated.
    Thanks in advance.
    ============================================================================
    Frame1 Class
    ============
    public class Frame1 extends JFrame{
    private JPanel contentPane;
    private XQuery xQuery1 = new XQuery();
    private XYLayout xYLayout1 = new XYLayout();
    public Document doc;
    private JButton jButton2 = new JButton();
    private Connection con;
    private Statement stmt;
    private ResultSetToXML rstx;
    //Construct the frame
    public Frame1() {
    enableEvents(AWTEvent.WINDOW_EVENT_MASK);
    try {
    jbInit();
    catch(Exception e) {
    e.printStackTrace();
    //Component initialization
    private void jbInit() throws Exception {
    //setIconImage(Toolkit.getDefaultToolkit().createImage(Frame1.class.getResource("[Your Icon]")));
    contentPane = (JPanel) this.getContentPane();
    xQuery1.setSql("");
    xQuery1.setUrl("jdbc:odbc:SCANODBC");
    xQuery1.setUserName("SYSDBA");
    xQuery1.setPassword("masterkey");
    xQuery1.setDriver("sun.jdbc.odbc.JdbcOdbcDriver");
    contentPane.setLayout(xYLayout1);
    this.setSize(new Dimension(400, 300));
    this.setTitle("Frame Title");
    xQuery1.setSql("Select * from Pinfo where pid=2 or pid=4");
    jButton2.setText("Get XML from DB");
    try {
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    catch(java.lang.ClassNotFoundException ex) {
    System.err.print("ClassNotFoundException: ");
    System.err.println(ex.getMessage());
    try {
    con = DriverManager.getConnection("jdbc:odbc:SCANODBC","SYSDBA", "masterkey");
    stmt = con.createStatement();
    catch(SQLException ex) {
    System.err.println("SQLException: " + ex.getMessage());
    jButton2.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    jButton2_actionPerformed(e);
    contentPane.add(jButton2, new XYConstraints(126, 113, -1, -1));
    //Overridden so we can exit when window is closed
    protected void processWindowEvent(WindowEvent e) {
    super.processWindowEvent(e);
    if (e.getID() == WindowEvent.WINDOW_CLOSING) {
    System.exit(0);
    void jButton2_actionPerformed(ActionEvent e) {
    try{
    OutputStream out;
    XMLOutputter outputter;
    Element root;
    org.jdom.Document doc;
    root = new Element("PINFO");
    String query = "SELECT * FROM PINFO WHERE PID=2 OR PID=4";
    ResultSet rs = stmt.executeQuery(query);
    /*===========This is where i am passing the ResultSet and boolean=======
    ===========value to either add the null or not null values in the file======*/
    rstx = new ResultSetToXML(rs,true);
    } //end of try
    catch(SQLException ex) {
    System.err.println("SQLException: " + ex.getMessage());
    ======================================================================================
    ResultSetToXML class
    ====================
    public class ResultSetToXML {
    private OutputStream out;
    private Element root;
    private XMLOutputter outputter;
    private Document doc;
    // Constructor
    public ResultSetToXML(ResultSet rs, boolean checkifnull){
    try{
    String tagname="";
    String tagvalue="";
    root = new Element("pinfo");
    while (rs.next()){
    Element users = new Element("Record");
    for(int i=1;i<=rs.getMetaData().getColumnCount(); ++i){
    tagname= rs.getMetaData().getColumnName(i);
    tagvalue=rs.getString(i);
    System.out.println(tagname);
    System.out.println(tagvalue);
    /*============if the boolean value is false it adds the null and not
    null value to the file =====================*/
    /*============else it checks if the value is null or the length is
    less than 0 and does the else clause in the if(checkifnull)===*/
    if(checkifnull){ 
    if((tagvalue == null) || tagvalue.length() < 0 ){
    users.addContent((new Element(tagname).setText(tagvalue)));
    else{
    users.addContent((new Element(tagname).setText(tagvalue)));
    else{
    users.addContent((new Element(tagname).setText(tagvalue)));
    root.addContent(users);
    out=new FileOutputStream("c:/XMLFile.xml");
    doc = new Document(root);
    outputter = new XMLOutputter();
    outputter.output(doc,out);
    catch(IOException ioe){
    System.out.println(ioe);
    catch(SQLException sqle){

    Can someone please help me with this problem
    Thanks.

  • Different methods of creating an XML Publisher report

    Hi All,
    Can anyone please advice me on different methods of creating an XML Publisher report.
    The method which we us is as follows -
    1. Create an RDF file and upload the same in the /REPORTS/US path.
    2. create a concurrent program, give output as XML.
    3. Create a data definition, but here we do not upload any data definition.
    4. Create a template and upload the RTF template.
    But I have heard that there is a method wherein we do not have to create the RDF and simply adding the query to the XML file works.
    But in that case do we upload anything in tht Data defition also ?
    Can anyone please provide me any link or some place where I can read about different methods to create an XML report without the use of an RDF.
    Regards,
    Shruti

    Hi Shruti,
    There is a method where we need not to create RDF as data defination. You need to write a xml file which we upload as data defination. The short name for this data defination used as short name as concurrent program having executable XDODTEXE.
    Sample XML data template :
    <?xml version="1.0" encoding="UTF-8" ?>
    <dataTemplate name="EmpData" description="Employee Details" version="1.0">
    <dataQuery>
    <sqlStatement name="Q1">
    <![CDATA[select business_group_id, business_group_name
                   from hrfv_business_groups
                   where date_to is null
                     and business_group_id not in (0, 82)
                         order by business_group_id]]>
    </sqlStatement>
    <sqlStatement name="Q2">
    <![CDATA[select employee_number,
                         title ,
                         full_name,
                         sex ,
                         date_of_birth,
                         email_address
                 from per_all_people_f
                 where business_group_id = :business_group_id
                   and current_employee_flag ='Y'
                   and trunc(sysdate) between effective_start_date and effective_end_date
                   and rownum<11]]>
    </sqlStatement>
    </dataQuery>
    <dataStructure>
    <group name="G_BG" source="Q1">
    <element name="BusinessGroupId" value ="business_group_id"/>
    <element name="BusinessGroupName" value ="business_group_name"/>
    <group name="G_EMP" source="Q2">
    <element name="EmpNumber" value ="employee_number"/>
    <element name="Title" value ="title"/>
    <element name="FullName" value ="full_name"/>
    <element name="Sex" value ="sex"/>
    <element name="DateOfBirth" value ="date_of_birth"/>
    <element name="EmailAddress" value ="email_address"/>
    </group>
    </group>
    </dataStructure>
    </dataTemplate>
    This data template generates xml data which prints output on rtf template.
    Hope this will help. Let me know for more info.

  • How to make a bean create an xml file..

    How does one create an xml file from a bean?
    If anyone have the answer, or some sample code I would really apprecciate it!!!
    In advance thanx a lot!!!

    just "wrap" this up in a bean.
    import java.io.*;
    import org.jdom.*;
    import org.jdom.output.*;
    /** Make up and write an XML document, using JDOM
    * @author Ian Darwin, [email protected]
    * @version $Id: DocWriteJDOM.java,v 1.2 2001/11/21 23:08:17 ian Exp $
    public class DocWriteJDOM {
         public static void main(String[] av) throws Exception {
              DocWriteJDOM dw = new DocWriteJDOM();
              Document doc = dw.makeDoc();
              // Create an output formatter, and have it write the doc.
              new XMLOutputter().output(doc, System.out);
         /** Generate the XML document */
         protected Document makeDoc() throws Exception {
                   Document doc = new Document(new Element("Poem"));
                   doc.getRootElement().
                        addContent(new Element("Stanza").
                             addContent(new Element("Line").
                                       setText("Once, upon a midnight dreary")).
                             addContent(new Element("Line").
                                       setText("While I pondered, weak and weary")));
                   return doc;

  • Is there a way to create an xml sitemap within Dreamweaver 2014?

    Just wondering if there's a way to create an xml sitemap withing Dreamweaver 2014.

    No automagic buttons for it.  You could do it manually in code view but there are online generators and desktop apps that are better suited to the task.
    Create your Google Sitemap Online - XML Sitemaps Generator
    Xenu Link Sleuth can generate site maps too.
    Find broken links on your site with Xenu's Link Sleuth (TM)
    Nancy O.

  • URGENT --  Perofrmance issue while creating Huge XML file

    All XML Experts Please Help....Thanks a lot in Advance
    We are trying to create a XML file for a huge table.. 5 million rows and the performance is ver very bad.. Can some body help by giving me an idea what what my best approch could be... or what am I doing wrong in in the code below
    CREATE OR REPLACE PROCEDURE Sales_1_Generate_Xml IS
    temp_clob CLOB;
    temp_buffer VARCHAR2(1);
    amount BINARY_INTEGER := 1;
    position INTEGER := 1;
    filehandle utl_file.file_type;
    error_number NUMBER;
    error_message VARCHAR2(100);
    length_count INTEGER;
    qryctx dbms_xmlgen.ctxhandle;
    BEGIN
    qryctx := dbms_xmlgen.newcontext('select /* INDEX UF_SALES(UF_SALES_IX16) */
    TRANSACTION_NUMBER     "Transaction_Number",
    TRANSACTION_TYPE_ID     "Transaction_Type_ID",
    PROCESS_FISCAL_DATE_ID     "Process_Fiscal_Date_ID",
    INVOICE_FISCAL_DATE_ID     "Invoice_Fiscal_Date_ID",
    ORDER_FISCAL_DATE_ID     "Order_Fiscal_Date_ID",
    PROCESS_CALENDAR_DATE_ID     "Process_Calendar_Date_ID",
    INVOICE_CALENDAR_DATE_ID     "Invoice_Calendar_Date_ID",
    ORDER_CALENDAR_DATE_ID     "Order_Calendar_Date_ID",
    CURRENT_TM_ID     "Current_TM_ID",
    CUSTOMER_ID     "Customer_ID",
    CUSTOMER_TYPE_ID     "Customer_Type_ID",
    CUSTOMER_LEVEL_ID     "Customer_Level_ID",
    ACCOUNT_TYPE_ID     "Account_Type_ID",
    TRADE_CLASS_ID     "Trade_Class_ID",
    DISTRIBUTOR_ID     "Distributor_ID",
    PRODUCT_ID     "Product_ID",
    ORDERED_PRODUCT_ID     "Ordered_Product_ID",
    BRAND_TYPE_ID     "Brand_Type_ID",
    LABEL_TYPE_ID     "Label_Type_ID",
    BRAND_LABEL_ID     "Brand_Label_ID",
    PRICED_BY_ID     "Priced_By_ID",
    SALES_UOM_ID     "Sales_UOM_ID",
    PURCHASING_UOM_ID     "Purchasing_UOM_ID",
    PRICING_UOM_ID     "Pricing_UOM_ID",
    NET_COST     "Net_Cost",
    NPA_S     "NPA_S",
    CMA_S     "CMA_S",
    NOT_S     "NOT_S",
    TOTAL_NATIONAL_ALLOWANCE_S     "Total_National_Allowance_S",
    LPA_S     "LPA_S",
    LMA_S     "LMA_S",
    LOT_S     "LOT_S",
    TOTAL_LOCAL_ALLOWANCE_S     "Total_Local_Allowance_S",
    TOTAL_ALLOWANCES_S     "Total_Allowances_S",
    LPC     "LPC",
    LPC_EXTENDED     "LPC_Extended",
    LPF     "LPF",
    LPF_EXTENDED     "LPF_Extended",
    TRUE_COST     "True_Cost",
    CDE     "CDE",
    LPP     "LPP",
    SURCHARGE     "Surcharge",
    COMBINED_SURCHARGE     "Combined_Surcharge",
    TOTAL_SURCHARGES     "Total_Surcharges",
    MARKET_COST     "Market_Cost",
    INSIDE_PAD     "Inside_Pad",
    SALES_REP_COST     "Sales_Rep_Cost",
    SALES_REP_MARGIN     "Sales_Rep_Margin",
    SALES_PRICE     "Sales_Price",
    SALES_TRUE_MARGIN     "Sales_True_Margin",
    NVD     "NVD",
    LVD     "LVD",
    NID     "NID",
    LID     "LID",
    TOTAL_VD     "Total_VD",
    TOTAL_ID     "Total_ID",
    TOTAL_DEVIATIONS     "Total_Deviations",
    GP1     "GP1",
    GP2     "GP2",
    DEVIATED_COST     "Deviated_Cost",
    ACTUAL_COST     "Actual_Cost",
    SALES_TAX     "Sales_Tax",
    QUANTITY_ORDERED     "Quantity_Ordered",
    QUANTITY_SHIPPED     "Quantity_Shipped",
    QUANTITY_DEVIATED     "Quantity_Deviated",
    QUANTITY_SUBBED     "Quantity_Subbed",
    UNITS_ORDERED     "Units_Ordered",
    EACHES_ORDERED     "Eaches_Ordered",
    EACH_CONVERSION_FACTOR     "Each_Conversion_Factor",
    UNITS_SHIPPED     "Units_Shipped",
    EACHES_SHIPPED     "Eaches_Shipped",
    SHIP_WEIGHT     "Ship_Weight",
    ACTUAL_GP_DLR     "Actual_GP_Dlr",
    TRUE_GP_DLR     "True_GP_Dlr",
    LANDED_GP_DLR     "Landed_GP_Dlr",
    LANDED_ACTUAL_GP_DLR     "Landed_Actual_GP_Dlr",
    INVOICE_GP_DLR     "Invoice_GP_Dlr",
    INVOICE_ACTUAL_GP_DLR     "Invoice_Actual_GP_Dlr",
    ADJUSTED_ACTUAL_GP_DLR     "Adjusted_Actual_GP_Dlr",
    EB_S     "EB_S",
    MB_S     "MB_S",
    ACTUAL_TM_ID     "Actual_TM_ID",
    ACTUAL_TM_NAME     "Actual_TM_Name",
    ACTUAL_DSM_ID     "Actual_DSM_ID",
    ACTUAL_DSM_NAME     "Actual_DSM_Name",
    INVOICE_NUMBER      "Invoice_Number ",
    CONTRACT_NUMBER     "Contract_Number",
    CUSTOMER_NUMBER     "Customer_Number",
    CUSTOMER     "Customer",
    PRODUCT_NUMBER     "Product_Number",
    MASTER_DISTRIBUTOR_ID     "Master_Distributor_ID",
    ORDERED_PRODUCT_NUMBER     "Ordered_Product_Number",
    NATIVE_PRODUCT_STATUS     "Native_Product_Status",
    NATIVE_PRICED_BY_INDICATOR     "Native_Priced_By_Indicator",
    EXTRACTION_TIME     "Extraction_Time"
    from uf_sales where distributor_id in (''5139'',
    ''5140'',
    ''5145'',
    ''5150'',
    ''5160'',
    ''5175'',
    ''5180'',
    ''5210'',
    ''5220'',
    ''5230'')
    DBMS_XMLGen.setRowTag(qryctx,'Sales_Record');
    DBMS_XMLGen.setRowSetTag(qryctx,'Sales_Set');
    temp_clob:=dbms_xmlgen.getxml(qryctx);
    length_count := dbms_lob.getlength(temp_clob);
    dbms_output.put_line('Internal LOB size is: ' || length_count);
    filehandle := utl_file.fopen('DATA_EXTRACT','Sales_1.xml','Wb',32767);
    WHILE length_count <> 0 LOOP
    dbms_lob.read (temp_clob, amount, position, temp_buffer);
    --utl_file.put (filehandle, temp_buffer);
    utl_file.put_raw(filehandle, utl_raw.cast_to_raw(temp_buffer));
    position := position + 1;
    length_count := length_count - 1;
    temp_buffer := null;
    END LOOP;
    dbms_output.put_line('Exit the loop');
    utl_file.fclose(filehandle);
    DBMS_XMLGen.closeContext(qryctx);
    dbms_output.put_line('Close the file');
    EXCEPTION
    WHEN OTHERS THEN
    BEGIN
    error_number := sqlcode;
    error_message := substr(sqlerrm ,1 ,100);
    dbms_output.put_line('Error #: ' || error_number);
    dbms_output.put_line('Error Message: ' || error_message);
    utl_file.fclose_all;
    END;
    END;
    /

    OK, so you are writing the file with UTL_FILE. How long is the whole process taking. Have you timed the time taken to generate the temp_clob with the result Vs the time to write the output to a file.

  • Creating Excel xml spreadsheets from XSL

    Hi
    I am trying to create Excel xml spreadsheets from XSL.
    I am using Tim's blog as my reference.
    http://blogs.oracle.com/xmlpublisher/2010/03/multisheet_excel_output.html
    Following is my xml data:
    <?xml version="1.0" encoding="WINDOWS-1252"?>
    <!-- Generated by Oracle Reports version 10.1.2.0.2 -->
    <XXTEK_TEST>
    <LIST_G_PROCESSED_DATE>
    <G_PROCESSED_DATE>
    <PROCESSED_DATE>30-MAR-09</PROCESSED_DATE>
    <PARTY_NAME>partyname1</PARTY_NAME>
    <ORDER_NUMBER>17183</ORDER_NUMBER>
    </G_PROCESSED_DATE>
    <G_PROCESSED_DATE>
    <PROCESSED_DATE>03-APR-09</PROCESSED_DATE>
    <PARTY_NAME>partyname2</PARTY_NAME>
    <ORDER_NUMBER></ORDER_NUMBER>
    </G_PROCESSED_DATE>
    <G_PROCESSED_DATE>
    <PROCESSED_DATE>03-APR-09</PROCESSED_DATE>
    <PARTY_NAME>partyname3</PARTY_NAME>
    <ORDER_NUMBER></ORDER_NUMBER>
    </G_PROCESSED_DATE>
    <G_PROCESSED_DATE>
    <PROCESSED_DATE>03-APR-09</PROCESSED_DATE>
    <PARTY_NAME>party name5</PARTY_NAME>
    <ORDER_NUMBER></ORDER_NUMBER>
    </G_PROCESSED_DATE>
    <G_PROCESSED_DATE>
    <PROCESSED_DATE>30-MAR-09</PROCESSED_DATE>
    <PARTY_NAME>partyname7</PARTY_NAME>
    <ORDER_NUMBER>17183</ORDER_NUMBER>
    </G_PROCESSED_DATE>
    </LIST_G_PROCESSED_DATE>
    </XXTEK_TEST>
    Following is my xsl file:
    <xsl:stylesheet version="1.0" xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="urn:my-scripts"
    xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel"
    xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
    <xsl:output method="xml" encoding="utf-8" indent="yes" omit-xml-declaration="no"/>
    <xsl:template match="/">
    <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office"
    xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
    xmlns:html="http://www.w3.org/TR/REC-html40">
    <ss:Styles>
    <ss:Style ss:ID="Default" ss:Name="Normal">
    <ss:Font ss:Color="black" ss:Size="10" ss:Bold="1" ss:FontName="Arial"/>
    </ss:Style>
    <ss:Style ss:ID="x1">
    <ss:Font ss:Color="black" ss:Size="10" ss:FontName="Arial"/>
    </ss:Style>
    <ss:Style ss:ID="xdo2">
    <ss:Font ss:Color="black" ss:Size="10" ss:FontName="Arial"/>
    <ss:NumberFormat Format="$#,##0;[Red]$#,##0" Bold="0" />
    </ss:Style>
    </ss:Styles>
    <xsl:apply-templates select="XXTEK_TEST"/>
    </Workbook>
    </xsl:template>
    <xsl:template match="XXTEK_TEST">
    <Worksheet>
    <Table x:FullColumns="1" x:FullRows="1">
    <Row>
    <Cell>
    <Data ss:Type="String">Process date</Data>
    </Cell>
    <Cell>
    <Data ss:Type="String">Party name</Data>
    </Cell>
    <Cell>
    <Data ss:Type="String">Order number</Data>
    </Cell>
    </Row>
    <xsl:for-each select=".//G_PROCESSED_DATE">
    <Row>
    <Cell ss:StyleID="x1">
    <Data ss:Type="String">
    <xsl:value-of select="PROCESSED_DATE"/>
    </Data>
    </Cell>
    <Cell ss:StyleID="x1">
    <Data ss:Type="String">
    <xsl:value-of select="PARTY_NAME"/>
    </Data>
    </Cell>
    <Cell ss:StyleID="x1">
    <Data ss:Type="String">
    <xsl:value-of select="ORDER_NUMBER"/>
    </Data>
    </Cell>
    </Row>
    </xsl:for-each>
    </Table>
    </Worksheet>
    </xsl:template>
    </xsl:stylesheet>
    While creating the template, I have chosen the template type XSL-XML. I am trying to test this on E-business Suite (R12).
    I get the error "The uploaded file TEST_temp.xsl is invalid. The file should be in XSL format."
    Where am I going wrong?
    I am trying to create Excel XML spreadsheets, because the excel files created using RTF templates are very huge in size. And it is taking an unacceptable amount of time to open the file. Is there any other solution to overcome this performance issue?
    Regards
    Nishka

    Nishka,
    Looks like your XSL stylesheet is missing the XML header at the top.
    So normally it would look like:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet....>
    </xsl:stylesheet>
    as an Example a stylesheet which just outputs a field:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xdoxslt="http://www.oracle.com/XSL/Transform/java/oracle.apps.xdo.template.rtf.XSLTFunctions">
    <xsl:template match="/">
    <xsl:text>My field:</xsl:text>
    <xsl:value-of select="MYFIELD"/>
    </xsl:template>
    </xsl:stylesheet>
    Patrick

  • ClassCastException while creating an XML document in servlet

    HI,
    I am trying to create an XML document in a servlet and I am getting ClassCastException at runtime when casting org.w3c.dom.document to org.apache.crimson.tree.XmlDocument . I am using Tomcat 4.1
    The same code is working fine when executed in a stand alone java program
    Can anyone please help me in trying to solve this problem. I require it urgently.
    The following is my code:
    import java.io.*;
    import javax.xml.parsers.*;
    import org.w3c.dom.*;
    import org.apache.crimson.tree.XmlDocument;
    public class test{
    public void createxml (String username) throws Exception
              Document doc=null;
              DocumentBuilderFactory dbf=null;
         DocumentBuilder db=null;
         Element root=null;
         Element poline=null;
         org.apache.crimson.tree.XmlDocument xmldoc=null;
         FileOutputStream fos=null;
         dbf = DocumentBuilderFactory.newInstance ();
              db = dbf.newDocumentBuilder ();
              doc = db.newDocument ();
              root = doc.createElement ("album");
              doc.appendChild (root);
              poline= doc.createElement("album-name");
              root.appendChild(poline);
    //I am getting the ClassCastException in this statement
              xmldoc = (XmlDocument) doc;
              fos = new java.io.FileOutputStream("xyz.xml");
              xmldoc.write(fos);
              fos.close();
    }

    I am not too much of an expert on this issue, but I did a search. Maybe this page can help or point you in the right direction.
    http://www.jspwiki.org/Wiki.jsp?page=A2AClassCastException
    I hope this helps.

  • Creating an xml file from recordset

    Hi...
    XML newbie here - so.
    Is it possible to create and xml file from a recordset?
    I need to create a datafeed of our e-commerce products.
    Also, some of the db data contains HTML Code (product
    description field),
    how will this effect the xml file?
    Another problem is that my xml file needs to contain url's
    for the products
    and product images. My ASP pages contain these URL in hard
    code and then
    pull the actual file names from the db
    Hope that makes some sense
    Thanks for any help
    Andy

    Hi David
    Thanks for your help.
    I think it will have to be option 1 as i am using Access DB.
    I don't know how to go about it but will serach good old
    Google.
    Here is my recordset below, that pulls the required data from
    Access.
    The product and product image URL's need to be in the xml
    file but only the
    product image name and product id are in the database, e.g
    image name
    (imagename.jpg) productid (21)
    The actual URL's are hardcoded in my ASP pages, e.g <img
    src="products/medium/<%=(RSDetails.Fields.Item("Image").Value)%>"
    Not sure if this makes things any clearer :-|
    Thanks Again
    Andy
    <%
    Dim RSdatafeed
    Dim RSdatafeed_numRows
    Set RSdatafeed = Server.CreateObject("ADODB.Recordset")
    RSdatafeed.ActiveConnection = MM_shoppingcart_STRING
    RSdatafeed.Source = "SELECT Products.Product,
    Products.Description,
    Products.Image, Products.image2, Products.ListPrice,
    Products.Price,
    Products.xml_feed, Manufacturers.Manufacturer,
    Shipping.ShippingCost FROM
    Shipping, Products INNER JOIN Manufacturers ON
    Products.ManufacturerID =
    Manufacturers.ManufacturerID WHERE
    (((Products.xml_feed)=No));"
    RSdatafeed.CursorType = 0
    RSdatafeed.CursorLocation = 2
    RSdatafeed.LockType = 1
    RSdatafeed.Open()
    RSdatafeed_numRows = 0
    %>
    "DEPearson" <[email protected]> wrote in
    message
    news:[email protected]...
    > Andy,
    >
    > There are two ways you can create a xml file from a
    recordset
    >
    > 1. Is to code it using Server.CreateObject(XMLDOM)
    > 2. If you are using SQL server 2005, just request the RS
    returns as XML
    > data. using FOR XML AUTO after the where cause ( the
    best way with 2005
    > and
    > higher sql server)
    >
    > The db data containing HTML code should not effect your
    xml file, unless
    > it
    > is bad markup. You could wrap the data with
    <![CDATA[the data or html
    > markup, or javascript]]>
    >
    > If the url is a recordset field, then it will return
    with the xml data.
    > If
    > not you can create a storage procedure that will build
    your URL from the
    > data
    > in the database.
    >
    > It is best to use storage procedure (SP )for security
    reason when pulling
    > data
    > from a MS Sql server, make all calls to the database in
    a SP. Also be sure
    > to
    > validate the values in the querystrings before accepting
    them, check for
    > hack
    > code.
    >
    > David
    >

Maybe you are looking for

  • Macbook Pro Mid-2010 15" is not charging with dim green light

    Hi all, I have spilled a bit of water on the keyboard of my Macbook Pro this Monday. It continued working just fine. So, I took it home, and 2h later, when I pluged the charger in, the light turned into a very faint/dim green light and it was not cha

  • 15 minute time Limit

    I am trying to record a speech of someone who talks for about 30 to 50 minutes continuously, but my Logic Express will only let me record a maximum of 15 minutes. As soon as I start recording there is a timer that pops up and counts down to 15 minute

  • Key figure Attributes not working

    Hi ALL, We have an isuue with one of our Planning book. Key figures which are supposed to be open for editing are  showing as output only and key figures which are for output only are showing as open for editing. I went to design mode to tried to cha

  • I CANNOT DOWNLOAD UPDATES RECEIVE ERROR message 0x800f0826 what can i do also cannot use all

    i can not install updates .receive error 0x800f0826 cannot use all my symbols on my keyboard

  • Intermediate ship to address queries

    Hi All, I need to fetch the intermediate ship to address by linking the wsh_delivery_details table and hz_locations table for a order. I tried by using below query : SELECT ship_party.party_name , ship_cust_acct.account_number, DECODE (ship_loc.CITY,