how to avoid closing up lines


hey, structured stuff serious fun! , have 1 challenge left first serious xml-to-frame project: code examples.

in source, these tagged follows, though opening [code] tag on line itself:

> [code]
sfmisthemename = "deur"
sfmistablename = "door_cad"
' table name doors
sfmistablebid = "building_id"
sfmistablefid = "floor_char"
sfmistableid = "id"
select bid=sfmistablebid, f=sfmistablefid, id=sfmistableid, type
from sfmistablename
where sfmistablebid=sbid
and sfmistablefid=sfid
[/code]

when open xml file, line-breaks have been tidily removed. how can preserve them?

hi again,

that's should happen..xml parser's default behaviour replace cr/lf in xml space.

you can control behaviour rw-rule:

element "code" {
reader line break forced return;
writer line break forced return;
}

martti


More discussions in FrameMaker Structured


adobe

Comments