Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Perl (http://www.velocityreviews.com/forums/f17-perl.html)
-   -   Parse an xml file with line breaks in the beginning (http://www.velocityreviews.com/forums/t24165-parse-an-xml-file-with-line-breaks-in-the-beginning.html)

Raj Mudaliar 07-14-2003 06:00 PM

Parse an xml file with line breaks in the beginning
 
Have an xml file with line breaks in the begining, parsed it with
XML::Parser, 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>


All times are GMT. The time now is 08:01 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.