VoxCommando Forum

Help and Support (Using VoxCommando) => VoxCommando Basics and Core Features => Topic started by: xtermin8r on May 27, 2014, 05:41:26 PM

Title: Help with VC payload xml &
Post by: xtermin8r on May 27, 2014, 05:41:26 PM
Hi
Just need some info on payload xmls. How does vc treat & in a payload xml string. will vc treat is as & when parsing the xml, and will vc recognise it (voice command) as Lustral Everytime Nalin & Kane mix ?


<payload>
<value>E:\Music\MIJ Selection\Lustral - Everytime (Nalin &amp; Kane mix).mp3</value>
<phrase>Lustral Everytime Nalin &amp; Kane mix</phrase>
</payload>
Title: Re: Help with VC payload xml &amp;
Post by: jitterjames on May 27, 2014, 05:57:43 PM
What's the question?

Yes using & in a payloadXML is ok.  If you test it you will see it works.  If you use the built-in payload editor in VoxCommando and save a payload that contains &, and then look at the file in a text viewer such as notepad++ you will see that the & is encoded as &amp;
Title: Re: Help with VC payload xml &amp;
Post by: xtermin8r on May 28, 2014, 06:12:42 PM
Quote from: jitterjames on May 27, 2014, 05:57:43 PM

Yes using & in a payloadXML is ok.  If you test it you will see it works.  If you use the built-in payload editor in VoxCommando and save a payload that contains &, and then look at the file in a text viewer such as notepad++ you will see that the & is encoded as &amp;

Understood !