AW: AW: parsing xml files for variables

2002-06-06 Thread Theuerkorn Johannes
> Bullshit, mixed the regexes together: OK, complete part looks like this now: > # #testsystem # if ( // .. /<\/testsystem>/){ #lock for tag paragraf testsystem my $line =$_;

AW: AW: parsing xml files for variables

2002-06-06 Thread Theuerkorn Johannes
Got it, used unless ( // .. /<\/testsystem>/) instead of if ( // .. /<\/testsystem>/) and it works!!! Thanks Johannes > so I would be working all of the sneek and peek > that I recommend in > http://www.wetware.com/drieux/pbl/RegEx/paraHablarRegular.txt > all inside of

AW: AW: parsing xml files for variables

2002-06-06 Thread Theuerkorn Johannes
> so I would be working all of the sneek and peek > that I recommend in > http://www.wetware.com/drieux/pbl/RegEx/paraHablarRegular.txt > all inside of the > while() { > } [Theuerkorn Johannes] Ok, played around with the paraHablar..

Re: AW: AW: parsing xml files for variables

2002-06-05 Thread Kristofer Hoch
" <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: AW: AW: parsing xml files for variables Date: Wed, 5 Jun 2002 14:12:59 +0200 Hmm, somehow your script seems not to work,... :-( I just get this Kind of Output after parsing the sample file below,... >First Test System: Test System 1

Re: AW: parsing xml files for variables

2002-06-05 Thread drieux
On Wednesday, June 5, 2002, at 08:31 , Theuerkorn Johannes wrote: > Ok, found one easy solution: as I need to parse the whole file anyway, i > am removing all newline by doing: > > if (open(LOG,"$fileName")) { > >open (temp1,"$temp"); >while () >{ > chomp; >

AW: AW: parsing xml files for variables

2002-06-05 Thread Theuerkorn Johannes
; -Urspr> üngliche Nachricht- > Von: kris hoch [SMTP:[EMAIL PROTECTED]] > Gesendet am: Dienstag, 4. Juni 2002 16:53 > An: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Betreff: Re: AW: parsing xml files for variables > > Johannes, > I have copied and pas

Re: AW: parsing xml files for variables

2002-06-04 Thread kris hoch
Johannes, I have copied and pasted some same code and data. Look for the "Sample Code" and Sample Data" in this message. Let me know if this helps Kristofer = -[ Sample Code file (TestSystem.pl) ]-

Re: parsing xml files for variables

2002-06-04 Thread kris hoch
ECTED]> Subject: Re: parsing xml files for variables Date: Tue, 4 Jun 2002 06:25:00 -0700 On Tuesday, June 4, 2002, at 05:12 , Theuerkorn Johannes wrote: > [..] >I try like that: > >snip >#looking for Trigger

Re: parsing xml files for variables

2002-06-04 Thread drieux
On Tuesday, June 4, 2002, at 05:12 , Theuerkorn Johannes wrote: > [..] > I try like that: > > snip > #looking for Trigger > > if (/\s/ .. /<\/testsystem>\s/) > { > if ( /^(.*)\s+/) { > $test

parsing xml files for variables

2002-06-04 Thread Theuerkorn Johannes
Hi there, i got a bunch of XML files an just want to parse Them for a special trigger to load the Data after that trigger in a variable and later in my MySQL Database. I try like that: snip #looking for Trigger if (/\s/ .. /<\/test