Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Ignoring Carriage Return Using DOM API

Options
  • 07-12-2007 1:05pm
    #1
    Registered Users Posts: 182 ✭✭


    I am parsing an xml file with the DOM api and it is reading my
    carriage returns.

    When I try to output the values from the xml to a flat file, it is
    going on to a new line because of the carriage return


    So how do I ignore the carriage return or convert it to nothing.


    Alos, how would I go on to a new line in my file.


    I am using output.write, but there is no output.writeln()


    many thanks


Advertisement