By: h3ll
Date: 2011-02-01
Time: 10:01
|
Replacing templates with OpenXml Tags
Hi there again =)
is it possible to replace to replace TBS Tags with OpenXml Tags? For example having data like this: "TEXT <w:br/> ANOTHER TEXT"? Currently the oxml Tag is not interpreted as a tag but as text.
cheers
|
By: Skrol29
Date: 2011-02-01
Time: 10:43
|
Re: Replacing templates with OpenXml Tags
Hi,
Yes, just add parameter "htmlconv=no", this will prevent the TBS field to convert the value when merging.
|
By: h3ll
Date: 2011-02-03
Time: 15:49
|
Re: Replacing templates with OpenXml Tags
Hi there,
i am afraid it doesnt work. I tried using the overloaded LoadTemplate method giving 'false' as second parameter. It merges fine and debug output looks valid but if i try to open it in MS Word, it says that it encounters invalid xml (on the position of my newline tags). any ideas? quite urgently :(
|
By: Skrol29
Date: 2011-02-03
Time: 16:20
|
Re: Replacing templates with OpenXml Tags
It is too hard to diagnose from here. Maybe your inserted XML is invalid at this place.
Can you explain the steps to reproduce the problem. Or send an example to me?
|
|
Posting in progress.
Please wait...
|