Go Back   Velocity Reviews > Newsgroups > PERL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

PERL - Parse an xml file with line breaks in the beginning

 
Thread Tools Search this Thread
Old 07-14-2003, 07:00 PM   #1
Default Parse an xml file with line breaks in the beginning


Have an xml file with line breaks in the begining, parsed it with
XML:arser, getting an error like:

****
xml declaration not at start of external entity at line 3, column 0,
byte 4:
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
^ at C:/Perl/site/lib/XML/Parser.pm line 185
****

xml-file.xml
***


<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<ROOT>
<PARENT>... </PARENT>
<CHILD>.... </CHILD>
</ROOT>


Raj Mudaliar
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump