Friday, June 26, 2009

Settings to write the vxml code though eclipse...

Hi All,

If you need editor for vxml then do the following.

Take DTD for the vxml version(we can get it from W3C site) and configure your eclipse and add *.vxml extension to file assoication in eclipse properties.

example :

in Eclipse
Window -> preference - > General -> Editor -> File Assoication (add *.vxml extension and choose xml editor)


DTD configuration for eclipse

in Eclipse
Window -> preference - > General ->Web and XML -> XML Catalog

Press Add button

specify location of the dtd file (ex: /home/ramu/xxxxx.dtd)
Key Type is Public ID
Key is specify some common name (because this name only you specify DOCTYPE in your vxml file). example ://DTD/vxml

and specify alternative url (ex:https://studio.tellme.com/vxml2/dtd/vxml-20-tm-pub.dtd) and press ok

it will create entry for user specified entries. in XML Catalog window

then create vxml file
example

<?xml version = "1.0"?>
<!DOCTYPE vxml PUBLIC "//DTD/vxml" "unknown.dtd">
<vxml version="2.0">
</vxml>


<vxml version="2.0">
</vxml>

//DTD/vxml is your key

I hope this will help you.

--
Thanks,
Srikanth Reddy

No comments:

Post a Comment