RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseInetXPageProducer.FindXMLBrokerName Method

Returns the name of an XML broker given the parameters in a DATAPACKET tag..

Pascal
function FindXMLBrokerName(TagParams: TStrings): string; virtual;
C++
virtual __fastcall AnsiString FindXMLBrokerName(TStrings TagParams);

The page producer translates HTML-transparent tags of the form

<#DATAPACKET XMLBroker=BrokerName>

into the XML returned by the XML broker. To do so, it calls FindXMLBrokerName to parse the parameters for the value of the XMLBroker parameter. 

TagParams is a set of Name=Value pairs. This comes from the parameter portion of the DATAPACKET tag. 

FindXMLBrokerName returns the value string from the XMLBroker parameter. If TagParams does not contain a string of the form XMLBroker=BrokerName, FindXMLBrokerName returns an empty string. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!