[XML-SIG] Beginner XML-Question

Manfred Weber webmaster@marktkreuz.de
Thu, 27 Jul 2000 19:39:20 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0016_01BFF802.5BEDD700
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,
I am absolut beginner...to Python..
could anyone just send me a simple PythonScript using the xmlLib...=20
Following the XML Starting out did not do it.

Lets say I use this xml-example:

<collection>
  <comic title=3D"Sandman" number=3D'62'>
    <writer>Neil Gaiman</writer>
    <penciller pages=3D'1-9,18-24'>Glyn Dillon</penciller>
    <penciller pages=3D"10-17">Charles Vess</penciller>
  </comic>
</collection>

A very simple script that prints out any element (f.e. the writer) would =
do it!

Thanx...
M.Weber

------=_NextPart_000_0016_01BFF802.5BEDD700
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I am absolut beginner...to =
Python..</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>could anyone just send me a simple =
PythonScript=20
</FONT><FONT face=3DArial size=3D2>using the xmlLib... </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Following the XML Starting out did not =
do=20
it.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Lets say I use this =
xml-example:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&lt;collection&gt;<BR>&nbsp; &lt;comic=20
title=3D"Sandman" number=3D'62'&gt;<BR>&nbsp;&nbsp;&nbsp; =
&lt;writer&gt;Neil=20
Gaiman&lt;/writer&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;penciller=20
pages=3D'1-9,18-24'&gt;Glyn =
Dillon&lt;/penciller&gt;<BR>&nbsp;&nbsp;&nbsp;=20
&lt;penciller pages=3D"10-17"&gt;Charles =
Vess&lt;/penciller&gt;<BR>&nbsp;=20
&lt;/comic&gt;<BR>&lt;/collection&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3DArial size=3D2>A very =
simple script that=20
prints out any element (f.e. the writer) would do =
it!</FONT><BR></DIV></FONT>
<DIV><FONT face=3DArial size=3D2>Thanx...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>M.Weber</DIV></FONT></BODY></HTML>

------=_NextPart_000_0016_01BFF802.5BEDD700--