Quantcast
Channel: Adobe Community : Popular Discussions - FrameMaker Structured
Viewing all articles
Browse latest Browse all 66580

CALS tables as external file entities

$
0
0

Hi,

 

I'm struggling with a problem while reading in XML fileset through importing XSL transformation (defined in structapps).

 

I've got a main xml document + bunch of separate cals tables, each in it's own file.The location of those tables in the main document are marked with special element.

 

My import xsl converts those elements to entities and makes local entity declarations creating something like (skipping xml decls etc..):

 

<!DOCTYPE x [<!ENTITY table1 SYSTEM 'table1.xml']>

<X ...all schema + namespace declarations..>

<para>zzz</para>

&table1;

....

</X>

 

file entity table1 has <table> as root element.

 

XSLT goes fine and FM does not generate any validation errors against the schema. I've checked the tmp-file (created by XSLT) and it looks ok.

 

But FM refuses to create the tables and flags errors like "Cannot create a new table for the FrameMaker element (table)" and same for every element in cals table.

 

Tables that are in the main document already cause no hick ups. Also, if I change the content of the file entity to , say, <para>, it works.

 

BR, Martti

 


Viewing all articles
Browse latest Browse all 66580

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>