How to create a new element in oxygen using xsd

Oxygen general issues.
shiney_98
Posts: 12
Joined: Thu Sep 09, 2021 12:03 pm

How to create a new element in oxygen using xsd

Post by shiney_98 »

Hi,

I want to add a new custom element in oxygen using xsd.
The thing is I want to able to see a new element named as "xxx_something" when i place the cursor in an entry element of a table and press the enter key.

Regards,
Shiney.
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to create a new element in oxygen using xsd

Post by Radu »

Hi,
So you are editing an XML document in Oxygen and the XML document has an associated XML Schema, right?
Oxygen should indeed offer you content completion proposals when editing in the Text editing mode and pressing "<" or when editing in the Author visual editing mode and pressing ENTER.
https://www.oxygenxml.com/doc/versions/ ... etion.html
https://www.oxygenxml.com/doc/versions/ ... -mode.html
Does Oxygen offer you any type of content completion proposals?
Or do you have a certain element which you want to insert in a certain place and Oxygen does not propose it?
Maybe in this case the XML Schema does not properly define that element to be proposed in a certain table <entry>? Without knowing how the XML schema is structured and having a small sample XML document this is hard to figure out.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
chrispitude
Posts: 907
Joined: Thu May 02, 2019 2:32 pm

Re: How to create a new element in oxygen using xsd

Post by chrispitude »

Hi Shiney,

Is this a DITA document or some other type of XML document?
Post Reply