The XMLTextRender object provides a coding interface to the XMLParser Xtra. XMLTextRender is specifically designed for reading in an XML text string, parsing it via the XMLParser Xtra, and outputting to a textmember. XMLTextRender converts certain XML tags into Director formatting. This allows for tag driven text formatting and is useful in separating content from code.
Changes in Version 1.1:
Four new functions for navigating the XML tree.
The style attribute can be assigned to nodes, so that child nodes can pick up style formatting from their parents.
XTR_TrimLinesRight function to clean up text output.
XTR_DrawNode is now only recursive when parsing formatting elements.
Error handling code has been removed.
Changes in Version 1.2:
Added strikeout, superscript, subscript as possible style values.
Changes in Version 1.3:
Added the XTR_GetCurrentNodeText function. Added the "bullet" tag.
Requires the XMLParser xtra that is provided free from Macromedia.
Contact
MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA