xml html codes

Discussion in 'XML' started by Jayme Assuncao Casimiro, Feb 19, 2004.

  1. 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 |
    +---------------------------------------------+
    Jayme Assuncao Casimiro, Feb 19, 2004
    #1
    1. Advertising

  2. Jayme Assuncao Casimiro wrote:

    > 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?


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

    --

    Martin Honnen
    http://JavaScript.FAQTs.com/
    Martin Honnen, Feb 20, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Alexandre Soares

    Converting accent characters to html codes

    Alexandre Soares, Sep 1, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    672
  2. Greg  --
    Replies:
    4
    Views:
    2,138
  3. news frontiernet.net
    Replies:
    10
    Views:
    890
    Karl Groves
    Aug 13, 2004
  4. Replies:
    2
    Views:
    2,798
    Malcolm
    Aug 20, 2005
  5. Allen
    Replies:
    1
    Views:
    628
    Mark Rae [MVP]
    Dec 3, 2007
Loading...

Share This Page