Oxy_Functions and Editing Attribute Values of Child Elements
Oxygen general issues.
-
- Posts: 32
- Joined: Mon Apr 10, 2017 8:56 pm
Oxy_Functions and Editing Attribute Values of Child Elements
Hello,
I have a question about using css/oxy-functions to access attribute values of child elements.
Here is a portion of my schema:
And below is a portion of my css:
However, suppose I want to rearrange the layout of my document and the order of the oxy_functions within the miscellaneousInformation element. Is there a way to write the css/oxy_functions using xpath in such a way I could do something like this:
Any assistance would be appreciated!
Thanks!
John
I have a question about using css/oxy-functions to access attribute values of child elements.
Here is a portion of my schema:

And below is a portion of my css:
Code: Select all
miscellaneousInformation{
display:block;
font-weight:normal;
padding:5px 0px;
}
parts{
content:
oxy_label(text, "Are all parts interchangeable? ")
oxy_combobox(edit, "@interchangeabilityOfParts", editable, false)"\A"
oxy_label(text, "Are any parts reidentified? ")
oxy_combobox(edit, "@reidentifiedParts", editable, false)"\A"
oxy_label(text, "Is the replacement of RFID Tag required? ")
oxy_combobox(edit, "@replacementRFIDTagRequired", editable, false)
}
replacementPlatesRequired{
content:
oxy_label(text, "Is a replacement nameplate? ")
oxy_combobox(edit, "@replacementNameplateRequired", editable, false)
oxy_label(text, "If Yes, select the type of nameplate: ")
oxy_combobox(edit, "@replacementNameplateType", editable, false);
}
Code: Select all
miscellaneousInformation{
display:block;
font-weight:normal;
padding:5px 0px;
content:
oxy_label(text, "Are all parts interchangeable? ")
oxy_combobox(edit, "/parts@interchangeabilityOfParts", editable, false)"\A"
oxy_label(text, "Are any parts reidentified? ")
oxy_combobox(edit, "/parts@reidentifiedParts", editable, false)"\A"
oxy_label(text, "Is the replacement of RFID Tag required? ")
oxy_combobox(edit, "/parts@replacementRFIDTagRequired", editable, false)
oxy_label(text, "Is a replacement nameplate? ")
oxy_combobox(edit, "/replacementPlatesRequired@replacementNameplateRequired", editable, false)
oxy_label(text, "If Yes, select the type of nameplate: ")
oxy_combobox(edit, "/replacementPlatesRequired@replacementNameplateType", editable, false);
}
Thanks!
John
-
- Posts: 417
- Joined: Mon May 09, 2016 9:37 am
Re: Oxy_Functions and Editing Attribute Values of Child Elements
Post by sorin_carbunaru »
Hello John,
Unfortunately we cannot help you with this one, as the form controls are not capable of editing the children of the current element.
Regards,
Sorin Carbunaru
oXygen XML
Unfortunately we cannot help you with this one, as the form controls are not capable of editing the children of the current element.
Regards,
Sorin Carbunaru
oXygen XML
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