HTML::Entities::Numbered 0.04
Sponsored Links
HTML::Entities::Numbered 0.04 Ranking & Summary
File size:
0008 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
834
Date added:
2007-07-16
Publisher:
Koichi Taniguchi
HTML::Entities::Numbered 0.04 description
HTML::Entities::Numbered is a Perl module for conversion of numbered HTML entities.
SYNOPSIS
use HTML::Entities::Numbered;
$html = Hi Honey♥;
# convert named HTML entities to numbered (decimal)
$decimal = name2decimal($html); # Hi Honey♥
# to numbered (hexadecimal)
$hex = name2hex($html); # Hi Honey♥
$content = Copyright © Larry Wall;
# convert numbered HTML entities (decimal) to named
$name1 = decimal2name($content); # Copyright © Larry Wall
$content = Copyright © Larry Wall;
# convert numbered HTML entitites (hexadecimal) to named
$name2 = hex2name($content); # Copyright © Larry Wall
$xml = "Give me ¥10,000" > cherie♠;
# convert named HTML entities to numbered
# except valid XML entities (decimal)
$decimal = name2decimal_xml($xml); # "Give me ¥10,000"
# > cherie♠
# to numbered except valid XML entities (hexdecimal)
$hex = name2hex_xml($xml); # "Give me ¥10,000"
# > cherie♠
HTML::Entities::Numbered is a content conversion filter for named HTML entities (symbols, mathmetical symbols, Greek letters, Latin letters, etc.). When an argument of name2decimal() or name2hex() contains some nameable HTML entities, they will be replaced to numbered HTML entities. And when an argument of name2decimal_xml() or name2hex_xml() contains some nameable numbered HTML entities, they will be replaced to numbered HTML entities except valid XML entities (the excepted "valid XML entities" are the following five entities: <, >, &, ", '). By the same token, when an argument of decimal2name() or hex2name() contains some nameable numbered HTML entities, they will be replaced to named HTML entities.
(the exception "valid XML entities" means the following five entities: <, >, &, ", ')
FUNCTIONS
Following all functions are exported by default.
name2decimal
Some included named HTML entities in argument of name2decimal() will be replaced to decimal numbered HTML entities.
name2hex
Some included named HTML entities in argument of name2hex() will be replaced to hexadecimal numbered HTML entities.
decimal2name
Some include decimal numbered HTML entities in argument of decimal2name() will be replaced to named HTML entities (If theyre nameable).
hex2name
Some include hexadecimal numbered HTML entities in argument of hex2name() will be replaced to named HTML entities (If theyre nameable).
name2decimal_xml
Some included named HTML entities in argument of name2decimal_xml() will be replaced to decimal numbered HTML entities except valid XML entities.
name2hex_xml
Some included named HTML entities in argument of name2hex_xml() will be replaced to hexadecimal numbered HTML entities except valid XML entities.
If youd prefer not to import them functions into the callers namespace, you can call them as below:
use HTML::Entities::Numbered ();
$decimal = HTML::Entities::Numbered::name2decimal($str);
$hex = HTML::Entities::Numbered::name2hex($str);
$named1 = HTML::Entities::Numbered::decimal2name($str);
$named2 = HTML::Entities::Numbered::hex2name($str);
$decimal = HTML::Entities::Numbered::name2decimal_xml($str);
$hex = HTML::Entities::Numbered::name2hex_xml($str);
SYNOPSIS
use HTML::Entities::Numbered;
$html = Hi Honey♥;
# convert named HTML entities to numbered (decimal)
$decimal = name2decimal($html); # Hi Honey♥
# to numbered (hexadecimal)
$hex = name2hex($html); # Hi Honey♥
$content = Copyright © Larry Wall;
# convert numbered HTML entities (decimal) to named
$name1 = decimal2name($content); # Copyright © Larry Wall
$content = Copyright © Larry Wall;
# convert numbered HTML entitites (hexadecimal) to named
$name2 = hex2name($content); # Copyright © Larry Wall
$xml = "Give me ¥10,000" > cherie♠;
# convert named HTML entities to numbered
# except valid XML entities (decimal)
$decimal = name2decimal_xml($xml); # "Give me ¥10,000"
# > cherie♠
# to numbered except valid XML entities (hexdecimal)
$hex = name2hex_xml($xml); # "Give me ¥10,000"
# > cherie♠
HTML::Entities::Numbered is a content conversion filter for named HTML entities (symbols, mathmetical symbols, Greek letters, Latin letters, etc.). When an argument of name2decimal() or name2hex() contains some nameable HTML entities, they will be replaced to numbered HTML entities. And when an argument of name2decimal_xml() or name2hex_xml() contains some nameable numbered HTML entities, they will be replaced to numbered HTML entities except valid XML entities (the excepted "valid XML entities" are the following five entities: <, >, &, ", '). By the same token, when an argument of decimal2name() or hex2name() contains some nameable numbered HTML entities, they will be replaced to named HTML entities.
(the exception "valid XML entities" means the following five entities: <, >, &, ", ')
FUNCTIONS
Following all functions are exported by default.
name2decimal
Some included named HTML entities in argument of name2decimal() will be replaced to decimal numbered HTML entities.
name2hex
Some included named HTML entities in argument of name2hex() will be replaced to hexadecimal numbered HTML entities.
decimal2name
Some include decimal numbered HTML entities in argument of decimal2name() will be replaced to named HTML entities (If theyre nameable).
hex2name
Some include hexadecimal numbered HTML entities in argument of hex2name() will be replaced to named HTML entities (If theyre nameable).
name2decimal_xml
Some included named HTML entities in argument of name2decimal_xml() will be replaced to decimal numbered HTML entities except valid XML entities.
name2hex_xml
Some included named HTML entities in argument of name2hex_xml() will be replaced to hexadecimal numbered HTML entities except valid XML entities.
If youd prefer not to import them functions into the callers namespace, you can call them as below:
use HTML::Entities::Numbered ();
$decimal = HTML::Entities::Numbered::name2decimal($str);
$hex = HTML::Entities::Numbered::name2hex($str);
$named1 = HTML::Entities::Numbered::decimal2name($str);
$named2 = HTML::Entities::Numbered::hex2name($str);
$decimal = HTML::Entities::Numbered::name2decimal_xml($str);
$hex = HTML::Entities::Numbered::name2hex_xml($str);
HTML::Entities::Numbered 0.04 Screenshot
Advertisements
HTML::Entities::Numbered 0.04 Keywords
HTML
XML
Larry Wall
Numbered 0.04
Hi Honey&
HTML entities
be replaced
xml entities
Perl module
entities
numbered
named
decimal
replaced
argument
HTML::Entities::Numbered
Bookmark HTML::Entities::Numbered 0.04
HTML::Entities::Numbered 0.04 Copyright
WareSeeker periodically updates pricing and software information of HTML::Entities::Numbered 0.04 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of HTML::Entities::Numbered 0.04 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
php escape html entities
php html entities
javascript html entities
perl html entities
Character encodings in HTML
html entities list
html entities php
html entities perl
html entities reference
html entities single quote
javascript convert html entities
keep entities xmltextreader html
never be replaced
never be replaced lyrics
1st ladi never be replaced
lyrics of never be replaced by 1st lady
when do brake rotors need to be replaced
business entities
Related Software
HTML::WikiConverter::Markdown is a Perl module to convert HTML to Markdown markup. Free Download
HTML Objects is a Perl module library for turning HTML tags into Perl objects. Free Download
HTML-Strip-Whitespace is a Perl module to strip whitespace out of HTML pages. Free Download
XMLLiterate is framework for literate programming using XML. Free Download
HTML::WikiConverter::Oddmuse is a Perl module that can convert HTML to Oddmuse markup. Free Download
tX, formerly known as Teddy, is a tabular XML editor. Free Download
HTML::WikiConverter::MediaWiki is a Perl module used to convert HTML to MediaWiki markup. Free Download
HTML::CMTemplate.pm is a Perl module that can generate text-based content from templates. Free Download
Latest Software
Popular Software
Favourite Software