Strange Charz shown in my created .TXT file

Hi,
I have createt an empty .txt file with the following command:
FileOutputStream fot = new FileOutputStream("Test.txt");
Then I wrote a simple String into it which should be written into 2 lines like that:
MY FIRST
TEXTFILE
I used that code snippet:
String x = new String("MY FIRST\nTEXTFILE");
DataOutputStream dos = new DataOutputStream (fot);
dos.writeUTF(x);
But instead of my wanted result i got something like this:
MY FIRSTTEXTFILE
if i show this with NOTEPAD.
The result in Word2000 looks like this:
MY FIRST
TEXTFILE
I hope somebody can tell my how I have to write it to a file that it looks like this:
MY FIRST
TEXTFILE
without the ugly "".
THNX in advance
BraiNbuG

The 'System.getProperty("line.separator")' was pretty good. But I have already the prolem with de Charz on the beginning. But now they are not anymore such squares. They are simple Charz like ' a' & ' f' & ...
I show you a snippet of my log fil, which i want to create out of a program:
fTue Dec 18 11:41:24 GMT+01:00 2001 [JDBCAdapter.JDBCAdapter]
Try to open Database connection ....
�Tue Dec 18 11:41:30 GMT+01:00 2001 [DataManager.jM_stamm_kunden_neuActionPerformed]
Leeres Formular fuer neuen Kundeneintrag oeffnen
aTue Dec 18 11:41:35 GMT+01:00 2001 [DataManager.jM_sys_endeActionPerformed]
Auf Wiedersehen!
Each row which contains the Date has such a Char at the beginning which isn't present in the String.
Here is the CLASS I've written to output such a log-File:
public class SystemMessage
boolean SCREEN_OUTPUT = true;
boolean FILE_OUTPUT = true;
Date datum;
FileOutputStream f;
String VisualString = new String("");
public SystemMessage()
try
f = new FileOutputStream(".\\DataManager.log",true);
catch(IOException ioe)
System.err.println(ioe);
public void print(String Message, String className)
datum = new Date();
VisualString = datum.toString() +
" ["+className+"]" +
System.getProperty("line.separator") +
" " + Message +
System.getProperty("line.separator");
if(SCREEN_OUTPUT)
System.out.println(VisualString);
if(FILE_OUTPUT)
try
DataOutputStream dos = new DataOutputStream (f);
dos.writeUTF(VisualString);
catch (IOException e)
System.err.println(e);
Myabe you can find a error which I've made
Again THNX in advance,
BraiNbuG

Similar Messages

  • Create txt file at runtime

    I'm working on a biological database. People see the data via jsp pages. Now at runtime a very long string is created depending on the needs of the user. This data is derived from different tables and the output string can be up to 5000 characters. Now this output can be used by the user as input for several biological research applications. Now I can create this string at runtime and can print it in a jsp page. But it would be easier for the users if this string would be written at runtime to a txt file(or an extension supported by these applications). So that users only have to press a button, there will be a txt file created and opened in a different browser window (or maybe better would be a dialog box with the choice to save to disk or to open), so that people can easily save it and later on import this file in their applications rather than have to copy the string from a jsp page and paste it in a text editor. How can I do this???
    Thanx,
    Lieven

    Ok I did some research by myself and discovered to set the contenType to application/octet-stream. The problem is now that the extension of the output file is still jsp. So how can I change this to the filename and extension of my choice???
    thanx,
    Lieven

  • How to create txt file in utf-8?

    Hi,
    if i create a txt file using vb in fdm, it is created with the ansi encoding. Is there any option how to create this file in utf-8?
    Thx

    Forms6i uses Oracle 8.0.6 client libraries. MetaLink Note 207303.1 lists supported client/server configurations, and the last database version supported with those libraries is Oracle 9.2. The only exception is made for e-Business Suite (Oracle Applications). Therefore, you configuration is not supported.
    Anyway, Oracle 8.0.6 does not support AL32UTF8 well. You should select UTF8 as the database character set (not national character set!). You need to select a check box on DBCA interface (possibly unavailable in fast/default installation path) which allows you to see non-recommended character sets.
    -- Sergiusz

  • Creating txt file to store input username and password

    Hi everyone,
    I'm new to java, and have been having a hard time with this code.
    My goal is to allow the user to enter in their username and password which should be concatentated as a string and stored into a text file. I am unable to link the two input fields as one string of characters. I know i'm approaching this wrong, but am uncertain of where i need to begin.
    Code is as follows:
    /*Purpose: To allow the user to input their desired username and password
    *which will be stored in a data structure for later use; for instance when
    *the user wants to use the application again their username and password
    *will be assigned the same/linking locations, hence they will be validated.
    *inputed username and password should be stored in a text field for later use
    *of validating login possbily using a search method
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.io.*;
    import java.util.*;
    import java.lang.String.*;
    public class TextFieldTest1 extends JFrame {
    private JTextField userName;
    private JPasswordField password;
    private JLabel textFieldLabel, passwordFieldLabel;
    // set up GUI
    public TextFieldTest1()
    super( "Please Login to AutoSync" );
    Container container = getContentPane();
    container.setLayout( new FlowLayout() );
    // construct textfield with default sizing
    userName = new JTextField( 10 );
    //creating textfield label
    textFieldLabel = new JLabel("Username");
    container.add(textFieldLabel);
    container.add( userName);
    // construct passwordfield with default text
    password = new JPasswordField( "Hidden text" );
    passwordFieldLabel = new JLabel("Password");
    container.add(passwordFieldLabel);
    container.add( password );
    // register event handlers
    TextFieldHandler handler = new TextFieldHandler();
    userName.addActionListener( handler );
    password.addActionListener( handler );
    setSize( 325, 100 );
    setVisible( true );
    }// end constructor TextFieldTest
    //ADDED TO CREATE TEXT FILE OF USER INPUTS
    //Code actually doesn't work, but i was thinking that where i have brooke
    //if i should create another actionlistner to concatenate the userName and password nputs into one field, perhaps a login button which hold both those arrays then i can do writer.write("combinedfields")      
    public static void main( String args[] )throws IOException
    TextFieldTest1 application = new TextFieldTest1();
    application.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
    // private inner class for event handling
    private class TextFieldHandler implements ActionListener {
         String fileName = "SENIOR.txt" ;
    FileWriter writer = new FileWriter( fileName );
    writer.write(userName.addActionListener);
    writer.write(password.addActionListener);
    writer.close();
    // process textfield events
    public void actionPerformed( ActionEvent event )
    String string = "";
    // user pressed Enter in JTextField textField1
    if ( event.getSource() == userName )
    string = "userName: " + event.getActionCommand();
    // user pressed Enter in JTextField passwordField
    else if ( event.getSource() == password ) {
    string = "password: " +
    new String( password.getPassword() );
    JOptionPane.showMessageDialog( null, string );
    } // end method actionPerformed
    } // end private inner class TextFieldHandler
    //private class users to link username/password input with Array locations
    private class Users{
              public String userCheck[] = new String[10];     
              public String passCheck[] = new String[10];     
    private boolean validateUser(String usr, String pwd)throws IOException {
         for (int i = 0; i < userCheck.length; i++)
    if (userCheck.equals(usr) && passCheck[i].equals(pwd))
    return true;
                   return false;
         }     //end method validateUser
    }     //end class users
    } // end class TextFieldTest}

    Double Post
    http://forum.java.sun.com/thread.jspa?threadID=631685&tstart=0

  • Creating TXT file and upload to portal

    Hi All,
    I am working on creating a report which takes the balance sheet backfeed and creates a unix file in background and mails the spool file to particular user.
    I have developed this much. But now I have to extend this to reading that file and create a .txt or .csv  file and upload it to a portal.
    can anyone help me on how to  achieve this.
    Thanks,
    Shubham

    Hi Shubham,
    Download spool as .txt with FM RSPO_DOWNLOAD_SPOOLJOB.
    Mention file as .txt
    Thanks,
    Anil

  • OPEN DATASET create .txt file in application server

    Hi,
    I'm trying to create a .txt into application server. Code as follows:-
    OPEN DATASET gv_filestatus FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
      IF sy-subrc <> 0.
        WRITE: 'File cannot be opened.'.
      ENDIF.
      LOOP AT gt_pdfstatus INTO gw_pdfstatus.
        TRANSFER gw_pdfstatus TO gv_filestatus.
      ENDLOOP.
      CLEAR gw_pdfstatus.
    CLOSE DATASET gv_filestatus.
    But I got the error "GW_PDFSTATUS" cannot be a table, a reference, a string, or contain any of these objects. GW_PDFSTATUS is a work area with 5 fields of different type. I know that I can transfer table type of TLINE but I'm not sure how to convert my internal table gt_pdfstatus as TLINE.
    Please advise. Thanks.

    When transfering data to a file, you should convert the data to type char and then transfer it to the file.
    So, you would need to declare a structure with 5 fields of type c with the corresponding length of the original structure.
    Then move the corresponding fields of work are gw_pdfstatus to the character type structure. And then transfer the new structure to the file (gv_filestatus in your case).
    "for example if all the fields in the gw_pdfstatus  are of lenght 10, then declare a structure as follows
    data : begin of file_wa,
    f1(10) type c,
    f2(10)  type c,
    f3(10) type c,
    f4(10) type c,
    f5(10) type c,
    end of file_wa.
    OPEN DATASET gv_filestatus FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
      IF sy-subrc  0.
        WRITE: 'File cannot be opened.'.
      ENDIF.
      LOOP AT gt_pdfstatus INTO gw_pdfstatus.
        move-corresponding gw_pdfstatus to file_wa.  " Add this
        TRANSFER file_wa TO gv_filestatus.   " Change this line
      ENDLOOP.
      CLEAR gw_pdfstatus.
    CLOSE DATASET gv_filestatus.
    Hope this helps.
    KR,
    Advait

  • FCC: Receiver: Just one element filled -- create txt-File

    Hi everybody,
    we got a message-interface with just one element <content>texttexttexttext</content>
    We want to use FCC to create a text-File.
    How do the parameters have to look?
    regards Mario

    Hi,
    go through this blog and do FCC as per your data.
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    I think it will be better if you could send the exect data, which you are gona to create a text file by using Receiver FCC. There should be some separation in between the text, otherwise how u will decide the fieldSeparator in FCC.
    Regards,
    Sarvesh

  • Writing the ASCII value of a character found in a .txt file

    I have a program that reads in a file and outputs certain characters to a new smaller file. The program works fine (thanks to some forum help) but I now need to print the ASCII value of the characters that are written to the file.
    The problem I'm having (besides writing the ascii value of the char) is that the Unix .txt file has some weird properties. When I run the program on a .txt test file that I created with spaces in it, the program ignores the space characters.
    Yet, when I run the program on the Unix file it wites the 'spaces' to the output file. That is why I want to write/print the ASCII value of the "blank "character in the Unix .txt file.
    I already serached the forum and did a Google search for Char to ASCII conversion but I didn't find anything.
    Thanks,
    LS6v
    Here's the code and the clips of the ouput files:
    package source;
    import javax.swing.*;
    import java.io.*;
    public class Scanner4
         public static void main(String[] args)
              getContents();
              System.exit(0);
         public static void getContents()
              char charArray[] = {'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z',
                                         'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z',
                                           '0','1','2','3','4','5','6','7','8','9','$','.', '#', '-', '/', '*', '&', '(', ')',' '};
              String Chars = null;
              String lineSep = System.getProperty("line.separator");
              int iterator = 0;
              int i = 0;
              int charNum = 1;
              int lineCount = 1;          
             // StringBuffer contents = new StringBuffer();
             //declared here only to make visible to finally clause
             BufferedReader input = null;
             BufferedWriter out = null;
             try {
                         //use buffering
                         //this implementation reads one line at a time
                         input = new BufferedReader( new FileReader( "C:\\testFile\\test1.txt" ));
                         out = new BufferedWriter( new FileWriter( "C:\\Scan file test\\Write\\test.txt" ));
                         String line = null;
                    out.write( "Character\tLine Number\tCharacter Number" + lineSep ); 
                              while (( line = input.readLine()) != null)
                               //contents.append(System.getProperty("line.separator"));
                               i = 0;
                               charNum = 1;
                               iterator = 0;
                              while( i < line.length() )
                                             for( int count = 0; count < charArray.length; count++)
                                                  if( (charArray[count] != line.charAt(iterator)) && (count+1 == charArray.length) )
                                                       out.write( "[" + line.charAt(iterator) + "]\t\t" + "[" + lineCount + "]\t\t" + "[" + charNum + "]" + lineSep);
                                                  if( charArray[count] == line.charAt(iterator) )
                                                       break;
                                        charNum +=1;
                                        iterator +=1;
                                        i++;                               
                                 lineCount +=1;
             catch (FileNotFoundException ex) {ex.printStackTrace();     System.out.println("File not found.");}          
                 catch (IOException ex){ex.printStackTrace();               System.out.println("IO Error.");}
             finally
                           try{
                                 if (input!= null){
                               //flush and close both "input" and its underlying FileReader
                                 input.close();
                                 out.close();
               catch (IOException ex){ex.printStackTrace();  System.out.println("IO Error #2.");}
    My created .txt file:
    1. a!asdsad
    2. @
    3. #
    4. $
    5. %sdfsdf
    6. ^
    7. &
    8. *
    9. (
    10. )
    11. _
    12. +sdfsdfsdf
    13. -
    14. =
    15. ~
    16. `
    17. dfgdfg;
    18. :
    19. '
    20. "fghfghf
    21. ,
    22. dfgdfg<
    23. .
    24. >fghfghfg
    25. /
    26. gggggggggggggggggggggggg?
    27. a
    Output for my .txt file:
    Character     Line Number     Character Number
    [!]          [1]          [5]
    [@]          [2]          [4]
    [%]          [5]          [4]
    [^]          [6]          [4]
    [_]          [11]          [5]
    [+]          [12]          [5]
    [=]          [14]          [5]
    [~]          [15]          [5]
    [`]          [16]          [5]
    [;]          [17]          [11]
    [:]          [18]          [5]
    [']          [19]          [5]
    ["]          [20]          [5]
    [,]          [21]          [5]
    [<]          [22]          [11]
    [>]          [24]          [5]
    [?]          [26]          [29]************************************************************************
    Output generated after reading the .txt file from the unix box:
    Character     Line Number     Character Number
    [ ]          [1]          [17]
    [ ]          [1]          [18]
    [ ]          [1]          [19]
    [ ]          [1]          [6530]
    [ ]          [2]          [2041]
    [']          [29]          [1834]
    [']          [29]          [2023]
    [']          [30]          [1834]
    [']          [30]          [2023]
    [']          [30]          [2066]
    [']          [47]          [2066]
    [']          [67]          [2067]
    [']          [77]          [2066]
    [+]          [80]          [28]

    Thanks I didn't even think to try and cast it to an int...
    The tool I'm using to create my .txt in windows is Notepad.
    I wrote a program to simply copy the original (3GB) Unix file and terminated it early so I could see what was there. What I found was some text and symbols and a lot of space between brief bursts of text. I can't really copy and paste an example because the amount of space is too large, it's basically a 3GB unformatted .txt file...
    Unix file was created on: unknown
    It sounds like the .txt file that I copied from the Unix box was formatted differently. But I thought that the formatting had more to do with end of line issues, not blank space between characters. Because a blank space should be seen by my program and ignored...
    Here's the ASCII value of the "blank" spaces:
    Character     Line Number     Character Number
    [ ]          [1]          [17]     Ascii Value: [0]
    [ ]          [1]          [18]     Ascii Value: [0]
    [']          [868]          [2066]     Ascii Value: [39]
    [,]          [877]          [186]     Ascii Value: [44]
    [,]          [877]          [276]     Ascii Value: [44]
    Also, the Ascii value printed for the blank spaces looks like the number zero here but it looks like it has strange points on the bottom of it in my output file. It looks like the extended ASCII character 234 &#937;

  • Dynamic Creation of .txt file

    hi Friends ,
    I want to create .txt file from oracle database information on apache tomcat server side.
    or
    create .txt file when user give some input according to that data should be retrival from oracle table.

    Start reading the following tutorials:
    JDBC: [http://java.sun.com/docs/books/tutorial/jdbc/index.html]
    IO: [http://java.sun.com/docs/books/tutorial/essential/io/]
    If you stucks with this, please ask a specific technical coding problem instead of just stating a global requirement.

  • With webutil-client_host, send txt file to client printer

    hi,
    I wanna to learn how to send a txt file to client default printer(local or network),
    I created txt file at client disk, and try to send printer directly,
    just try some statement looks like below;
    a.client_host('cmd /c start print C:\TEMP399899.txt /d:lpt1');
    b.client_host('cmd /c start copy C:\TEMP399899.txt lpt1');
    I do not know the command prompt syntax, please help me, reference me,
    thanks

    Hi,
    on a command line type
    print /?
    for the help of how to print documents. On XP this help is
    PRINT [D:device] [[drive:][path]filename[...]]
    /D:device Specifies a print device.
    Frank

  • Saving .txt files as .rtf's

    I have a bunch of .txt files that were created in Windows. When I open them in OS X, they appear in TextEdit, and the font is Monaco. Pretty unattractive. So I Command-A to select all, then go to Show Fonts, and change the whole document to Arial. I save it, but the Save window doesn't give me the option to save it as Rich Text. The choices are all Plain Text encodings. So even though I'm saving the document with Arial, the next time I open it, it's back to Monaco.
    My workaround has been to just copy the text, paste it into a new TextEdit document, and there I am able to save it as an .rtf.
    My question is: is there a faster, easier way to change the font in these Windows-created .txt files and then save them as .rtfs?
    Thanks in advance ...

    Plain text files contain text only -- no formatting information at all, including font selection. If you don't like Monaco, then change the Plain Text font in TextEdit Preferences.

  • --- Petition to put the support of TXT-files on the next firmware upgrade (Zen Xtra, Touch, Mic

    What do you think about creating TXT-files support in newer versions of firmware? I suppose it can be great! Imagine: you can store books (HDD! What am I talkin' about? You can store a great library on your player!), song lyrics and more!Message Edited by AL_exe on 0-30-2005 02:24 AMMessage Edited by AL_exe on 02-03-2005 05:55 PMMessage Edited by AL_exe on 02-08-2005 2:3 AMMessage Edited by AL_exe on 02-08-2005 2:33 AM

    scorpian007 wrote:
    We need to turn this into a petition
    I've just made it by renaming the thread.
    <img src='http://chandan.tx.com.ru/sguestbook/images/avatars/matrix.jpg'>Does anyone else want to join us?

  • Copying console output into *.txt files

    Basically, I am having trouble creating *.txt files and copying System.out.println(" data "); into these *.txt files. I've tried FileInputStream and FileOutputStream, but these haven't worked. I've also tried doing this on both Unix and Windows environments.
    Can anyone help?

    Hi,
    If you want to do this from within your program you'll need to redirect the system output:
    System.setOut (new PrintStream((OutputStream) new FileOutputStream ("C:/test.txt")));
    System.out.println ("test ok");
    Kurt.

  • Scenario to read from txt-file and create a sales order

    Hi,
    i have started creating a scenario to read from an txt-file and to create a sales order.
    When i activate my scenario, i get the following message :
        no scenario step (vBIU) associated for this step for the incoming system (SysId)
    When i look into the detailed xml-file i see that all the records are read from the file, but there is no next step to be treated.
    Has somebody any idea how this come ?
    -<Msg MessageLog="true" msglogexcl="false" logmsg="0009" recording="true" BeginTimeStamp="20111202095144" MessageId="11120209514499820828C0A801674F24" xmlns="urn:com.sap.b1i.vplatform:entity">-<Header><msglog b1ifactive="true" always="false" step="Default message log"/>-<Resumption><starter ipo="/vP.0010000138.in_FEAN/com.sap.b1i.vplatform.runtime/INB_FI_EXST_ASYN_NAM/INB_FI_EXST_ASYN_NAM.ipo/proc"/></Resumption><IPO tid="11120205535899820808C0A801678C54" Id="INB_FI_EXST_ASYN_NAM"/><Sender Id="0010000138"/><Inbound file="ORDERS_TEST" ext="csv" path="C:\TEMP\In" pltype="txt" wrap="" deli=";"/></Header>-<Body><Payload Type="File exist" Role="T"/>-<Payload Role="S">-<io xmlns="urn:com.sap.b1i.bizprocessor:bizatoms" pltype="txt">
    -<row>
    <col>OH</col>
    <col>0000087077</col>
    <col>201110041205</col>
    <col>220</col>
    <col>9</col>
    <col>201110191702</col>
    <col>8710624300012</col>
    <col>8714252008609</col>
    <col>8710624300012</col>
    <col>8714252008609</col>
    <col>8710624300012</col>
    <col>N</col>
    <col>N</col>
    <col>N</col>
    </row>
    -<row>
    <col>OL</col>
    <col>1</col>
    <col>8711715844378</col>
    <col>20</col>
    </row>-<row>
    <col>OL</col>
    <col>2</col>
    <col>8711715844392</col>
    <col>60</col>
    </rowrow>
    <col>OL</col>
    <col>16</col>
    <col>8710251791092</col>
    <col>280</col>
    </row>
    </io>
    </Payload>
    </Body>
    </Msg>
    This is my final atom :
    <?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:b1e="urn:com.sap.b1i.sim:b1event" xmlns:b1ie="urn:com.sap.b1i.sim:b1ievent" xmlns:bfa="urn:com.sap.b1i.bizprocessor:bizatoms" xmlns:jdbc="urn:com.sap.b1i.adapter:jdbcadapter" xmlns:rfc="urn:sap-com:document:sap:rfc:functions" xmlns:sim="urn:com.sap.b1i.sim:entity" xmlns:utils2="com.sap.b1i.bpc_tools.Utilities" xmlns:vpf="urn:com.sap.b1i.vplatform:entity" xmlns:xci="urn:com.sap.b1i.xcellerator:intdoc" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" bfa:force="" vpf:force="" jdbc:force="" rfc:force="" b1ie:force="" b1e:force="" xci:force="" sim:force="" utils2:force=""><xsl:output method="xml" encoding="UTF-8" indent="yes"></xsl:output><xsl:param name="atom"></xsl:param><xsl:param name="sessionid"></xsl:param><xsl:variable name="msg" select="/vpf:Msg/vpf:Body/vpf:Payload[./@Role=&apos;S&apos;]"></xsl:variable><xsl:variable name="vpSender" select="/vpf:Msg/vpf:Header/vpf:Sender/@Id"></xsl:variable><xsl:variable name="vpObject" select="/vpf:Msg/vpf:Header/vpf:Sender/@ObjId"></xsl:variable><xsl:variable name="vpReceiver" select="/vpf:Msg/vpf:Header/vpf:ReceiverList/vpf:Receiver[./@handover=&apos;P&apos;]/@Id"></xsl:variable><xsl:template match="/">
    <Msg xmlns="urn:com.sap.b1i.vplatform:entity">
    <xsl:copy-of select="/vpf:Msg/@*"></xsl:copy-of>
    <xsl:copy-of select="/vpf:Msg/vpf:Header"></xsl:copy-of>
    <Body>
    <xsl:copy-of select="/vpf:Msg/vpf:Body/*"></xsl:copy-of>
    <Payload Role="R" id="{$atom}">
    <xsl:call-template name="transform"></xsl:call-template>
    </Payload>
    </Body>
    </Msg>
    </xsl:template><xsl:template name="transform">
    <FinalAtomResult xmlns="">
    <BOM>
    <BO>
    <AdmInfo>
    <Object>17</Object>
    <Version>2</Version>
    </AdmInfo>
         <Documents>
         <row>
         <DocDate>
              <xsl:copy-of select="$msg/io/row[0]/col[2]/text()"></xsl:copy-of>
         </DocDate>
         <DocDueDate>
              <xsl:copy-of select="$msg/io/row[0]/col[5]/text()"></xsl:copy-of>
         </DocDueDate>
         <CardCode>KD10251</CardCode>
         <NumAtCard>
              <xsl:copy-of select="$msg/io/row[0]/col[1]/text()"></xsl:copy-of>
         </NumAtCard>
         <U_PMX_JD_COMP>32</U_PMX_JD_COMP>
         </row>
                          </Documents>
         <Document_Lines>
         <xsl:for-each select="$msg/io/row">
         <row>
         <BarCode>
              <xsl:copy-of select="$msg/io/row[*]/col[2]/text()"></xsl:copy-of>
         </BarCode>
         <Quantity>
              <xsl:copy-of select="$msg/io/row[*]/col[3]/text()"></xsl:copy-of>
         </Quantity>
         </row>
         </xsl:for-each>
         </Document_Lines>

    Mike,
    you were right, you may not specify the extension of a file.
    Another thing i detected is that the loop of my data start with the index 1 instead of 0 !!!
    In this scenario, i have to read all the lines of the file and each time i should do a SQL-query,
    so that i can use the result to build my sales document.
    Do you know if it this is possible or have you any idea how to do this ?
    thx,
    Mario

  • Is there a way to create a button on the front panel that would automatically open the txt file data is being stored to?

    I am saving data read from FieldPoint to a .txt file. Is there a way to create a button on the front panel so that when the user pushes this button it automatically opens the .txt folder in notepad? I want to bypass the user having to find the file in the computer in order to open it.

    Hi jem,
    I suggest that you break this up into three seperate questions and re-post to this list. That way you get more ideas from others that may have better insites than myself.
    Re:the sysexec
    The Sysexec will allow you to execute a dos command. This is the equivalent of going to
    Start>>>Run
    What you should do is find the proper DOS command sysntax that is required to open a text file in notepad or your favorite editor. Once you know what a good DOS command is, you should pass that string to the Sysexec.VI. The Sysexec has an input that allows you to choose if the code waits for the command to complete or if it should just start the program and let it run in the background. Sysexec will open its own window to run the command you speci
    fiy.
    Ben
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

Maybe you are looking for

  • Issues Downloading Adobe Creative Cloud On Laptop

    My laptop froze when I tried ot install Adobe Creative Cloud. I can't even shut off the power on my computer, the Adobe Creative Cloud program keeps running. What should I do?

  • Screen Goes Dark when No files Are Open

    Hi, Since I installed the CS 6, I seem to have a problem with my display going dark whenever Illustrator CS 6 doesn't have opened files, i.e., the application runs, no files are open, and my whole screen's brigthness goes down. It only happens with I

  • Backup of Application Server

    Hi What are the files and folders i need to backup in WebLogic? Is it possible to take hot backup? Regards Sudhindra

  • HT4623 where do i find in itunes your device??

    where do i find in itunes "your device"?? nrrd to update my phone

  • Formatting a lacie hard drive to work on a Mac and Pc

    I'm trying to get a lacie hard drive to run with both a Mac and PC. I'm formatting the drive using FAT32 on the PC but it's limiting me to 32Gb partitions. I do have another Maxtor drive with a 111Gb Fat32 partition and the Mac allows me to read and