 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
John Elrick Guest
|
Posted: Mon Jul 14, 2003 1:58 pm Post subject: Re: Parser for html-like commands? |
|
|
"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
|
Posted: Mon Jul 14, 2003 3:44 pm Post subject: Re: Parser for html-like commands? |
|
|
| 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 |
|
 |
|
|
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
|
|