By: John
Date: 2016-02-22
Time: 15:13
|
OpenTBS MergeField acting irregularlyI'm using OpenTBS to populate a fields in an .odt document template with information drawn from a database query. Oddly, in the resulting document only a few of the fields have been merged seemingly arbitrarily. For example there will be cases of a particular variable being inserted in one spot but not in another. I've used the onshow, onload. and var prefixes with no apparent difference in the output.
|
|
By: Skrol29
Date: 2016-02-22
Time: 23:39
|
Re: OpenTBS MergeField acting irregularlyHi,
Have you seen the chapter « Some TBS tags are not merged » in the updated document file? http://www.tinybutstrong.com/opentbs.php?doc |
|
By: John
Date: 2016-02-24
Time: 14:11
|
Re: OpenTBS MergeField acting irregularlyI had a look at the zip archive for the problematic document and there are some clear irregularities in the problem areas. Additionally, I've found other documents merge fields without issue. I think the problem is that the template I'm using is originally a heavily formatted word file which I'm opening through open office leading to the content.xml file's structure getting garbled. Thanks very much for your assistance in developing this application, you've been a great help!
|