[oXygen-user] Wrapping <p> into <note> produces invalid DITA code

Frank Dissinger frank.dissinger at cgs-oris.com
Mon Jan 20 11:02:47 CST 2025


Hi all,

 

When I insert a <note> element, <p> is added automatically as a child, which is the desired behaviour for me.

However, wrapping a <p> into <note>, produces the structure <note><p><p>, which is invalid because two <p> elements are nested.

How can I prevent that another <p> is added as a child of <note> just for the wrapping operation (and not for inserting)?

Freundliche Grüße | Best regards 

Frank Dissinger

Documentation Manager

..........................................

CGS ORIS GmbH

Email  <mailto:frank.dissinger at cgs-oris.com> frank.dissinger at cgs-oris.com | Web  <http://www.cgs-oris.com/> www.cgs-oris.com

Address Kettelerstrasse 24 | 63512 Hainburg | Germany

Phone +49 6182 9626-0 | Fax +49 6182 9626-99

Commercial register Offenbach, HRB no. 21495

Managing directors Bernd Rückert, Christoph Thommessen

​

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20250120/109ffab4/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 63714 bytes
Desc: not available
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20250120/109ffab4/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 151 bytes
Desc: not available
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20250120/109ffab4/attachment-0003.png>


More information about the oXygen-user mailing list