Search Result

Collapse
15 results in 0.0042 seconds.
Keywords
Members
Tags
parse
  •  

  • AngelBladeVII
    started a topic Problem with parsing XML file
    in Perl

    Problem with parsing XML file

    So I'm working on a program where I need to parse multiple XML files and return their attributes in a readable format. Currently the script parses all of the files and stores all the details for each file at each position of an array. An example of the desired output for each line would be:

    J MIG-49 at location "85,20,0.1" is moving to "0.5,-0.5,-300"

    Below is the XML code for reference.

    ...
    See more | Go to post

  • Parse a IF Condition written in the String to C# Code

    Example:

    Condition:

    IF A > B THEN

    PRINT B

    ELSE

    PRINT A


    This condition is written as a string in coloumn of the table in SQL.

    I want to fetch this condition from the table and convert this condition to the C# Code as

    If(A > B )

    {

    print B...........

    }
    ...
    See more | Go to post

  • how to use python to extract certain text in the file?

    i want to extract certain section of the text file. my input file:

    -- num cell port function safe [ccell disval rslt]
    "17 (BC_1, CLK, input, X)," &
    "16 (BC_1, OC_NEG, input, X), " &-- Merged input/
    " 8 (BC_1, D(8), input, X)," & -- cell 16 @ 1 -> Hi-Z
    " 7 (BC_1, Q(1), output3, X, 16, 1, Z)," &
    " 0 (BC_1, Q(8), output3,...
    See more | Go to post

  • Not able to parse xmlHttpRequest responseText in a firefox extension

    Hi,

    I am building a firefox extension and in the extension I am making a ajax request which returns me a responseText, now I want to parse the responseText in the js but I am not able to parse that request.

    Please note that if I run the same code on my webserver then it works perfectly. Below is the code
    Code:
    var myHTML = XHR.responseText;
    var tempDiv = document.createElement('div');
    
    tempDiv.innerHTML
    ...
    See more | Go to post
    Last edited by Meetee; Jun 1 '11, 04:34 AM. Reason: code tags added

  • Justin C
    started a topic .txt file to excel .csv

    .txt file to excel .csv

    Hello,

    I have some very large(several Mb) text files I am trying to process and parse using a Python script (novice python user). I am using the eclipse IDE and version 3 of python if that makes a difference.

    I am trying to also make use of the csv module in python.

    the .txt file has the following format for data:

    Code:
    09:04:11
    <break>0M!00021<CR><LF>
    ...
    See more | Go to post

  • Sharkiness
    started a topic Split first two words of string into new field

    Split first two words of string into new field

    Morning All,

    I cannot find the answer to my question anywhere.

    I have an address field named 'ADDRESS'. I want to run an update query so that the first two words of the address are split into a new field named 'AddressSplit'.

    Therefore if the full address showed the following

    'Ruby Cottage Edinburgh Scotland'

    I would get 'Ruby Cottage' in new field.

    Likewise...
    See more | Go to post

  • How can I skip blank lines when importing a TXT file?

    Today I've been trying out a personal project I have been interested in for a while. MS Access 2000.

    I get a daily list of currency exchange rates via email, but it's a bit of a pain to go through them and extract the few I need, and I don't keep up on it very well! However, I did determine that the actual message files are nice and readable as plain text (I still use Eudora 7). So I thought it might be possible to write a bit of VBA...
    See more | Go to post

  • pranyht
    started a topic how to parse an address string
    in Java

    how to parse an address string

    given an address in a string, i need to parse the address from the string and return the structure Address.

    Signature: Address parseAddress(St ring address)
    Input: String with address(e.g. “Lunkad Tower, 6th floor, \r\n Viman Nagar, \r\n Pune 411014")
    Output: The structure Address

    public class Address
    {
    public string Street {get;set;}; // Lunkad Tower, 6th floor
    public string...
    See more | Go to post

  • spelaben
    started a topic Parse error
    in PHP

    Parse error

    hi all, i keep getting this error and i'm new to php. i really don't get the error here:

    Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in ...index.php on line 90



    line 90:
    Code:
    echo "<form id="form1" name="form1" method="post" action="start.php?action=<?php echo $Action; ?>&lan= <?php echo $_GET['lan']; ?>&invite=submit&qu
    ...
    See more | Go to post

  • barmatt80
    started a topic Parse field that contains \n as a delimiter

    Parse field that contains \n as a delimiter

    We have a program that runs on a linux machine that outputs a text file. The description field has \n as line breaks.

    here is an example:

    \nSynopsis :\n\nError on machine.\n\nDes cription :\n\nThere is a report of volnerability\n this would make the computer at risk\nSolution :\n\nSolution:\ nInstall new patches

    Is there a way to make the \n as line breaks on a report or form?

    I currently...
    See more | Go to post

  • goatboy
    started a topic Extracting HTML link fragment
    in Perl

    Extracting HTML link fragment

    I recently decided to start learning Perl. I usually choose something useful for my first project in any language, so I decided to write a script to give information based upon a supplied MAC address.

    Everything in the script works fine, until I try to display the MAC vendor.

    In order to do so, I supply the MAC address as a query to a website which checks it against a database. That website then displays the vendor...
    See more | Go to post

  • taxmanandy
    started a topic need to parse data in one field into two fields

    need to parse data in one field into two fields

    my linked database has an email fields that shows data as joe@gmail.com#m ailto:joe@gmail .com#. I want to strip the #...# so new field is joe@gmail.com. i am a access novice and need help
    thanks
    Andy
    See more | Go to post

  • How to grab unknown SOAP header, convert to string, and pass to class library parser?

    Situation:

    I have been tasked to provide a non-intrusive solution to allow .NET web services to grab an incoming SOAP header and process the credentials stored within in such a way that a credential object is returned to the web method so they can access the appropriate role information to add to database query.

    In order to accomplish this, I created two class libraries, one that provides the "CredentialProf ile"...
    See more | Go to post

  • doublestack
    started a topic Parse Server Variable

    Parse Server Variable

    I have a server variable that is being called from an aspx page in a WSS site. I need to find a way to remove part of the variable before passing it to the URL. The server variable is LOGON_USER... TIA
    See more | Go to post

  • dibyenduchatterjee
    started a topic Issue with special characters in Perl
    in Perl

    Issue with special characters in Perl

    I am getting some special characters in my browser displayed weirdly, while getting them from from the BLOB of a DB table.

    Here it is :
    " My name is �Dibyendu Chatterjee�.... ."

    I want all special characters pulled from the BLOB as it is through perl.

    Please help...
    See more | Go to post
Working...