xml document

G

Guest

Guest
Archived from groups: rec.games.trading-cards.magic.misc (More info?)

David de Kloet <dskloet@cs.vu.nl> writes:
> I combined the Oracle, FlavOracle and spoilers into one database:
> http://www.cs.vu.nl/~dskloet/magic
>
> I also made an xml-document out of it which you can get at
> http://www.cs.vu.nl/~dskloet/magic/magic_xml.zip
>
> Please let me know what you think of it.

Looks quite useful and helpful. You have too much time on your
hands. :)

One very minor thing I noticed was that the page for Zur's Weirding
(http://www.cs.vu.nl/~dskloet/magic/card.php?name=Zur%27s+Weirding)
had a backslash in the page title (and presumably did so for any
single-quotes in card names, although I didn't check).

> one problem:
> My browser complains about an —. Does anyone know what to do
> about this?

At the risk of the thread going very off-topic...
That's 'cause you can only use named entity references that are
declared in the DTD of the document that you're using. HTML, for
example, declares it. You can solve this by one of:
- Create a DTD for your document that declares —
- Encode an em-dash as "native" utf-8 (or some other character
encoding declared at the beginning of the document in the
<?xml ...?> prolog.
- Write an em-dash as — or —

For once, IE actually catches an error :)

--
Peter C.
"This document defines one particular type of MIME data, the
matter-transport/sentient-life-form type"
-- RFC 1437, "The Extension of MIME Content-Types to a New Medium"
 
G

Guest

Guest
Archived from groups: rec.games.trading-cards.magic.misc (More info?)

Or, if you don't care too much, replace it with a single (-) or double dash
(--).
Peter

> > one problem:
> > My browser complains about an —. Does anyone know what to do
> > about this?
>
> At the risk of the thread going very off-topic...
> That's 'cause you can only use named entity references that are
> declared in the DTD of the document that you're using. HTML, for
> example, declares it. You can solve this by one of:
> - Create a DTD for your document that declares —
> - Encode an em-dash as "native" utf-8 (or some other character
> encoding declared at the beginning of the document in the
> <?xml ...?> prolog.
> - Write an em-dash as — or —