Thanks for support, found an easy to use mod in cpan: 
http://search.cpan.org/search?mode=module&query=XML called XML-QL which seems to do 
just what i need.

Wasn´t able to work through your example at wetware until now.

Johannes

> -----Ursprüngliche Nachricht-----
> Von:  drieux [SMTP:[EMAIL PROTECTED]]
> Gesendet am:  Dienstag, 4. Juni 2002 15:25
> An:   Theuerkorn Johannes
> Cc:   cgi cgi-list
> Betreff:      Re: parsing xml files for variables
> 
> 
> On Tuesday, June 4, 2002, at 05:12 , Theuerkorn Johannes wrote:
> >
> [..]
> > I try like that:
> >
> > snip ++++++++++++++++++++++++++++++++++++++++++++++++++++
> > #looking for Trigger <testsystem>
> >
> > if (/<testsystem>\s/ .. /<\/testsystem>\s/)
> >          {
> >                     if ( /^(.*)\s+/) {
> >                             $testsystem = $1;
> >                     chomp ($testsystem);    
> >                     }
> >           print "Testsystem: $testsystem";
> >            }
> > snip ++++++++++++++++++++++++++++++++++++++
> > The XML piece looks like this:
> 
> http://search.cpan.org/search?mode=module&query=XML
> 
> I have worked with the expat stuff - and it would
> be my first choice....
> 
> The problem you would be running into with your basic
> parser approach is that you need to do multi-line
> parsing of the file - hence would want something
> similar to the form of
> 
> http://www.wetware.com/drieux/pbl/RegEx/paraHablarRegular.txt
> 
> where you need to keep reading in lines till your pattern matches.
> 
> ciao
> drieux
> 
> ---

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to