CloseTag method |
Applies to
TWPCustomXMLInterface
Declaration
procedure CloseTag(const Tag: string);
Description
This procedure closes a give tag. If this tag has not been written it raises an exception. If tags have been opened after the named tag but don't have been closes yet this tags are automatically closed!
Example:
OpenTag('p'); OpenTag('b'); WriteText('Test'); CloseTag('p'); |
Category
Creation of XML data
Copyright (C) by WP |