# Random xml text output

**URL:** https://forum.kirupa.com/t/random-xml-text-output/172324
**Category:** Uncategorized
**Created:** [December 13, 2005, 11:14am UTC](https://forum.kirupa.com/t/random-xml-text-output/172324 "2005-12-13T11:14:19Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![trevorsaint](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/trevorsaint/32/268_2.png) [@trevorsaint](https://forum.kirupa.com/u/trevorsaint)
#### Post date: [December 13, 2005, 11:14am UTC](https://forum.kirupa.com/t/random-xml-text-output/172324/1 "2005-12-13T11:14:19Z")

</div>

Hi does anyone know how to output a random xml node, for example:

\<greeting\>

\<greet\>Happy Christmas\</greet\>  
\<greet\>Happy New Year\</greet\>  
\<greet\>Hi from the team\</greet\>

\</greeting\>

Basically a random message would be displayed in the scene and shown when called, for example an animation will play, and a message will be shown, the next time the animation is show the message is shown again, only this time different.

Any ideas or approaches, in a simple learning curve way for the quick addition?

Any advice, direction examples better still would be perfect.

Many thanks
