Hi

I use xpathscript in stand alone mode to statically build html files
from xml.

I wanted to use the entity  ° in the xml source, and have 

<!ENTITY % ISOnum PUBLIC
"ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML"
"ent/iso-num.ent">
%ISOnum;

in my DTD.

When I run xpathscript, I get:

=============================================================================
crusher% /share/store/perl5.005_02/scripts/xpathscript 
/data/htdocs/Dressings.org/Dressings/chlorhexidine.xml 
/data2/htdocs/XMLscripts/dressdatacard.xps | 
/share/store/libiconv-1.6.1/linux-gnu/bin/iconv -f UTF-8 -t ISO-8859-1 > 
chlorhexidine.html

undefined entity at line 51, column 56, byte 2378:
</paragraph></frequency-of-change>
<storage><paragraph>
Chlorhexitulle should be stored in a cool place below 25&deg;C.
=======================================================^
</paragraph></storage><presentation><paragraph>
Chlorhexitulle is presented individually wrapped in peel pouches,
 at /share/store/perl5.005_02//lib/site_perl/5.005/i686-linux/XML/Parser.pm line 185
=============================================================================

I saw a posting from earlier on in the year where someone noted that
this was possiblt a problem with XML::Parser 2.30, and thet 2.29
worked, but this hasn't worked for me.

Any thoughts ?

Pete

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to