BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Re: Parser for html-like commands?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OO design
View previous topic :: View next topic  
Author Message
John Elrick
Guest





PostPosted: Mon Jul 14, 2003 1:58 pm    Post subject: Re: Parser for html-like commands? Reply with quote




"Ron" <ron (AT) hotma (DOT) com> wrote

Quote:
I am trying to impliment a parser which will accept html-like tags, where
the parameters will be something like:

tag : dothis "parameter1=5" "parameter2=value"

Is there some example/direction I could use as a starting point?

Sure...XML. Couple of nice, free parsers already available.

Do a quick Google on XML Delphi.


John



Back to top
Jim Cooper
Guest





PostPosted: Mon Jul 14, 2003 3:44 pm    Post subject: Re: Parser for html-like commands? Reply with quote




Quote:
the parameters will be something like:

tag : dothis "parameter1=5" "parameter2=value"

If you use this format

<#tag parameter1=5 parameter2=value>

then you can just use a TPageProducer component out of the box. An event
handler gets fired every time one of these tags is found.

Cheers,
Jim Cooper

____________________________________________

Jim Cooper [email]jcooper (AT) tabdee (DOT) ltd.uk[/email]
Tabdee Ltd http://www.tabdee.ltd.uk

TurboSync - Connecting Delphi with your Palm
____________________________________________

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OO design All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.