El Jueves 17 Mayo 2007 22:11, Dr.Ruud escribió:
> xavier mas schreef:
> > I have a little problem don't have how to solve regarding matching. I
> > am working with xml files that contain labels marking the text inside
> > them.
>
> Use an XML-parser.
> http://search.cpan.org/search?m=module&q=XML+p
xavier mas schreef:
> I have a little problem don't have how to solve regarding matching. I
> am working with xml files that contain labels marking the text inside
> them.
Use an XML-parser.
http://search.cpan.org/search?m=module&q=XML+parse
--
Affijn, Ruud
"Gewoon is een tijger."
--
To un
I suppose you could use a stack object. Perl ought to have one... Check CPAN.
A stack lets you push items on and pop them off. You can read a a tag.
Its its an open tag, you push it to the stack. If its a close, you pop
the top item and check it matches.
On 5/17/07, xavier mas <[EMAIL PROTECTED]>
Hello list!
I have a little problem don't have how to solve regarding matching. I am
working with xml files that contain labels marking the text inside them. I
need to find for each of this lines labels that are the same and mix its
contents up.
For instance:
CONTENT1>CONTENT2>CONTENT3
CONTE