Hi Roger,

Thanks for your response.  The XML files that I am pulling into FrameMaker have 
a structure like this:

<sec sec-type="QandA">
<p><bold>Question:</bold> text of question</p>
<p><bold>Response:</bold> text of response</p>
</sec>

However, sometimes the text of a question or a response lasts into a second or 
third paragraph, such as this:

<sec sec-type="QandA">
<p><bold>Question:</bold> text of question</p>
<p> continued text of question </p>
<p><bold>Answer:</bold> text of answer</p>
<p> continued text of answer </p>
</sec>

and I would like to be able to say that all paragraphs inside a <sec 
sec-type="QandA"> that do not have a <bold> descendant are indented 1.5pc, for 
example.  Other paragraphs with a <bold> descendant inside a <sec 
sec-type="QandA"> should not be indented.  I can't figure out how to do this.

Thanks again,
Cindy


-----Original Message-----
From: Shuttleworth, Roger [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2008 4:00 PM
To: Cindy Maisannes
Subject: RE: writing rules for descendants in EDD

Hi Cindy

I don't believe you can do this. The syntax handles ancestors and siblings but 
not descendants. Offhand, I can't think of a way to accomplish this
without using different elements for those that contain a <bold> element.

But perhaps it would help if you give an example of your desired output. I'm 
having a hard time imagining why you would want to do this.

Regards,

Roger Shuttleworth
London, Canada

_______________________________________________


You are currently subscribed to Framers as [EMAIL PROTECTED]

Send list messages to [EMAIL PROTECTED]

To unsubscribe send a blank email to 
[EMAIL PROTECTED]
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to [EMAIL PROTECTED] Visit
http://www.frameusers.com/ for more resources and info.

Reply via email to