xml html codes

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jayme Assuncao Casimiro

    #1

    xml html codes


    I am witing a wrapper to extract data from werb sites. I am storing the
    data in xml format. But it doesn't produce valid xml because of html codes
    like the above - typical of latin languages.
    á
    ã
    ó
    ö
    é

    What Would I do to overcome this problem?

    +---------------------------------------------+
    | Jayme Assuncao Casimiro |
    | Graduado em Ciência da Computação |
    | Estudante de Mestrado em Computação |
    | Universidade Federal de Minas Gerais - UFMG |
    +---------------------------------------------+
  • Martin Honnen

    #2
    Re: xml html codes



    Jayme Assuncao Casimiro wrote:
    [color=blue]
    > I am witing a wrapper to extract data from werb sites. I am storing the
    > data in xml format. But it doesn't produce valid xml because of html codes
    > like the above - typical of latin languages.
    > á
    > ã
    > ó
    > ö
    > é
    >
    > What Would I do to overcome this problem?[/color]

    These are references to entities that XHTML defines, so you could make
    your DTD declare those entities.

    --

    Martin Honnen
    http://JavaScript.FAQTs.com/

    Comment

    Working...