Editing attribute values via Author mode
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 83
- Joined: Wed May 20, 2009 1:18 pm
Editing attribute values via Author mode
Is it possible to edit attribute values which have been displayed in Author mode (using CSS 'content') within Author mode? The displayed attribute values are not selectable or ediatble by default.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Editing attribute values via Author mode
Post by sorin_ristache »
That is not possible. You edit an attribute value in the Attributes view. This view can be displayed also at the cursor location if you press Alt-Enter in Author mode.
Regards,
Sorin
Regards,
Sorin
-
- Posts: 83
- Joined: Wed May 20, 2009 1:18 pm
Re: Editing attribute values via Author mode
Thanks fior the reply, this will just about support the requirements but I suspect the users will want something more dedicated to their needs.
I had two idea and was wondering what your impfressions were:
1. Is it possibel to invoke the attributes editor programativcally and preopulate the attribute selctor drop down, and the attribute value field? If so I can create an opertaion to do this and target the requiured attribute.
2. I am using a custom protocol handler, so I can control the load and save processes. I thought that during the load process I might write into the document a number of dummy elements which were poulated from the attribute value from the associated 'real' elements. The user could then edit the dummy element contents in author mode. During the save operation I could deleted these dummy elements and write their contents back into the real element's attribute. Does this sound feasible?
I had two idea and was wondering what your impfressions were:
1. Is it possibel to invoke the attributes editor programativcally and preopulate the attribute selctor drop down, and the attribute value field? If so I can create an opertaion to do this and target the requiured attribute.
2. I am using a custom protocol handler, so I can control the load and save processes. I thought that during the load process I might write into the document a number of dummy elements which were poulated from the attribute value from the associated 'real' elements. The user could then edit the dummy element contents in author mode. During the save operation I could deleted these dummy elements and write their contents back into the real element's attribute. Does this sound feasible?
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Editing attribute values via Author mode
Post by sorin_ristache »
We will make the attributes editable in a future version. We have this request already logged in our system. That is easier than invoking the Attributes view programatically or a plugin.
Regards,
Sorin
Regards,
Sorin
-
- Posts: 83
- Joined: Wed May 20, 2009 1:18 pm
Re: Editing attribute values via Author mode
OK, I'll keep a look out for that when its released. Unfortunately we are finishing development on Friday this week, so I think I'll have to go with the dummy element workaround until this feature is available.
Thanks for the info.
Thanks for the info.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Editing attribute values via Author mode
Post by sorin_ristache »
I tried a simple example with an attribute A of elem E displayed as content of E:before and the attribute is refreshed in Author mode in E:before after I change the attribute value in Attributes view. Please post small samples of the XML file and the CSS stylesheet and the attribute that you edit in Attributes view.
Thank you,
Sorin
Thank you,
Sorin
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Editing attribute values via Author mode
Post by sorin_ristache »
Maybe you can reduce the files (XML, CSS) to smaller sample files that reproduce the problem. In a small file it is easy to replace the text content with dummy text in order to avoid the legal issues.
Regards,
Sorin
Regards,
Sorin
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