Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
TeamSite
TeamSite, LiveSite and OpenDeploy
"exception while parsing templating.cfg file" err
System
I added few lines of code to the existing "templating.cfg" file so that my datacapture.cfg file (DCT) can be used to create DCR's. when I choose the option "New Data Record" message "exception while parsing" error occurs. I added comments to the templating.cfg file prefixing the line with #. Hope that is correct way of commenting. or under the datatype "new" in the presation folder I don't have any templates does it matter?
I am pasting the templating.cfg file. could someone throw some ideas .
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<!DOCTYPE templating SYSTEM "templating5.0.dtd">
<templating>
<category name="www">
<locations>
<branch vpath-regex=".*" />
</locations>
<data-type name="main" dcr-type="iwov">
<presentation>
<template name="mainIndex.tpl" extension="asp">
<locations>
<branch vpath-regex=".*" preview-dir="/">
<directory dir-regex=".*" />
</branch>
</locations>
</template>
<template name="communityIndex.tpl" extension="asp">
<locations>
<branch vpath-regex=".*" preview-dir="/">
<directory dir-regex=".*" />
</branch>
</locations>
</template>
</presentation>
</data-type>
<data-type name="index" dcr-type="iwov">
<presentation>
<template name="MainIndex.tpl" extension="asp">
<locations>
<branch vpath-regex=".*" preview-dir="/">
<directory dir-regex=".*" />
</branch>
</locations>
</template>
<template name="CommunityIndex.tpl" extension="asp">
<locations>
<branch vpath-regex=".*" preview-dir="/">
<directory dir-regex=".*" />
</branch>
</locations>
</template>
</presentation>
</data-type>
</category>
#Nath. 12/02/02. Added the following 18 lines of code to be able to add new DCT.
<data-type name="new" dcr-type="iwov">
<presentation>
<template name="MainIndex.tpl" extension="asp">
<locations>
<branch vpath-regex=".*" preview-dir="/">
<directory dir-regex=".*" />
</branch>
</locations>
</template>
<template name="CommunityIndex.tpl" extension="asp">
<locations>
<branch vpath-regex=".*" preview-dir="/">
<directory dir-regex=".*" />
</branch>
</locations>
</template>
</presentation>
</data-type>
</category>
</templating>
thank you
nath
Find more posts tagged with
Comments
There are no comments yet