From: "Raj Mohan" <[EMAIL PROTECTED]> > Is that anybody can help me to find a solution for the blow:- > > I have a file like this:- > > Input File:- > > <!ELEMENT abbrevList ((title|noTitle),(title?,p?,(abbrev,termDef)+)+)> > <!ATTLIST abbrevList id ID #IMPLIED linkLabel CDATA #IMPLIED role > CDATA #IMPLIED > > > In this I need to read (store into a string) multiple lines from: > "<!ATTLIST abbrevList id ID #IMPLIED linkLabel CDATA #IMPLIED role > CDATA #IMPLIED >" > > Pls. help me out. > Raj. >
Parsing a DTD? I'm sure there are others, but you can find a parser at http://Jenda.Krynicky.cz/perl/Jenda-QD-DTDParser-1.1.tar.gz (docs at http://Jenda.Krynicky.cz/perl/DTDParser.pm.html ) It will not give you the exact interdependencies between children though ( (foo|bar) is taken as (foo?,bar?) . I did not need that.) Jenda =========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ========== There is a reason for living. There must be. I've seen it somewhere. It's just that in the mess on my table ... and in my brain. I can't find it. --- me -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]