Unable to apply cell style after importing
hi all
i importing xml indesign gets imported cell style not getting applied.
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<body>
<table-wrap id="t1" position="float" orientation="portrait">
<table xmlns:aid5="http://ns.adobe.com/adobeindesign/5.0" xmlns:aid="http://ns.adobe.com/adobeindesign/4.0/" aid:table="table" aid:trows="1" aid:tcols="6">
<td aid5:cellstyle="cell style_1" colspan="2" rowcount="2" aid:table="cell" aid:crows="1" aid:ccols="2"><b>structure</b></td>
<td aid5:cellstyle="cell style_1" rowcount="2" aid:table="cell" aid:crows="1" aid:ccols="1"><b>description</b></td>
<td aid5:cellstyle="cell style_1" rowcount="2" aid:table="cell" aid:crows="1" aid:ccols="1"><b>description</b></td>
<td aid5:cellstyle="cell style_1" rowcount="2" aid:table="cell" aid:crows="1" aid:ccols="1"><b>description</b></td>
<td aid5:cellstyle="cell style_1" rowcount="2" aid:table="cell" aid:crows="1" aid:ccols="1"><b>description</b></td>
</table>
</oasis:tgroup>
</table-wrap>
</body>
where wrong?
please suggest
thank you
hi
you have obvious issue closing tag oasis:tgroup without opening tag.
however, that's weird. looked sample , discarded every single source of errors (at end yoru sample identical adobe sample). , in cases, sample fails. last guess (and it's 2 cents one) character encodings messing things up.
try creating sample table (inside indesign), tag it, export it. add cell styles in xml editor , re-import. should work proving problem not syntax encoding.
unless wrong.
loic
More discussions in InDesign Scripting
adobe
Comments
Post a Comment