OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

dita message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Use of <example> in 2.0


I have been experimenting with the 2.0 DTDs in oXygen. I was surprised to find that while I can nest <example> in any number of elements, there is still an enforcement that if I put <example> at the root of <conbody> I am still limited to <example> or <section> after that. I had expected that by allowing <example> everywhere, it essentially would remove that restriction. I would expect to be able to do something like:

 

<conbody>

<p>Introduction to some concept</p>

<example>example of that concept</example>

<p>More discussion about that concept</p>

</conbody>

 

Instead I have to do the following, which seems like a hack:

 

<conbody>

<p>Introduction to some concept</p>

<p><example>example of that concept</example><p>

<p>More discussion about that concept</p>

</conbody>

 

Am I misinterpreting the intent?

 

Dawn



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]