Pedro Santelmo - 2004-11-07

Hi,
I get that error when using XML::Simple...
.............................................................
Uncaught exception from user code:
        Only XML version 1.0 supported. Saw: '1' [Ln: 1, Col: 13]
        XML::SAX::Exception::throw('XML::SAX::Exception::Parse=HASH(0x428d408)')
called at C:\perl\site\lib/XML/SAX/PurePerl.pm line 121
        XML::SAX::PurePerl::parser_error('XML::SAX::PurePerl=HASH(0x3fdb470)', '
Only XML version 1.0 supported. Saw: \'1\'', 'XML::SAX::PurePerl::Reader::Stream
=ARRAY(0x40a5088)') called at C:\perl\site\lib/XML/SAX/PurePerl/XMLDecl.pm line
64
...................................................................

Besides, I want to support your project with my humble <guido_doc.css>
............(cut & paste)..............................
/******************************************
*----- [guido_doc.css] Style Sheet ------*
* alberto <chanio@users.sourceforge.net> *
******************************************
*/
body         {
            color: #000080;
            text-align: justify;
            padding-left: 10;
            padding-right: 200;
                   background-color: #F4F5BC;
        }
h1          {
            color: #0000FF;
            padding-left: 20;
            padding-right: 150;
            padding-top: 5;
                   padding-bottom: 5;
            background-color: #E1E8E3;
            text-align: center;
        }

h2          {
            color: #0000FF;
            text-decoration: underline;
            line-height: 100%;
            text-align:  left;
            margin-top: 30;
            margin-bottom: 6;
        }
/******************************************
* This is a class to add to Internet links
* to diferentiate them from local links
*/
a.www       {
            text-decoration: none overline;
            color: #800080;
            font-size: 8pt;
            font-weight: bold;
        }
ul          {
            color: #0000FF;
            text-align: left;
            width: 400;
            padding-left: 10;
                   padding-right: 10;
            background-color: #FFFFFF
        }
/*******************************************
* This is a class to add to tables that
* carry an image and perhaps a caption
* use this table template to do this:
********************************************************************************************************
<!-- NEW IMAGE: STARTS -->
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse"
  bordercolor="#111111" width="100%"
  summary="(write a description of the image here, it is not shown)"
  id="imagewrapper_nn"
  class="img">
<tr>
   <td width="2%">&nbsp;</td>
   <td width="96%">&nbsp;</td>
   <td width="2%" class="none">&nbsp;</td>
</tr>
<tr>
   <td width="2%">&nbsp;</td>
    <td width="96%">
(place image here)
    </td>
   <td width="2%" class=img>&nbsp;</td>
</tr>
<tr>
   <td width="2%" class="none">&nbsp;</td>
    <td width="96%" class=img>
<!--(paste unformated caption here, only the text - or else, erase it)-->
    </td>
    <td width="2%" class=img>&nbsp;</td>
</tr>
</table>
<!-- /NEW IMAGE: ENDS -->
********************************************************************************************************
*/
table.img    {
            color: #800000;
            font-size: 8pt;
            font-style: italic;
            font-weight: bold;
                   text-align: center;
            line-height: 100%;
            margin-top: 0;
                   margin-bottom: 20;
            background-color: #CECFAF;
        }
td.img      {
            background-color: #B6B59A;
        }
td.none     {
            background-color: #F4F5BC;
        }
/******************************************
* This is a class to wrap words that are
* found at the GUI or that you type at CLI
*/
span.commands {
            color: #FF0000;
            font-weight: bold;
            background-color: #E1E8E3;
          }
/******************************************
* This is a class to wrap words that need
* to be noticed or remembered
*/
span.known   {
            color: #800000;
            font-weight: bold;
         }
/******************************************
* This is a class to add to paragraphs
* that explain elements from a picture
* (to explain a complete picture see caption)
*/
.description {
            color: #000080;
            width: 400;
            line-height: 150%;
            font-family: Arial;
            font-size: 10pt;
            font-style: italic;
            border: 1px solid #0000FF;
                   margin-left: 30;
            margin-top: 10;
            margin-bottom: 15;
                   padding-left: 25;
            padding-right: 15;
            padding-top: 20;
                   padding-bottom: 20;
            background-color: #C0C0C0;
        }
...................................................................

I hope you like it! (and you check these forum ;)