[yunqa.de] Some questions about DiHtmlParser

  • From: "Max Terentiev" <maxterentiev@xxxxxxx>
  • To: <yunqa@xxxxxxxxxxxxx>
  • Date: Tue, 31 May 2011 12:38:18 +0400

Hi,

1. How to use HtmlTagFilters.SetStart for multiple tags in C++Builder ?

In Delphi it's looks like:

HtmlParser.HtmlTagFilters.SetStart([TAG_BR_ID, TAG_HR_ID], fiShow);

How to write it in C++ ? I try to use ARRAYOFCONST but receive compiler
error :-(

2. If it's not possible to write it in C++ can I make many SetStart calls
(each call for
single tag) ?

So, 

HtmlParser->HtmlTagFilters->SetStart(TAG_BR_ID, fiShow);
HtmlParser->HtmlTagFilters->SetStart(TAG_HR_ID, fiShow);

can be used instead of 

HtmlParser.HtmlTagFilters.SetStart([TAG_BR_ID, TAG_HR_ID], fiShow);

?

Thanx !

_______________________________________________
Delphi Inspiration mailing list
yunqa@xxxxxxxxxxxxx
//www.freelists.org/list/yunqa



Other related posts: