![]() |
Business Internet Services |
|
The Cdata tag store plain text, passive HTML tags and entities as text and appends them to the request output when the exec() method is called. Mostly used as a way to place an active tag within an attribute of an html tag -- something that
is not otherwise legal.
This constructor is called by the DxpBuilder to convert text and passive tags to a Cdata node. The content is added in the constructor. When an explicit Cdata tag is encountered in the source file the no argument constructor is used instead and the content is added by the addContent() method. If the char data just contains whitespace, which happens when active tags are separated by a newline char, this content is just set to null. When content is null it is not displayed by the tag's exec() method. This reduces the number of blank lines in the final output of a dxp page. @param ID is an int was assigned by the DxpBuilder to the new node. It should indicate the order in which this node was created as the parser processed the page. This will be passed on to the base class DxpNode. @param data is the char data passed by the parser to store in this node. Return to Index Note: We have tried to test all of the code examples but they may contain errors. Any questions, comments, suggestions, or problems should be sent to info@plands.com. |
|
© 2005 Planetary
Data Systems.
All rights reserved. |