ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-xml
perl-xml
Newbie question
by Mohammed Khatib other posts by this author
Jul 10 2002 7:05AM messages near this date
view in the new Beta List Site
Re: Adding Namespaces in a Filter | Re: Newbie question
Hi All,

I am relatively new to XML so please excuse me if this
question sounds rather trivial.

I recently wrote an XML to Folio flat file converter (using
Perl) in which entities were converted to single characters
using an %ent2char hash, where entities were mapped to the
desired ISO-Lat 1 character.

During testing, every time the program encountered an entity
foreign to its knowledge, I had to look up the characer
chart and add to the %ent2char associative array. I found
this rather troublesome and somewhat inefficient.

Was wondering if anyone knew of a Perl module where "common"
entities, such as those representing ISO-Lat 1 characters,
were listed and mapped to single characters and called upon
via methods of the module?

That'll make my job much easier :).

Thanks everyone.
Mk
Attachments:
winmail.dat

Thread:
Mohammed Khatib
Robin Berjon

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved