Author Topic: Help with VC payload xml &  (Read 1156 times)

0 Members and 2 Guests are viewing this topic.

xtermin8r

  • $upporter
  • Sr. Member
  • *****
  • Posts: 366
  • Karma: 9
  • Crunchie
    • View Profile
Help with VC payload xml &
« 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 ?

Code: [Select]
<payload>
<value>E:\Music\MIJ Selection\Lustral - Everytime (Nalin &amp; Kane mix).mp3</value>
<phrase>Lustral Everytime Nalin &amp; Kane mix</phrase>
</payload>
« Last Edit: May 27, 2014, 05:45:06 PM by xtermin8r »
Neural Net Based Artificial Intelligence.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Help with VC payload xml &amp;
« Reply #1 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;

xtermin8r

  • $upporter
  • Sr. Member
  • *****
  • Posts: 366
  • Karma: 9
  • Crunchie
    • View Profile
Re: Help with VC payload xml &amp;
« Reply #2 on: May 28, 2014, 06:12:42 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 !
Neural Net Based Artificial Intelligence.