Contents
Articles
Behaviors
Books
Director News
Director Web Sites
FAQ
Games
Mailing Lists
News Groups
Project Examples
Reviews
Software
Tools
Useful Web Sites
Utilities
Xtras

Don't miss these
AppActive
WinShaper
Number of CD Tracks - MCI
Wheel Mouse
Print Any Frame from Projector
Snow-Alphamania
Check Acrobat Version
Graphic Drag on top
Opening a page in a browser frame
Simatrix Menu
 

 

 

Project Example XML Text Renderer v1.1

Added on 3/27/2002

 

Compatibilities:
D7 D8 D8_5

This item has not yet been rated

Author: Magnamerc

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.

 


Contact

MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA

Send e-mail