Hi,
Use the module XML::SimpleObject from the CPAN library.
Read the man page to parse the part you want to have from the xml file.
Greetings,
Mat Straatman
-----Original Message-----
From: Morgan [mailto:[EMAIL PROTECTED]]
Sent: dinsdag 19 juni 2001 11:34
To: [EMAIL PROTECTED]
Subject: XML problem
Hi
I'm newbee perl-cgi developer and a rookie of xml :(
Is there anyone who can give me some hints or help me out with a problem
I have?
Here is the problem.
I will recive newsarticles three times a day in xml format and I need to
automaticly publish those articels on a web page, on the first page it
should only show the tags down to </INL>
tag and a link to the whole page.
Here is a sample of the xml format.
<ART>
<ORD>anbud</ORD>
<LEV>2001-06-14</LEV>
<DAT>14-06-01</DAT>
<PUB>DAGENS INDUSTRI</PUB>
<RUB>Dragkamp om förlusttåg</RUB>
<INL>Here is the indroduction about the article and when the word
anbud comes up it is enclosed in <HIT>anbud</HIT> tags.
This is the word we use as criteria on the articels we should recive.
</INL>
<BRO>
Here comes the rest of the document, thats the whole article.
The article ends with
</BRO>
</ART>
Raven