oxy_editor combo and attribute with namespace
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 159
- Joined: Mon Nov 24, 2014 1:49 pm
- Location: Greven/Germany
oxy_editor combo and attribute with namespace
Hi,
I try to add an oxy_editor combo to switch values of an attribute that has a namespace.
Unfortunately neither @xml:lang nor @xml\:lang work, but @lang does. Any ideas?
Best regards
I try to add an oxy_editor combo to switch values of an attribute that has a namespace.
Code: Select all
langSet:before {
content: "A combo box that edits an attribute value. The possible values are provided from CSS:"
oxy_editor(
type, combo,
edit, "@xml:lang",
editable, true,
values, "value1, value2, value3",
labels, "Value no1, Value no2, Value no3"
);
}
Best regards
stefan-jung.org – Your DITA/DITA-OT XML consultant
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: oxy_editor combo and attribute with namespace
Hi Stefan,
Using in the CSS the construct:
worked for me but I also needed to declare the namespace mapping for the "xml" prefix at the beginning of the CSS (after the imports section) like:
Regards,
Radu
Using in the CSS the construct:
Code: Select all
*:before {
content: "A combo box that edits an attribute value. The possible values are provided from CSS:"
oxy_editor(
type, combo,
edit, "@xml:lang",
editable, true,
values, "value1, value2, value3",
labels, "Value no1, Value no2, Value no3"
);
}
Code: Select all
@namespace xml "http://www.w3.org/XML/1998/namespace";
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “General XML Questions”
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