value with ampersand in dropdown list (oxy_combobox)
Oxygen general issues.
-
- Posts: 2
- Joined: Wed Jun 09, 2021 6:38 pm
value with ampersand in dropdown list (oxy_combobox)
I want to use the oxy_combobox control. One of my values contains an ampersand.
In the definition of the oxy_combobox control, I can specify the value with ampersand .
But when I use the combobox control productively in the my editor, the ampersand is replaced with &
This is quite normal for the text mode of the oxygen editor, but I also see & in the author mode.
Any idea on how to get the simple (non-escaped) ampersand back?
In the definition of the oxy_combobox control, I can specify the value with ampersand .
But when I use the combobox control productively in the my editor, the ampersand is replaced with &
This is quite normal for the text mode of the oxygen editor, but I also see & in the author mode.
Any idea on how to get the simple (non-escaped) ampersand back?
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: value with ampersand in dropdown list (oxy_combobox)
Post by alex_jitianu »
Hi,
I've tried a similar scenario with combo boxes for editing both an attribute value and an element value.
When the values are committed in the document the & gets escaped because is a special character used to escape other characters.
The form controls though present the & without escaping it:
Best regards,
Alex
I've tried a similar scenario with combo boxes for editing both an attribute value and an element value.
Code: Select all
* {
display: block;
content:
"Attribute: " oxy_combobox(
edit, '@attr',
editable, false,
values, 'value1&, value2&')
"\A "
"Text: " oxy_combobox(
edit, '#text',
editable, false,
values, 'value1&, value2&')
}
Code: Select all
<form attr="value2&">value2&</form>
form-controls.png
I hope I understood the situation... You can send us some samples on support@oxygenxml.com if you case if different.Best regards,
Alex
You do not have the required permissions to view the files attached to this post.
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