Copy link to clipboard
Copied
Our EDD:

our rw:

our xsd:

our xml:

when we open the xml file in FM8, It can display,but the format is not right.

Copy link to clipboard
Copied
I always use the same value for the "type" attribute as is the format name .. I think that's key since one of the rules I'll show maps the type attribute to the table format. Also, your rules seem mostly unnecessary. You don't need to say that an element "ZZZ" is an fm element "ZZZ" .. I think that's assumed. Here's the rules I'd try ..
element "randomTable"
{
is fm table element;
attribute "columns" is fm property columns;
attribute "widths" is fm property column widths;
attribute "type"
{
is fm attribute "type";
is fm property table format;
}
}I don't think you need anything else in your rules file.
In your EDD, change the table format to "asd" and rename it in your template as well. Or change the attribute value to "Titl1Table". Just make sure they are the same values.
That might work .. give it a try!
...scott
Copy link to clipboard
Copied
According to the method you say it solves our problem.Thank you very much.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more