> Hi all, > > I've got a scripting problem that seems ridiculously simple. > > I have to find the corresponding end tag in a HTML file with nested > <SPAN> tags: > > <SPAN class="FOOTNOTE"> > <SPAN Class="reference"> > origin > </SPAN> > <SPAN Class="quote"> > <SPAN Class="smallcaps"> > Text > </SPAN> > more text > </SPAN> > </SPAN> > > Some of the tags are nested. How do I find the end tag of each SPAN > tag? The tag on line 1 has its end tag on line 11, but the first time > it sees </SPAN> is on line 4...
Another idea would be to use the revXML DLL or my XML Library ( http://www.sonsothunder.com/products/xmllib/xmllib.htm) to parse the tags and give you a way to retrieve the data easily (if that's what you're looking to do). Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
