How to create multiple output files using TrAX?

I am new in this field. I'm trying to create multiple xml output files using TrAX. I have to parse a xml source file and output it to multiple xml files. My problem is that it only creates one output file and puts all the parsed data there. When i use saxon and run xsl and xml files, it works fine and creates multiple files...it has something to do with my java code...Any help is greatly appreciated.
Here's my XSL file
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.1"
<xsl:template match="data_order">
<data_order>
     <xsl:copy-of select="contact_address"/>
     <xsl:copy-of select="shipping_address"/>
     <xsl:apply-templates select="ds"/>
</data_order>
</xsl:template>
<xsl:template match="ds">
<xsl:variable name="file" select="concat('order', position(),'.xml')"/>
<order number="{position()}" href="{$file}"/>
<xsl:document href="{$file}">
<xsl:copy-of select="."/>     
</xsl:document>
</xsl:template>
</xsl:stylesheet>
xml source file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE operation SYSTEM 'data_order.dtd'>
<data_order job_id='00-00-000' origin='PM-ESIP'>
     <contact_address>
          <first_name>ssssss</first_name>
          <last_name>sssss></last_name>
          <phone>2323232</phone>
          <email>dfdfdsaf</email>
     </contact_address>
     <ds ds_short_name ='mif13tbs'>
          <output>
               <media_format>neither</media_format>
               <media_type>FTP</media_type>
               <output_format>GIF</output_format>
          </output>
     </ds>
          <ds ds_short_name ='mif15tbs'>
          <output>
               <media_format>neither</media_format>
               <media_type>FTP</media_type>
               <output_format>GIF</output_format>
          </output>
     </ds>
</data_order>
My java file
import javax.xml.transform.*;
import javax.xml.transform.stream.*;
import java.io.*;
public class FileTransform {
public static void main(String[] args)
throws Exception {
File source = new File(args[0]);
File style = new File(args[1]);
File out = new File(args[2]);
TransformerFactory factory = TransformerFactory.newInstance();
Transformer t = factory.newTransformer(new StreamSource(style));
t.transform(new StreamSource(source), new StreamResult(out));

Saxon has specific extensions. In this case it is <xsl:document>. That looks like a standard XSLT element, but it actually isn't. The history behind it is this: There was a proposal to create a new version of XSLT, called XSLT 1.1. One of the new features of this version was to be this xsl:document element. The author of the Saxon product, Michael Kay, is one of the people on the W3C committee directing the evolution of XSLT, so he upgraded his product to implement XSLT 1.1. But then the committee decided to drop XSLT 1.1 as a recommendation. So that left Saxon in the strange position of implementing a non-existent extension to XSLT.
The other outcome of this process was that XSLT (1.0) does not have a way of producing more than one output file from an input file. And so the short answer to your question is "Trax can't do that." However, XSLT 2.0 will be able to do that, although it is not yet a formal W3C recommendation, and when it does become one it will take a while before there are good implementations of it. (I predict that Saxon will be the first good implementation.)
One of the problems with XML and XSLT is that what you knew a year ago is probably obsolete now, because of all the evolution going on. So being new in the field is not a disadvantage, unless you get stung by reading obsolete tutorials or magazine articles.

Similar Messages

  • How to create new XML file using retreived XML content by using SAX API?

    hi all,
    * How to create new XML file using retreived XML content by using SAX ?
    * I have tried my level best, but output is coming invalid format, my code is follows,
    XMLFileParser.java class :-
    import java.io.StringReader;
    import java.io.StringWriter;
    import javax.xml.transform.OutputKeys;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerConfigurationException;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.dom.DOMResult;
    import javax.xml.transform.sax.SAXSource;
    import javax.xml.transform.sax.SAXTransformerFactory;
    import javax.xml.transform.sax.TransformerHandler;
    import javax.xml.transform.stream.StreamResult;
    import org.w3c.dom.Document;
    import org.xml.sax.Attributes;
    import org.xml.sax.InputSource;
    import org.xml.sax.SAXException;
    import org.xml.sax.helpers.XMLFilterImpl;
    public class PdfParser extends XMLFilterImpl {
        private TransformerHandler handler;
        Document meta_data;
        private StringWriter meta_data_text = new StringWriter();
        public void startDocument() throws SAXException {
        void startValidation() throws SAXException {
            StreamResult streamResult = new StreamResult(meta_data_text);
            SAXTransformerFactory factory = (SAXTransformerFactory) SAXTransformerFactory.newInstance();
            try
                handler = factory.newTransformerHandler();
                Transformer transformer = handler.getTransformer();
                transformer.setOutputProperty(OutputKeys.ENCODING, "UTF-8");
                transformer.setOutputProperty(OutputKeys.INDENT, "yes");
                handler.setResult(streamResult);
                handler.startDocument();
            catch (TransformerConfigurationException tce)
                System.out.println("Error during the parse :"+ tce.getMessageAndLocation());
            super.startDocument();
        public void startElement(String namespaceURI, String localName,
                String qualifiedName, Attributes atts) throws SAXException {
            handler.startElement(namespaceURI, localName, qualifiedName, atts);
            super.startElement(namespaceURI, localName, qualifiedName, atts);
        public void characters(char[] text, int start, int length)
                throws SAXException {
            handler.characters(text, start, length);
            super.characters(text, start, length);
        public void endElement(String namespaceURI, String localName,
                String qualifiedName) throws SAXException {
            super.endElement("", localName, qualifiedName);
            handler.endElement("", localName, qualifiedName);
        public void endDocument() throws SAXException {
        void endValidation() throws SAXException {
            handler.endDocument();
            try {
                TransformerFactory transfactory = TransformerFactory.newInstance();
                Transformer trans = transfactory.newTransformer();
                SAXSource sax_source = new SAXSource(new InputSource(new StringReader(meta_data_text.toString())));
                DOMResult dom_result = new DOMResult();
                trans.transform(sax_source, dom_result);
                meta_data = (Document) dom_result.getNode();
                System.out.println(meta_data_text);
            catch (TransformerConfigurationException tce) {
                System.out.println("Error occurs during the parse :"+ tce.getMessageAndLocation());
            catch (TransformerException te) {
                System.out.println("Error in result transformation :"+ te.getMessageAndLocation());
    } CreateXMLFile.java class :-
    Sax.startDocument();
    Sax.startValidation();
    Sax.startElement("", "pdf", "pdf", new AttributesImpl());
    Sax.startElement("", "basic-metadata", "basic-metadata", new AttributesImpl());          
    String xmp_str = new String(meta_data.getByteArray(),"UTF8");
    char[] xmp_arr = xmp_str.toCharArray();
    Sax.characters(xmp_arr, 0, xmp_arr.length);
    Sax.endElement("", "pdf", "pdf");
    Sax.endValidation();
    Sax.endDocument();
    Sax.endElement("", "basic-metadata", "basic-metadata");* In CreateXMLFile.java
    class, I have retreived the xml content in the meta_data object, after that i have converted into character array and this will be sends to SAX
    * In this case , the XML file created successfully but the retreived XML content added as an text in between basic-metadata Element, that is, retreived XML content
    is not an XML type text, it just an Normal text Why that ?
    * Please help me what is the problem in my code?
    Cheers,
    JavaImran

    Sax.startDocument();
    Sax.startValidation();
    Sax.startElement("", "pdf", "pdf", new AttributesImpl());
    Sax.startElement("", "basic-metadata", "basic-metadata", new AttributesImpl());          
    String xmp_str = new String(meta_data.getByteArray(),"UTF8");
    char[] xmp_arr = xmp_str.toCharArray();
    Sax.characters(xmp_arr, 0, xmp_arr.length);
    </code><code>Sax.endElement("", "basic-metadata", "basic-metadata");</code>
    <code class="jive-code jive-java">Sax.endElement("", "pdf", "pdf");
    Sax.endValidation();
    Sax.endDocument();     
    * I HAVE CHANGED MY AS PER YOUR SUGGESTION, NOW SAME RESULT HAS COMING.
    * I AM NOT ABLE TO GET THE EXACT OUTPUT.,WHY THAT ?
    Thanks,
    JavaImran{code}

  • Export to PDF - Can a single report (rpt file) create multiple PDF files using the export command?

    Post Author: markeyjd2
    CA Forum: Exporting
    Greetings forum members,
    My question is, in its entirety: Can a single report (rpt file) create multiple PDF files using the export command, ideally one PDF file per DB record?
    In my case; I have a Crystal Report that reads data from a DB table containing ~ 500 records.  When I export the report to a PDF file, I get one PDF file, with ~ 500 pages.
    What I would like to do is export the report to ~ 500 individual PDF files; One file per DB record.  The file names would be based on the table's primary key.
    Is this possible?

    Post Author: Micha
    CA Forum: Exporting
    Hi,
    you need some lines of code, but its easy. Dependend on how to start the generation of your 500 PDFs, you can write an ASP page and start it via Web Browser, or a Windows Script and start it via scheduled job...
    Here's an abstract of the ASP code I use:
    First, you create a recordset (here: "rsc") which gives you the list of ID fields you want to export, then you create CrystalRuntime.Application object, then you loop through the recordset, open your report (here: "oRpt") and set login info. Then set the selectionformula, so that the report displays only the data of the current ID, e.g.:
      oRpt.RecordSelectionFormula = "(" & oRpt.RecordSelectionFormula & ") AND {myTab.myVal}=" & rsc("myVal")
    Then you export the report, move to the next record in recordset, and repeat the loop until recordset.EOF. Then you close recordset and connection.
    Micha

  • Question about creating multiple output  files from same query

    I have a query like this:
    select * from emp;
    ename empno deptno
    Scott 10001 10
    Tiger 10002 10
    Hanson 10003 20
    Jason 10004 30
    I need to create multiple output files in xml format for each dept
    example:
    emp_dept_10.xml
    emp_dept_20.xml
    emp_dept_30.xml
    each file will have the information for employees in different departmemts.
    The reason I need to do this is to avoid executing the same query 200 times for generating the same output for different departments. Please let me know if it is practically possible to do this.
    Any input is greatly appreciated.
    Thanks a lot!!

    You can write a shell script to generate the multiple spools files for the same output. Below script may helps you.
    #====================
    #!/bin/bash
    n=0
    while [ $n -le 20 ]
    do
    n=`expr $n + 1`
    sqlplus -s system/manager <<EOF
    spool emp_dept_$n.xml
    select count(1) from tab;
    spool off
    EOF
    done
    #====================

  • Creating an output  file using 'GUI_DOWNLOAD' function

    Hi SapAll.
    when i try to create an out put text file using the FM 'GUI_DOWNLOAD' by wiring the follwoing below source code
    CONCATENATE 'ASORT' c_tab 'ASORTYP' c_tab
                    'VKORG' c_tab 'DATAB' c_tab
                    'DATBI' INTO outtab-txt.
    iam not able to create the text file with more than 16 fields.i have tried to create an out put file with 24 fields but i can only see 16 fields in it.so could any body help me in finding out how i can create an Output file with more than 16 fields in the file.
    your help will be appreciated.
    regards.
    Varma

    check your output definition....are you doing something like below?  SAP will transfer 1024 bytes per line with GUI_DOWNLOAD.    After you download, how do you view the data?  Be sure you're looking at the data with something that will show all 1024 bytes, and not jsut 256 or 512.
    types: begin of outline,
               txt(1024),
             end of outline.
    data: outtab type table of outline,
             ls_out type outline.

  • EXSP24 - How to create multiple outputs

    When using the EXSP24 to play drum samples, is it possible to send different drums to different channels; eg bass drum to one channel, snare to one channel, etc?
    I would like to be able to do this in order to compress drums separately and add low shelf filter to the bass drum only etc.
    I have tried setting up different channel strips for the various drums but this means having the EXSP24 open on each of these tracks, and makes it hard to "play in" drum parts on the keyboard.
    Any suggestions?
    Bern

    You would have to use an EXS instrument that has been assigned to multichannel outputs. I don't know if any of LE7's drum sets are; I'm still using Logic Audio 6. But LA6 includes the EXS Instrument Editor, which allows you to modify existing instruments to make them multichannel; unfortunately, the Editor has been left out of LE7, as I've found out. The Editor is now only included in Pro.
    However, assuming you do have a multichannel drum set, you would select Multichannel (not Mono or Stereo) from the input menu of the Audio Instrument track and select the EXSP24 from there, and load the drumset.
    To access the multiple outputs, you use Aux tracks. You can create more Aux objects in the Environment if you need them. Once the multichannel EXSP24 has been assigned to an Audio Instrument track, the Aux tracks' inputs will either default to the EXSP24's multiple outputs, or have the outputs selectable in their input menus. The Auxes start with output 3; the main 1-2 outputs of the EXSP24 always go through the output of the Instrument track itself.
    Unless you know beforehand how the outputs are assigned, you'll have to play the set a bit to see which Aux track receives which drum(s).
    For example, you could have kick in the main out, snare in Aux 1 (EXSP out 3-4), toms in Aux 2 (EXSP out 5-6), and cymbals in Aux 3 (EXSP out 7-8). This is using stereo Auxes. In the EXS Instrument Editor, sample zones are assignable only to stereo pairs of outputs, not single outputs.
    For even more isolation (each drum to its own output), you'd have to set up the EXS instrument so that each drum is panned hard left or hard right in the pair. Then you create a mono Aux object for each drum; the input menu will then select a single EXSP output.
    I think it's a huge omission (and hindrance to the user) for Apple to leave out the Editor. Not only could you make these changes to your EXS instruments, but you could create new ones from sample CDs - though that's a long process.
    Redmatica's Keymap appears to be a more advanced and easier-to-use alternative to the Editor, but it's not available yet. http://www.redmatica.com/Site/Pages/KM.php

  • How to create multiple ifs users using XML

    I used the following xml file to create a ifs user. But I don't know how to create multiple users using XML. Thanks for your help.
    <SimpleUser>
    <UserName>bill</UserName>
    <Password>bill</Password>
    <DirectoryUserDescription>Bill</DirectoryUserDescription>
    </SimpleUser>

    There are many good resources for Powershell tutorials. The MS help page for each cmdlet is usually a good place to start.
    The suggested answer is very good and easy to modify to your needs. The linked article provides good detail on creating your csv file. If you look at their sample csv, you will see the column for LicenseAgreement and UsageLocation. You can change the script
    to use the values from the csv instead of the same value for every user like so:
    -LicenseAssignment $_.LicenseAgreement -UsageLocation $_UsageLocation
    Basically, $_.<valuename> is the filled in by the value under the heading <valuename> in your csv file for the current user. 
    As for what msdivision, replace this with the correct domain name value for your organization. You can get the values for license SKUs from existing users by using the following:
    Connect-MsolService
    Get-MsolUser -UserPrincipalName <userprincipalname> |select Licenses

  • SAX: How to create new XML file using SAX parser

    Hi,
    Please anybody help me to create a XML file using the Packages in the 5.0 pack of java. I have successfully created it reading the tag names and values from database using DOM but can i do this using SAX.
    I am successful to read XML using SAX, now i want to create new XML file for some tags and its values using SAX.
    How can i do this ?
    Sachin Kulkarni

    SAX is a parser, not a generator.Well,
    you can use it to create an XML file too. And it will take care of proper encoding, thus being much superior to a normal textwriter:
    See the following code snippet (out is a OutputStream):
    PrintWriter pw = new PrintWriter(out);
          StreamResult streamResult = new StreamResult(pw);
          SAXTransformerFactory tf = (SAXTransformerFactory) TransformerFactory.newInstance();
          //      SAX2.0 ContentHandler.
          TransformerHandler hd = tf.newTransformerHandler();
          Transformer serializer = hd.getTransformer();
          serializer.setOutputProperty(OutputKeys.ENCODING, "UTF-8");//
          serializer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM,"pdfBookmarks.xsd");
          serializer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM,"http://schema.inplus.de/pdf/1.0");
          serializer.setOutputProperty(OutputKeys.METHOD,"xml");
          serializer.setOutputProperty(OutputKeys.INDENT, "yes");
          hd.setResult(streamResult);
          hd.startDocument();
          //Get a processing instruction
          hd.processingInstruction("xml-stylesheet","type=\"text/xsl\" href=\"mystyle.xsl\"");
          AttributesImpl atts = new AttributesImpl();
          atts.addAttribute("", "", "someattribute", "CDATA", "test");
          atts.addAttribute("", "", "moreattributes", "CDATA", "test2");
           hd.startElement("", "", "MyTag", atts);
    String curTitle = "Something inside a tag";
              hd.characters(curTitle.toCharArray(), 0, curTitle.length());
        hd.endElement("", "", "MyTag");
          hd.endDocument();
    You are responsible for proper nesting. SAX takes care of encoding.
    Hth
    ;-) stw

  • How to create multiple physical channels using DAQmx?

    Hi, I am new to Labview.
    Can anyone please help me on how to create multiple physical channels? I am following the LabVIEW examples in the NI example finder but they are only for acquiring signals from one channel.
    Actually, I am using the channels of an SCXI 1520 to measure voltage signals. And one more thing, in the NI Example Finder, they are sample codes there for setting the filter in SCXI 114x.
    Will this example work with an SCXI 1520, too?
    Thanks!

    There are many ways to read multiple channels in LabVIEW. First, if you look at that example that lets you set the filter setting on the 114x and you click on the 'Physical Channel Listbox' then click 'Browse' you can see that you can select multiple channels. After you select the channels and hit 'Ok' it will build a multiple channel string. This is one way to read multiple channels.
    Next, you can create a 'Task' in Measurement and Automation Explorer(MAX). When you create this task select all the channels that you need to read then back in LabVIEW simply select a 'DAQmx Task Name Constant' Select the task you just created and wire that to an Input of your first DAQ VI. If you do this you do not need to have a 'DAQmx Create Physical Channel' VI or create
    Task because it is already created in MAX.
    When looking at example VIs you can tell if a multi-channel read is acceptable by looking at the 'DAQmx Read' and if it says NChan that means it will do a multichannel read. There are tons of example programs that will display the multichannel read capabilities.
    This example may not work for the 1520 because the properties that are set could possibly be specific to the 142x. When using the 1520 though it is very likely that the properties will be very similar if not exact. You will simply put a DAQmx Channel property node on your block diagram and then look for the Lowpass filter settings properties that will most likely be in the same location. Now another way todo this without using a property node would be in MAX when you create a task set the filter settings from the Device tab in the task configure window.
    Let me know if you need anymore help with reguards to this issue! Have a great day!
    Allan S.
    National Instrument
    s
    Applications Engineering

  • How to Create a Flat File using FTP/File Adapter

    Can any body done workaround on creating the Flat file using FTP/File Adapter?.
    I need to create a simple FlatFile either using of delimiter/Fixed length. using the above said adapters we can create XML file, i tried concatinating all the values into a single String and writing into a file, but it does not have proper structure
    Can any body help me out on this..
    Thanks
    Ram

    You can create a text schema while creating a File Adapter. If schema is specified for File Adapter, it takes care of converting XML into fixed length or delimited format.
    Thanks,
    -Ng.

  • How to create multiple Purchase Order  using the same document number?

    HI Friends,
    I m in a product which extracts data from SAP and stored in Access database.
    For that,while i extracting Purchase Order from the Demo Database (SBODemo_US)for OEC Computers,the same DocNum is used for several Purchase Order using Index Line numbers.
    eg:
    DocNum for Purchase Order1 -->3000   0 (Index)
      DocNum for Purchase Order2 -->3000   1 (Index)
        But i can't create multiple Purchase Order using same DocNum manually in SAP B1,Could anybody please help me <b>to create a Purchase Order using same DocumentNumber?</b>
    Thanks in Advance
    SooriyaKala.P

    Hi,
    The problem statement is not quite clear to me.
    As far as I understand your statement, I think you want to club multiple orders into one purchase order using the index incrementally.
    For this I think once you have created the first purchase order, open the purchase order in edit mode the second time and append the new line items.
    If I am getting you wrong please explain the problem statement in more detail.
    Regards,
    Rara.

  • How to create the trace file using run_report_object at runtime

    Dear All
    using :
    Oracel Application Server 10g
    Oracle Database 11g
    Windows XP/sp3
    I'm using run_report_object to call a report inside the form. THis report is running OK from reports builder, however it's too slow when run from Application server.
    How Can I create a trace file (at runtime) that contains the time spent in sql and formating the layout of the report ??
    Here is My code :
    repid := find_report_object('report5');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,'INVOICE.REP');
    v_url :='paramform=no';
    v_url := v_url||' FROM_NO=' || :PRINT_BLOCK.FROM_NO ;
    v_url := v_url ||' TO_NO=' || :PRINT_BLOCK.TO_NO ||' FROM_DATE=' || v_from_date ||' TO_DATE='|| v_to_date ||' NO_DATE=' ;
    v_url := v_url ||:PRINT_BLOCK.NO_DATE||' IDENT=' ||:PRINT_BLOCK.IDENT_NO||' REPORT_HEADING='''||V_REPORT_HEADING||'''' ;
    v_url := v_url||' COMPANY_NO='||:global.company_no;
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,v_url);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,:GLOBAL.INV_REPORT_SERVER_NAME);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'pdf');
    v_rep := RUN_REPORT_OBJECT(repid);
    IF rep_status = 'FINISHED' THEN
    V1:='/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1);
    WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?server='||REPORT_SERVER_NAME,'_blank');
    END IF;
    Thanks a lot

    Slow running reports often are not the result of a flawed report, but rather a flawed configuration. For example:
    1. If you call your reports (from Forms) via the default or inProcess Reports Server, often because startup time is slow, it will appear that it took too long for the report to be delievered. Using a stand-alone Rep Server is the preferred way to do this.
    2. If your Forms application makes numerous calls to RRO (RUN_REPORT_OBJECT), this can tend to result in what might appear as a memory leak (although it is not). The result is delayed processing because of the excessive memory use. This problem has been overcome in Forms/Reports 11 by the use of JVM pooling. However in v10 enabling "6i compatibility" mode is the way to overcome the issue. See Note 266073.1
    3. If the report runs fine from the Builder and it is connecting to the same db as when you run it from App Server, the issue is unlikely a db problem. However, if you want to look anyway, enable sqlnet tracing.
    4. To enable Reports tracing and investigate other tuning options, refer to the Reports 10 documentation:
    http://docs.oracle.com/cd/B14099_11/bi.1012/b14048/pbr_tune.htm
    Almost forgot to mentioned this one....
    If you are using a v11 db with App Server 10, you will probably want to consider reviewing Note 1099035.1 as it discusses an issue related to performance with such a configuration.
    Edited by: Michael Ferrante on Apr 10, 2012 8:49 AM

  • How to create multiple pdf files from multiple batch processing

    I have several file folders of jpeg images that I need to convert to separate multi-page pdf files. To give a visual explanation:
    Folder 1 (contains 100 jpeg image files) converted to File 1 pdf (100 pages; 1 file)
    Folder 2 (contains 100 jpeg image files) converted to File 2 pdf (100 pages; 1 file)
    and so on.
    I know I can convert each folder's content as a batch process, but I can only figure out how to do so one folder at a time. Is it at all possible to convert multiple folders (containing jpegs) to multiple pdf files? Put differently, does anyone know how to process a batch of folders into multiple (corresponding) pdf files?
    Many thanks.

    There are two approaches to do this:
    - First convert all JPG files to PDF files using a "blank" batch process. Then combine all PDF files in the same folder using another batch process and a folder-level script (to do the actual combining). I have developed this tool in the past and it's available here:
    http://try67.blogspot.com/2010/10/acrobat-batch-combine-all-files-in.html
    - The othe option is to do everything in a single process, but that requires an application outside of Acrobat, which I'm currently developing.
    If you're interested in any of these tools, feel free to contact me personally.

  • How to create multiple PDF files.

    Hi,
    I have two tables, one with the customer address and another one with a note. May I know how to create a separate PDF file (for each customer) that should start with the customer name/address (from customer table) and followed by a note (from the note table)
    Thanks in advance

    Hi,
    I am stuck at the first step of designing report with jasper ireport designer... my test data is currently on apex.oracle.com and my real data is hosted on the intranet, there are quite a few options available to link to the table source before designing the report but I am not sure which one to use to connect to APEX.oracle.com (or to my intranet.. interestingly there is no option for ODBC connection, usually that's the one I use to upload files to oracle)...
    can you please suggest how to link to the table...?
    alternatively, I downloaded the data and saved it in the csv format and used that as the source to create a sample report which is shown below (is there a way to manually convert it to sql based)...? here is the report
    <?xml version="1.0" encoding="UTF-8"?>
    <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="report9" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="62e163c3-8f34-451a-800b-5f4285e2e194">
         <property name="ireport.zoom" value="1.0"/>
         <property name="ireport.x" value="0"/>
         <property name="ireport.y" value="0"/>
         <field name="MONTH" class="java.lang.String"/>
         <field name="CUSTOMER" class="java.lang.String"/>
         <field name="PRODUCT" class="java.lang.String"/>
         <field name="Revenue" class="java.lang.String"/>
         <background>
              <band splitType="Stretch"/>
         </background>
         <title>
              <band height="79" splitType="Stretch"/>
         </title>
         <pageHeader>
              <band height="35" splitType="Stretch"/>
         </pageHeader>
         <columnHeader>
              <band height="61" splitType="Stretch">
                   <staticText>
                        <reportElement uuid="e7032731-30c5-4d15-b6e0-bccaeb8de3b0" x="0" y="0" width="138" height="20"/>
                        <textElement/>
                        <text><![CDATA[MONTH]]></text>
                   </staticText>
                   <staticText>
                        <reportElement uuid="0a3a1aef-e967-42c4-81bd-1fc0688afffa" x="138" y="0" width="138" height="20"/>
                        <textElement/>
                        <text><![CDATA[CUSTOMER]]></text>
                   </staticText>
                   <staticText>
                        <reportElement uuid="35720a70-999c-4b17-966d-7a6ff104ccd2" x="276" y="0" width="138" height="20"/>
                        <textElement/>
                        <text><![CDATA[PRODUCT]]></text>
                   </staticText>
                   <staticText>
                        <reportElement uuid="bbec6818-cdb0-4745-927c-6f3e40209fb2" x="414" y="0" width="138" height="20"/>
                        <textElement/>
                        <text><![CDATA[Revenue]]></text>
                   </staticText>
              </band>
         </columnHeader>
         <detail>
              <band height="125" splitType="Stretch">
                   <textField>
                        <reportElement uuid="a6554549-7721-4a4f-94f0-3169139bfdb6" x="0" y="0" width="138" height="20"/>
                        <textElement/>
                        <textFieldExpression><![CDATA[$F{MONTH}]]></textFieldExpression>
                   </textField>
                   <textField>
                        <reportElement uuid="c2943016-5a5f-42e8-8612-5b8dafc23eea" x="138" y="0" width="138" height="20"/>
                        <textElement/>
                        <textFieldExpression><![CDATA[$F{CUSTOMER}]]></textFieldExpression>
                   </textField>
                   <textField>
                        <reportElement uuid="3d97fdd0-5923-469a-862f-be485b6416ac" x="276" y="0" width="138" height="20"/>
                        <textElement/>
                        <textFieldExpression><![CDATA[$F{PRODUCT}]]></textFieldExpression>
                   </textField>
                   <textField>
                        <reportElement uuid="724e9536-667b-4db1-96b8-81e2f5554ea2" x="414" y="0" width="138" height="20"/>
                        <textElement/>
                        <textFieldExpression><![CDATA[$F{Revenue}]]></textFieldExpression>
                   </textField>
              </band>
         </detail>
         <columnFooter>
              <band height="45" splitType="Stretch"/>
         </columnFooter>
         <pageFooter>
              <band height="54" splitType="Stretch"/>
         </pageFooter>
         <summary>
              <band height="42" splitType="Stretch"/>
         </summary>
    </jasperReport>

  • How to create an exe file using labview and arduino?

    I bought Arduino Mega 2560. I have installed Arduino IDE 1.7.3. I am using Windows 7 64bit version and Labview 2012. I started working after the compilation of LIFA_Base File with Arduino IDE and with labview.
    My application is: I have connected my arduino to my PC via USB for read input/output pins. I have to read all the time an analogue input from arduino and I have to draw the graphical representation of the input. I would like to know if I can create an exe file of this application. I would like to use the created exe file to another PC without labview installation. 
    Please help me to resolve the problem.
    Regards

    Yup you sure can.  With Application Builder, that is bundled with several LabVIEW packages you can make an EXE, and then make an installer that can include the LabVIEW Run-Time engine (free) and you'll also need the VISA run-time for talking to serial devices like your Arduino.
    Then you should be able to run that installer on any normal Windows PC and without the development environment be able to run your program.
    Note that currently Student, and Home versions of LabVIEW do not have the application builder since it is intended for learning, and hobbyist, not for distributions.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

Maybe you are looking for

  • Can't figure this out: locating a MBP on the same wifi network

    Can't figure this out: when my 13" MBP is connected wirelessly to my Airport base station, my iPad can see it. When I connect the MBP to the base station via ethernet cable (for faster connection), the iPad can no longer see it. Note: my airport is n

  • Video import from PAL camcorder

    I have just bought a Canopus ADVC110 which converts analog video to digital and have it hooked into my Powerbook Pro via a firewire lead. I have my analog PAL camcorder tied into the canopus and am attempting to import some PAL video but not getting

  • Serial number ignored when I try to authorize AP 2.01 Trial

    I have just bought the AP 2 online and immediately received a serial number in the mail. I started the AP 2.01 trial and pressed "Authorize". I entered my name and the serial sent to me, but it is completely ignored? When I press ok (or done? I forge

  • Anyone know of a Java PDF Library?

    Anyone know of a java library that assists in creation of pdf files?

  • [SLD] Problems with Export

    Hi, I have to move from development to test-system, so I did an export of design objects and the admin import this file into the new system. He didn't create the Business Systems, Technical System, SWK or Product in SLD, so I thought I could do this