XSL gives a XML file without data

I am using XSL to create a new XML file from a given XML file. The resulting XML file created contains no data!! Pls. tell me what is wrong or if I have omitted something.

I am using XSL to create a new XML file from a given XML file. The resulting XML file created contains no data!! Pls. tell me what is wrong or if I have omitted something.

Similar Messages

  • How to remove an XML file from Data Template in Data Definition Screen

    Hi,
    Issue: I have uploaded the file in Data definition in Data Template.
    How to remove it.
    Also what does each file type mean?
    XML Schema
    Data Template
    Preview file
    Bursting control File
    I have an XML file and XSL file. I need to have an output in XML.
    So I installed my XML file in data template in data definition.
    And XSL file in Templates.
    Am I correct?
    11.0.10.2
    Regards,
    Avijit

    Issue: I have uploaded the file in Data definition in Data Template.
    How to remove it.You cannot remove it but you can end-date it.
    Also what does each file type mean?
    XML Schema
    Data Template
    Preview file
    Bursting control FileThis is explained in "Oracle XML Publisher Administration and Developer's Guide Release 12" manual -- http://docs.oracle.com/cd/B34956_01/current/acrobat/120xdoig.pdf
    I have an XML file and XSL file. I need to have an output in XML.
    So I installed my XML file in data template in data definition.
    And XSL file in Templates.
    Am I correct?Correct -- See Chapter 2 "Creating the Template" and Chapter 5 "Data Templates and Chapter" in the same doc referenced above for details.
    Thanks,
    Hussein

  • Getting error when try to upload xml file into Data Template

    Hi,
    Getting error when try to upload xml file into Data Template.error:"The uploaded file XXSLARPT.xml is invalid. The file should be in XML-DATA-TEMPLATE format."Plz anybody help me.
    Thanks,
    Prasad.

    Hi,
    Anybody Help Plzzzzzz.
    thx,
    Prasad

  • How to configure crystal report xml file as data source in BOE in Solaris?

    Hi,
    How to configure crystal reports from xml file as data source in Solaris? I didn't find any suitable driver for xml / excel files for sun solaris.
    Which driver i have to use to connect xml file to crystal report to view my crystal report in solaris BOE?
    And the same way excel file as data source for crystal report.
    Thanks

    Hi Don thanks for the reply,
    In windows environment I donot have any problem when creating crystal report from Xml file and Excel file. After creating reports when I publish those into boe server in solaris, getting connection failed error.
    My solaris BOE server doent have any network connection with windows machines. So i have to place the files in solaris server.
    Below the steps what I tried:
    1. Created crystal reports from cr designer in windows using ADO.Net(xml) and in another try with Xml webservices drivers. Reports works well as it should.
    2. Saved in BOE repository in Solaris server from crystal reports and changed database configuration settings as:
        -Used custom database logon information and specified cr_xml as custom driver.
        -Chnaged database path to file directory path according to solaris server file path </app/../../>
        -tried table prefix also
        - Selected radio button use same database logon as when report is run saved.
    My environment :
    SAP BOXI3.1 sp3
    crystal reports 2008 sp3
    SunOS
    Cr developing in windows 7.
    For Excel I tried with ODBC in windows but I can't find any ODBC or JDBC drivers for Excel in solaris.
    Any help to solve my issues
    Thanks
    Nagalla

  • Reload web-inf/web.xml file without restarting tomcat

    Please help me if any one have a solution .
    I am doing development in jsp, servlet. I am using tomcat5 as a webserver.
    i want to reload web-inf/web.xml file without restarting tomcat.

    From the tomcat admin page you can stop/start and refresh individual applications. See the tomcat documentation. Which, when you have a question about tomcat, you should always do first.

  • I am wondering if there is a way to validate XML file without using .......

    I am wondering if there is a way to validate XML file without using the <!DOCTYPE... but pass in the location of the schema/DTD file as a parameter to a validating method?
    thanks

    None that I know of. The only thing close is to use the EntityResolver interface where you can modify the location of the DTD file before it's being loaded and parsed, but that requires a <!DOCTYPE ...> in the XML file.
    Good luck.

  • Upload of Customs Duty Rates (xml file) without transport request creation

    Hi All
    Can we upload the Customs Duty Rates (xml file) without transport request directly in the system.
    Thanks & Best Regards
    Kiran

    Hi Kiran,
    Please check transaction & program /SAPSLL/TLC_CUSB_UPL in GTS.
    This allows you to upload the XML from a local source or an application server path.
    I do not think a transport request is required in this scenario.
    Best Regards,
    Eoin

  • How to view AR dunning letter XML file (raw data)?

    Hi,
    Can anybody tell how to view AR dunning letter XML file (raw data) as I like to modified the dunning letter and like to know which fields I can add to our dunning letter layout. thanks.

    Hi
    These are the steps you need to do to get the output in XML Raw format.
    Step 1
    1- Go to System Administrator -> Concurrent -> Program - Define
    2- Query the Dunning Letter Print
    3- Set the format output as XML
    Step 2
    1- Ftp Oracle E-business suite Server
    2- Get the file ARDLP.rdf from $AR_TOP/reports
    3- Open the report using Oracle Reports
    4- Change the output to XML.
    ARDLP.rdf is a report provided by Oracle Corporation so it is a good idea to make a backup of the same,
    before making any changes. Hope this will help.
    Regards
    Ali

  • Adding EOF to XML file without using FCC

    Hello Experts,
    I have a simple File to File scenario with source and target files being XML  and simple mapping (No content conversion necessary). The issue which I face is described below:
    File is written by receiver File Adapter on the unix system, a third party Unix script tries to read the file and faces problems which they report is because the file is not ended correctly. When we try to open the files using vi editor, we also get a warning: [Last line is not complete].
    As a temporary solution the script is making sure the line is ended correctly. Can you advice me how from PI side I can make sure that the file ends properly. I was thinking to write a shell script and add it as a OS post processing command but I am not sure whether that will work and whether that is the best solution.
    Also the file name is generated dynamically using time stamps in the receiver side. Version of PI is 7.0 SP16
    Best Regards,
    Pratik

    Hi,
    When PI sends target file to file,it definely wellformed XML,anyway you are sending XML file.
    If you are nor using any mapping,,just copying file from one to other,then problem with test data,may be source data doesnot have EOF tag.
    check/test in message mapping,it gives valid xml structures in out put,then problem with your data.
    Regards,
    Raj

  • File Adapter : read XML file with data validation and file rejection ?

    Hello,
    In order to read a XML file with the file adapter, I have defined a XSD that I have imported to my project.
    Now the File Adapter reads the file correctly but it does not give an error when:
    - the data types are not valid. Ex: dateTime is expected in a node and a string is provided
    - the XML file has invalid attributes.
    How can I manage error handling for XML files ?
    Should I write my own Java XPath function to validate the file after is processed ? (here is an example for doing this : http://www.experts-exchange.com/Web/Web_Languages/XML/Q_21058568.html)
    Thanks.

    one option is to specify validateXML on the partnerlink (that describes the file adapter endpoint) such as shown here
    <partnerLinkBinding name="StarLoanService">
    <property name="wsdlLocation"> http://<hostname>:9700/orabpel/default/StarLoan/StarLoan?wsdl</property>
    <property name="validateXML">true</property>
    </partnerLinkBinding>
    hth clemens

  • Include attachments in a xml file without using mail adapter

    Hello Experts,
    Is there a way to include attachments like pdf or excel in a xml file?
    It is a file to file scenario in which i have to include the attachment in the output file.
    Thanks and regards,
    Merrilly

    Hi,
    Check this links,
    PDF
    SAP Network Blog: XI: Read data from PDF file in Sender Adapter
    /people/sap.user72/blog/2005/07/31/xi-read-data-from-pdf-file-in-sender-adapter
    SAP Network Blog: XI: Generate PDF file out of file adapter
    /people/sap.user72/blog/2005/07/27/xi-generate-pdf-file-out-of-file-adapter
    EXCEL FILES
    SAP Network Blog: XI: Generating Excel files without the Java nor the Conversion agent not possible?
    /people/michal.krawczyk2/blog/2005/12/10/xi-generating-excel-files-without-the-java-nor-the-conversion-agent-not-possible
    SAP Network Blog: Read Excel instead of XML through FileAdapter
    /people/sap.user72/blog/2005/07/04/read-excel-instead-of-xml-through-fileadapter
    Regards,
    Phani
    Reward points if Helpful

  • How to include xml file without embedding in flex web application?

    Hi
    I have a big XML file around 11 mb. I want to include this xml in my web application without embedding.
    So anyone have idea to include.
    Please suggest me any idea.
    Thanks

    If you don't want to embed the XML file into a SWF, then the SWF can download the XML file from the server at runtime when it needs it. But there will be a delay while that happens. Maybe it would be better to put the data in the XML file into a database and then access only the parts of it that you need.
    Gordon Smith
    Adobe Flex SDK Team

  • XQuery query over just one single xml file returns data but query over lots of XML didn't return any data.

    Hello,
    Please, help me.
    I am depending on this query working fine to complete a academic task.
    On the Oracle xml database Express version 11.2.0.2.0 I used data from wikipedia to populate my table of XML files and W3C use case as a query model (XQuery and XPath Full Text 1.0 Use Cases).
    I have a table with 26.416 split xml files into some xml columns, it is about 512 MB.
    CREATE TABLE tb_wikipedia_inex (DOC VARCHAR(30) NOT NULL,
                                    XML XMLTYPE,
                                    PRIMARY KEY (DOC)
    I want to perform a query (full text) on all those files but when I execute a xquery it retuns nothing or warnings. Unfortunatelly I understand nothing from trace file.
    SQLPLUS:
    XQUERY  fn:collection("oradb:/HR/TB_INEX2009")//article//language  [ora:contains(., "java") > 0]
    TRACE FILE:
    System altered.
    Elapsed: 00:00:42.08
    Session altered.
    Elapsed: 00:00:00.00
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.00
    Elapsed: 00:00:00.05
    Execution Plan
    Plan hash value: 1500681423                                                                      
    | Id  | Operation                           | Name                   | Rows  | Bytes | Cost (%CPU)|
    Time     |                                                                                       
    |   0 | SELECT STATEMENT                    |                        |  8168 | 16336 |    29   (0)|
    00:00:01 |                                                                                       
    |   1 |  COLLECTION ITERATOR XMLSEQ FETCH   | XMLSEQUENCEFROMXMLTYPE |  8168 | 16336 |    29   (0)|
    00:00:01 |                                                                                       
    |   2 |   SORT AGGREGATE                    |                        |     1 |     2 |            |
             |                                                                                       
    |*  3 |    COLLECTION ITERATOR PICKLER FETCH| XMLSEQUENCEFROMXMLTYPE |   408 |   816 |    66  (57)|
    00:00:01 |                                                                                       
    Predicate Information (identified by operation id):                                              
       3 - filter(SYS_XMLCONTAINS(SYS_XQ_UPKXML2SQL(SYS_XQEXVAL(SYS_XQEXTRACT(SYS_XQCON2SEQ(VALUE(KOKBF$
                  ,'/language/text()'),1,50),50,1,0),'java')>0)                                      
    Note                                                                                             
       - Unoptimized XML construct detected (enable XMLOptimizationCheck for more information)       
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.00
    How can I execute xquery over a bunch of xml files to obtain xml data?
    Regards,
    Daiane

    Hello,
    I was trying to find what is the problem, but without success.
    The most simple test don't work.
    So, I created a new table with few xml files to reproduce the query.
    Below are my scripts:
    XML COLUMN  SQLPLUS
    CREATE TABLE HR.tb_xml (DOC VARCHAR(30) NOT NULL,
                                               XML XMLTYPE,PRIMARY KEY (DOC))
    CREATE INDEX HR.Ixml_tb_xml ON HR.tb_xml (XML)  INDEXTYPE IS XDB.XMLINDEX  PARAMETERS ('PATHS (INCLUDE(//article
                                                                                                                       //article/physical_entity/communicator/person/compiler/causal_agent/language))')
    CREATE INDEX Itxt_tb_xml1  ON HR.tb_xml (XML)  INDEXTYPE IS CTXSYS.CONTEXT;
    Shell:
    nohup sqlldr daiane/daiane DIRECT=false PARALLEL=false control = load_xml.ctl;
    XML TABLE SQLPLUS:
    create table livros of XMLTYPE;
    Shell:
    nohup sqlldr daiane/daiane DIRECT=false PARALLEL=false control = load_xmltb.ctl;
    XML Files:
    https://www.dropbox.com/sh/sn26jq6fjoi4635/0wjJI6tT4h
    Queries:
    for XQUERY  fn:collection("oradb:/HR/TB_XML")//article/physical_entity/communicator/person/compiler/causal_agent/language/writer/header/categories/category [ora:contains(., "PHP") > 0]
    XQUERY  fn:collection("oradb:/HR/TB_XML")//article/physical_entity/communicator/person/compiler/causal_agent/language/writer/header/title [ora:contains(text(), "PHP") > 0]
    for XQUERY  fn:collection("oradb:/HR/LIVROS")//article/physical_entity/communicator/person/compiler/causal_agent/language/writer/header/categories/category [ora:contains(., "PHP") > 0]
    XQUERY  fn:collection("oradb:/HR/LIVROS")//article/physical_entity/communicator/person/compiler/causal_agent/language/writer/header/title [ora:contains(text(), "PHP") > 0]
    What is wrong with these queries?
    Regards,
    Daiane

  • Insert a xml file without assigning the tablename in the xmldb

    hi guys,
    here comes a interesting question,
    after I registed a xml schema in oracle xml db, oracle create several tables depending on the schema, then I want to insert a xml file that is valided with the register schema and this xml file point to the "schemaurl" .
    If its possible to insert this xml file to oracle xmldb without point out the exact table name in the java program ( in oci driver or thin driver ).
    BTW, I can copy this xml file to oracle xml db repository, oracle insert it to xml table automatically.
    Mark, would you please give me some advice ;-)
    Thanks

    You can call it from JDBC using thin or thick. Thick is preferred...
    package com.oracle.st.xmldb.pm.examples;
    import com.oracle.st.xmldb.pm.common.baseApp.BaseApplication;
    import java.io.ByteArrayInputStream;
    import java.io.InputStream;
    import oracle.jdbc.OracleCallableStatement;
    import oracle.jdbc.OracleResultSet;
    import oracle.jdbc.OracleTypes;
    import oracle.xdb.XMLType;
    public class CreateResource extends BaseApplication {
        public CreateResource() {
        public void doSomething(String[] Args) throws Exception
          OracleCallableStatement  statement = null;
          String statementText;
          statementText =
          "declare" +
          " res varchar2(5);" +
          "begin " +
          "  if (dbms_xdb.createResource(:1,:2)) then " +
          "    res := 'TRUE';" +
          "  else" +
          "    res := 'FALSE';" +
          "  end if;" +
          "  :3 := res;" +
          "end;";
          XMLType xml;
          // In the real world we would get an InputStream from something more interesting that
          // an in memeory String
          String xmlText = "<Root><Element Attr=\"AttrValue\">A text Node</Element></Root>";
          byte[] byteBuffer = xmlText.getBytes();
          InputStream is = new ByteArrayInputStream(byteBuffer);
          xml = XMLType.createXML(this.getConnection(),is);
          statement = (OracleCallableStatement) getConnection().prepareCall(statementText);
          statement.registerOutParameter(3,OracleTypes.VARCHAR);
          statement.setString(1,"/public/test1.xml");
          statement.setObject(2,xml);
          boolean res = statement.execute();
          String plsqlResult = statement.getString(3);
          System.out.println("The result is " + plsqlResult);
          statement.close();
          getConnection().commit();
          getConnection().close();
        public static void main (String[] args)
         try
           CreateResource example = new CreateResource();
           example.initializeConnection();
           example.doSomething(args);
         catch (Exception e)
           e.printStackTrace();
    }

  • I am in hurry,how to save  the xml file without attributes

    i have the following xml file with attributes,
    <?xml version="1.0"?>
    <Ve2.Configuration>
         <Ve2.Displaymanager>
              <type type="combobox">eVeDisplayStandardType</type>
              <setCounter type="bool">false</setCounter>
              <frames type="textfield">20</frames>
         </Ve2.Displaymanager>
    </Ve2.Configuration>
    but i want to save it without attributes, that means, my saved xml file look like this.:
    <?xml version="1.0"?>
    <Ve2.Configuration>
         <Ve2.Displaymanager>
              <type >eVeDisplayStandardType</type>
              <setCounter >false</setCounter>
              <frames20</frames>
         </Ve2.Displaymanager>
    </Ve2.Configuration>
    how can i do it with java.

    If you know the format of the XML file, then you can write a straight forward XSL file to transform it.
    Paul
    www.codetelligence.com

Maybe you are looking for