Environment:
TeamSite 6.5 SP1
Windows 2003 EE
Problem:
I'm using the custom xml type in order to create form-generated Interwoven DCRs that can be validated against a custom XML DTD. The DTD includes <![CDATA[...]] tags that I'm hoping to incorporate within the DCR in one way or another. Currently, I make an onSave FormAPI call to append these tags to the corresponding field values. This appears to be fine when viewing the DCR through the form - however, when I look at the DCR itself, TeamSite has replaced the <, > tags with <, $gt;, respectively. My DCRs will be directly interpreted by a Flash parser, which cannot convert these back as an XML parser would. Since the DCRs will be interpreted directly, the solution can't involve a PT.
Any thoughts on how I can work around this?
Below are snippets of the DTD and resultant DCR...
Thanks,
Derek
DTD
====================
<category id="c1">
<display><![CDATA[Category One]]></display>
<question id="q1">
<display><![CDATA[Question One]]></display>
<answer><![CDATA[Foo Bar]]></answer>
</question>
</category>
DCR
====================
<category id="c1">
<display><![CDATA[Category One]]></display>
<question id="q1">
<display><![CDATA[Question One]]></display>
<answer><![CDATA[Foo Bar]]></answer>
</question>
</category>
Edited by djhalliday on 09/27/05 05:16 PM (server time).