Page 1 of 1

How to create a new element in oxygen using xsd

Posted: Wed Apr 12, 2023 9:48 am
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.

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

Posted: Wed Apr 12, 2023 10:36 am
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

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

Posted: Wed Apr 19, 2023 2:50 pm
by chrispitude
Hi Shiney,

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