specify cross-reference format in read/write rules?
How can I specify a cross-reference format in the read/rules when importing xml document?
How can I specify a cross-reference format in the read/rules when importing xml document?
Gary,
If you want all occurrences of the xref element to use the same format, you can either specify the format in an InitialObjectFormat rule in the EDD or use a r/w rule in the form:
element "figref"
{
is fm cross-reference element;
fm property cross-reference format value is "Figure";
}
If you want to use different formats and have a particular element specify which one, you can define an attribute whose value is the format name with a rule such as:
element "xref"
{
is fm cross-reference element;
attribute "xref-fmt' is fm property cross-reference format;
}
In fact, if your DTD defines an attribute called "format", FM by default uses it for this purpose.
--Lynne
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.