Insert xml element with text value
Post here questions and problems related to oXygen frameworks/document types.
Insert xml element with text value
Hello,
We use oxygen sdk 25.0.0.0.
We have this element in the xsd :
We want to set the element value to FULL when element is inserted.
I tried to use the content completion configuration file with this value :
But it does not work.
Is there an equivalent of
If no, how can I add text value to simplePara element when inserted.
Thanks,
Regards,
Isabelle
We use oxygen sdk 25.0.0.0.
We have this element in the xsd :
Code: Select all
<xs:complexType mixed="true" name="simplePara">
<xs:attribute ref="id"/>
</xs:complexType>
I tried to use the content completion configuration file with this value :
Code: Select all
<valueProposals path="/exportRegistrationStmt/simplePara">
<items>
<item value="full"/>
</items>
</valueProposals>
Is there an equivalent of
Code: Select all
<elementProposals path="exportRegistrationStmt" insertElements="simplePara">
<insertAttribute name="exportRole" value="full"/>
</elementProposals>
Thanks,
Regards,
Isabelle
Re: Insert xml element with text value
Hi Isabelle,
We have an issue registered for imposing text element values using cc_config, I added your details to it and if it will get resolved in the future we will notify you on this thread. Pasting the issue ID for future reference:
EXM-47033 Impose default text value via the cc_config.xml
For now you will need to find other means to do this, maybe with a custom AuthorDocumentFilter implementation or by replacing the element in the content completion window with a custom action:
https://blog.oxygenxml.com/topics/custo ... etion.html
Regards,
Radu
We have an issue registered for imposing text element values using cc_config, I added your details to it and if it will get resolved in the future we will notify you on this thread. Pasting the issue ID for future reference:
EXM-47033 Impose default text value via the cc_config.xml
For now you will need to find other means to do this, maybe with a custom AuthorDocumentFilter implementation or by replacing the element in the content completion window with a custom action:
https://blog.oxygenxml.com/topics/custo ... etion.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: Insert xml element with text value
Hi Isabelle,
Internal issue with ID EXM-47033 is in the opened stage, I'm afraid we have not had time to implement it. If we implement it in a future version we will let you know.
Regards,
Radu
Internal issue with ID EXM-47033 is in the opened stage, I'm afraid we have not had time to implement it. If we implement it in a future version we will let you know.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “SDK-API, Frameworks - Document Types”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service