Thread View: adobe.framemaker.sgml
3 messages
3 total messages
Started by John_Mikesell
Mon, 15 Dec 2008 06:50
XML for Forced Return
Author: John_Mikesell
Date: Mon, 15 Dec 2008 06:50
Date: Mon, 15 Dec 2008 06:50
1 lines
1085 bytes
1085 bytes
I use XSLT to create XML documents to be opened in FrameMaker and converted to structured documents. I have one element (called SyntaxPara) in which I'd like multiple lines separated by forced returns, as indicated by "{" symbol in the document (or \r in the Find/Change dialog). Anybody know what the XML coding would be to specify a forced return? I cannot seem to nail it down. I need to do this because my structured template is supporting styles used with unstructured FrameMaker, and that happens to be how they're doing it. Thanks,
Re: XML for Forced Return
Author: Van_Kurtz
Date: Mon, 15 Dec 2008 13:42
Date: Mon, 15 Dec 2008 13:42
5 lines
1093 bytes
1093 bytes
John, I do not know what the Kosher XML method is, but you can define an element in your EDD, say Break, which has no content or attributes. The EDD defines its formatting as character formatting and a prefix or suffix that is the return character, namely \r. Note that this requires an update to your EDD. Your XSLT would then translate the XML object that indicates a break into the element Break. Van
Re: XML for Forced Return
Author: John_Mikesell
Date: Mon, 15 Dec 2008 22:54
Date: Mon, 15 Dec 2008 22:54
10 lines
864 bytes
864 bytes
Thanks Van. Based on what you said, this seems to work:
The following seems to work:
Element (Container) Break
General rule: <EMPTY>
Prefix rules
1. In all contexts
Prefix \r
Text Format rules
1. In all contexts.
Text range.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads