Quantcast
Channel: Adobe Community : Popular Discussions - FrameMaker Structured
Viewing all articles
Browse latest Browse all 66580

How do I combine multiple optional EDD elements

$
0
0

I am trying to get a para element to allow me to type, in any order, some <TEXT>, maybe a xref, then maybe more text followed by a note, and so on.

 

For example I would like to write something like "For more information, see 'Hohoho' on page 27. If this cant help, nothing can. Note: if at first you dont succeed, give up". In other words I would like my Para to support <TEXT> xref <TEXT> note.

 

Equally I would also like to be able to write "Note: Stop and think. Now carry on and see Hohoho on page 27",ie, a Para that uses the element in the order note <TEXT> xref.

 

According the the Adobe FM Structure Application Developers Guide, an Ampersand means 'Child elements can occur in any order' and the Asterisk means 'Child element is optional and can occur more than once'.

 

So a general rule for my Para of  <TEXT> & (xref & Note)* should work, but it does not. In the structured view, I can't get past the xref element. Validation gives the following result after xref: "More contents required at end". I dont understand this as the Ampersand states any order is ok and the Asterisk states that the child element is optional. Why then does it insist on more content?

 

Other variations of the general rule I have tried are <TEXT> & xref* & Note*: Gives 'document is valid' but doesnt allow any more text after xref.

 

Also tried: (<TEXT>, xref, Note)*: Forces me to put a Note after xref even if I don't want that. And even then it returns "More contents required at end".

 

I am wondering if structured FM simply cannot support multiple child elements and if I should be returning to Word or OpenOffice for an unstructured solution.

 

Any help greatly appreciated.


Viewing all articles
Browse latest Browse all 66580

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>