Another option is to set up the BugNum paragraph to use a runin head tag. Then use a space for a separator.
Bernard -----Original Message----- From: framers-bounces+bernard=publishingsmarter.com at lists.frameusers.com [mailto:framers-bounces+bernard=publishingsmarter....@lists.frameusers.com] On Behalf Of Mike Feimster Sent: Tuesday, July 17, 2007 8:28 AM To: Lin Surasky; framers at lists.frameusers.com Subject: RE: More than one element in a paragraph? Lin, The method you used to solve your problem is perfectly valid. Another possibility is to assign paragraph level formatting to the BugNum element and assign TextRangeFormatting to the Number and Title elements. You don't use a DTD to define how the text looks. In XML, a DTD does not define how text looks, it defines the semantic structure of a document. It's basically just the general rule from the EDD. This is different from structured Frame, where the EDD defines the semantic structure of the document and provides formatting information. For all practical purposes, the two XML samples you provided are identical. If you were to use the XML in non-Frame work flow, you would need to create an XSL transform or use some other method to provide the formatting. --- Mike Feimster Documentation Analyst ACS Technologies 180 N. Dunbarton Drive Florence, SC 29501 p / 843.413.8122 f / 843.413.8122 e / mike.feimster at acstechnologies.com -----Original Message----- From: framers-bounces+mike.feimster=acstechnologies.com at lists.frameusers.com [mailto:framers-bounces+mike.feimster=acstechnologies.com at lists.frameuse rs.com] On Behalf Of Lin Surasky Sent: Monday, July 16, 2007 7:44 PM To: framers at lists.frameusers.com Subject: More than one element in a paragraph? Hi all- I'm still plodding along in my downtime, setting up a structured application so that eventually I'll be able to import XML data from our development (bug-tracking) database. I have the basics working, but I'm not sure how to break up the bug (er, feature) information. Right now I just have an element, BUG, that has a general rule of BugNum, Description. BugNum = Number, Title. I want these to be separate elements because they're separate fields in the bug tracking system. But I want the number and title to be in a single paragraph. What do I need to do? I've worked around it by assigning Number a special run-in paragraph format, but in the long run I want to get away from formatting in FrameMaker as much as possible, and use the DTD to define how the text looks. So what I have is: <BUG> <BugNum><Number>Bug 1234: </Number> <Title>Yet Another Bug in the System</Title></BugNum> <Description>It don't work so good.</Description> </BUG> What I want is: <BUG> <BugNum><Number>Bug 1234: </Number><Title>Yet Another Bug in the System</Title></BugNum> <Description>It don't work so good.</Description> </BUG> I can provide my EDD if that'll help diagnose what's missing; I just don't know what else would be helpful at this point. Thanks very much! Lin _______________________________________________ You are currently subscribed to Framers as mike.feimster at acstechnologies.com. Send list messages to framers at lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscribe at lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/mike.feimster%40acst echnologies.com Send administrative questions to listadmin at frameusers.com. Visit http://www.frameusers.com/ for more resources and info. _______________________________________________ You are currently subscribed to Framers as bernard at publishingsmarter.com. Send list messages to framers at lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscribe at lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/bernard%40publishingsmarter.com Send administrative questions to listadmin at frameusers.com. Visit http://www.frameusers.com/ for more resources and info.