EDD context-formatting based on XML attributes
hi all,
i'm having difficulty getting edd format based on xml attributes. i'd this:
i have xml:
<root>
<elem>sample text sample text sample text sample text.</elem>
<elem multi="true">sample text sample text sample text sample text.</elem>
</root>
for elements multi="true" attribute, i'd them prefixed bullet , left indent of 0.14" text aligns bullet.
• sample text sample text
sample text sample text.
those without attribute formatted according specified paragraph format (no prefix, left indent 0.0")
sample text sample text
sample text sample text.
my edd looks this:
element (container): elem
general rule: <any>
attribute list
name: multi string optional
prefix rules
if context is: [multi = “true”]
prefix: •
text format rules
element paragraph format: element
if context is: [multi = “true”]
basic properties
indents
left indent: 0.14”
after importing xml, prefix part works perfectly. no problems there.
however, context-based left indent doesn't work @ -- elements inherit paragraph indent (0.0"). ends looking this:
• sample text sample text
sample text sample text.
i can't seem figure out. formatting in edd not override specified paragraph formats or something?
any appreciated.
thanks,
carl
carl,
example includes:
<elem multi="true">sample text sample text sample text sample text.</elem>
by chance actual document have subelement within <elem>? if so, formatting of subelement overriding formatting of <elem>? can use structuretools > show element context command confirm formatting rules have intended firing.
also, when debugging edd, recommend checking box remove overrides each time import element definitions.
--lynne
More discussions in FrameMaker Structured
adobe
Comments
Post a Comment