Associate XSLT for form controls
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 3
- Joined: Wed May 07, 2014 9:33 am
Associate XSLT for form controls
Hi, I'm trying to create form controls by associating an XSLT file in my XML document.
I know it's possible to use CSS, but for what I'm trying to do, this just doesn't seem to cut it.
I've even tried to add the simplest XSLT stylesheet but it just doesn't seem to be working. The documentation barely even mentions the possibility of adding an XSLT stylesheet.
Am I missing something or maybe even interpreting this function wrong?
I know it's possible to use CSS, but for what I'm trying to do, this just doesn't seem to cut it.
I've even tried to add the simplest XSLT stylesheet but it just doesn't seem to be working. The documentation barely even mentions the possibility of adding an XSLT stylesheet.
Am I missing something or maybe even interpreting this function wrong?
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: Associate XSLT for form controls
Post by alex_jitianu »
Hello,
If you are referring to the author mode editing then the only way to add form controls is through CSS by using the oxy_editor extension function.
You can associate an XSLT with an element:
1. directly by using the action Associate XSLT/CSS Stylesheet
2. or through a transformation scenario
After that, you can transform the document using action Apply transformation scenario on the toolbar.
Best regards,
Alex
If you are referring to the author mode editing then the only way to add form controls is through CSS by using the oxy_editor extension function.
You can associate an XSLT with an element:
1. directly by using the action Associate XSLT/CSS Stylesheet
2. or through a transformation scenario
After that, you can transform the document using action Apply transformation scenario on the toolbar.
Best regards,
Alex
-
- Posts: 3
- Joined: Wed May 07, 2014 9:33 am
Re: Associate XSLT for form controls
Right sorry, yeah I meant the author mode editing. But not the offline editor, I'm using the online web applet which doesn't seem to support transforming with XSLT.
Anyway, so it's only possible with CSS, I feared as much.
Well, I do have a follow-up question about the CSS form controls.
I don't think it's possible but I'm actually looking to implement this structure (it's QTI, but that doesn't really matter) into a combo box, is that possible?
<inlineChoiceInteraction>
<inlineChoice identifier="a">Can</inlineChoice>
<inlineChoice identifier="b">Would</inlineChoice>
</inlineChoiceInteraction>
Best Regards,
Vince
Anyway, so it's only possible with CSS, I feared as much.
Well, I do have a follow-up question about the CSS form controls.
I don't think it's possible but I'm actually looking to implement this structure (it's QTI, but that doesn't really matter) into a combo box, is that possible?
<inlineChoiceInteraction>
<inlineChoice identifier="a">Can</inlineChoice>
<inlineChoice identifier="b">Would</inlineChoice>
</inlineChoiceInteraction>
Best Regards,
Vince
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: Associate XSLT for form controls
Post by alex_jitianu »
Hello,
Yes you can but not by using the built-in combo box form control. You'll have to implement a custom form control using out Java based API. If you are interested I can send you the source code for the built-in combo box form control because it is a great starting point for what you want to do. In theory, all you have to change is how the presented values are obtained and how they are committed.
Best regards,
Alex
Yes you can but not by using the built-in combo box form control. You'll have to implement a custom form control using out Java based API. If you are interested I can send you the source code for the built-in combo box form control because it is a great starting point for what you want to do. In theory, all you have to change is how the presented values are obtained and how they are committed.
Best regards,
Alex
-
- Posts: 3
- Joined: Wed May 07, 2014 9:33 am
Re: Associate XSLT for form controls
I was actually just looking into the possibility this feature, so the source code for the built-in combo box won't be necessary.
You've been a great help, thanks a lot Alex.
Best Regards,
Vince
You've been a great help, thanks a lot Alex.
Best Regards,
Vince
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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