<div dir="ltr"><div>While working on the IntegerSequencer test</div><div><br></div><div><a href="https://glitch.com/edit/#!/x3dom-sequencer-interval-test?path=IntegerKeyTest.html:54:10">https://glitch.com/edit/#!/x3dom-sequencer-interval-test?path=IntegerKeyTest.html:54:10</a></div><div><br></div><div>it was necessary to use a lot of switch nodes to display different texts depending on some input.</div><div><br></div><div>With a StringSequencer one could directly feed text into Text nodes, selected by a key. This would substantially streamline scenes with dynamic or conditional text. Maybe String/TextSequencers/Interpolators had been discussed at some point ?</div><div><br></div><div>Since such a StringSequencer would need to have multiple MFStrings as keyValues, a practical issue would become how to encode such an array of MFStrings in xml (and json). A MMFString in effect.</div><div><br></div><div>Add another layer of quotes ?</div><div><div>keyValue=" ' "MFString1_a" "MFString1_b" '  ' "MFString2_a" "MFString2_b" ' "  </div><div></div></div><div><div><br></div><div>Use comma as a dedicated delimiter ?</div><div>keyValue=' "MFString1_a" "MFString1_b", "MFString2_a" "MFString2_b" '  </div><div></div></div><div><br></div><div>Some other delimiter (vertical bar |) ?</div><div><br></div>-Andreas<br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Andreas Plesch<br>Waltham, MA 02453</div></div></div>
</div>