RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseInetXPageProducer.FindXMLBroker Method

Returns the XML broker that supplies the data packet specified by a DATAPACKET tag.

Pascal
function FindXMLBroker(TagParams: TStrings): TXMLBroker; virtual;
C++
virtual __fastcall TXMLBroker FindXMLBroker(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 FindXMLBroker to locate the XML broker specified by the XMLBroker parameter. 

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

FindXMLBroker returns the XML broker with the name specified by the XMLBroker parameter. If TagParams does not contain a string of the form XMLBroker=BrokerName, FindXMLBroker returns nil (Delphi) or NULL (C++). 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!