Wikipedia DTD/Examples
Appearance
This page is kept for historical interest. Any policies mentioned may be obsolete. If you want to revive the topic, you can use the talk page or start a discussion on the community forum. |
Here are some examples of XML coded Wikipedia articles. See also Wikipedia.DTD and media:Wikiarticle2html.xsl.
Short example
[edit]<?xml version="1.0" encoding="UTF-8"?>
<article>
<meta>
<title interwiki="en" article="Example"/>
<interwiki language="de" article="Beispiel"/>
</meta>
<text>
Hello <link article="World"/>!
<pbr/>
How <i>are <b>you</b></i>?
Just <u>tell <link article="Example" talk="talk">me</link></u>!
</text>
</article>
Same in Wikitax (asuming it´s the article en.wikipedia.org/wiki/Example):
[[de:Beispiel]] Hello [[World]]! How ''are '''you'''''? Just <u>tell [[talk:Example|me]]</u>!
Files
[edit]- media:Wikipedia-dtd-example2.xml - for testing purposes