Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re^2: Decode XML &#xxxx; entities

by saintmike (Vicar)
on Dec 04, 2007 at 21:07 UTC ( #654948=note: print w/ replies, xml ) Need Help??

in reply to Re: Decode XML &#xxxx; entities
in thread Decode XML &#xxxx; entities

You seem to confuse HTML entities with URI escaping.

Nope, I was just giving an example of a similarily trivial transformation that's covered by a CPAN module.

Also, a HTML entities never looks like &#00FC; It's hexadecimal, so there must be an "x" in between, or keep it decimal.

Thanks, corrected in my original post.

With HTML::Entities I get the expected result:

Looks pretty good!

Comment on Re^2: Decode XML &#xxxx; entities

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://654948]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2015-11-27 23:40 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (734 votes), past polls