|
|
XML Text Renderer v1.1
Added on 3/27/2002
|
Compatibilities:
|
This item has not yet been rated
|
The XMLTextRender object wraps calls 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 XML tags into Director formatting. This allows for tag driven text formatting.
Get the source
The XMLTextRender object wraps calls 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 XML tags into Director formatting. This allows for tag driven text formatting.
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.
|
|