RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomXSLPageProducer.Content Method

Returns the transformed value of the XML supplied by the XMLData property.

Pascal
function Content: string; virtual;
C++
virtual __fastcall AnsiString Content();

Call Content to retrieve the content for using in an HTTP response message. Content transforms the XML data that is supplied by the XMLData property using the XSL template associated with this component. The XSL template can be specified in several ways: 

If the FileName property is set, it specifies a file that contains the XSL template. 

If FileName is not set, you can assign an XSL template using the XML property. 

At runtime, you can supply an XSL template by calling the LoadFromFile, LoadFromStream, or LoadFromXML method first. 

 

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