Copy XML of a AuthorNode
Oxygen general issues.
Copy XML of a AuthorNode
Hello,
we are using the Eclipse Oxygen Author in Version 16.
In the Context Menu of the Oxygen Author you are able to paste certain text from the clipboard as XML.
I would appreciate, if this would also work the other way round, so that you could also copy the complete xml of a "fullySelectedAuthorNode".
In detail I currently have the case that I want to get the whole XML as text of an AuthorElement.
I have not found a convenience method for that or am I really forced to generate the XML as text with a StringBuilder manually by navigating through the AuthorElement and its child elements?
Best regards,
Simon
we are using the Eclipse Oxygen Author in Version 16.
In the Context Menu of the Oxygen Author you are able to paste certain text from the clipboard as XML.
I would appreciate, if this would also work the other way round, so that you could also copy the complete xml of a "fullySelectedAuthorNode".
In detail I currently have the case that I want to get the whole XML as text of an AuthorElement.
I have not found a convenience method for that or am I really forced to generate the XML as text with a StringBuilder manually by navigating through the AuthorElement and its child elements?
Best regards,
Simon
Simon Scholz
vogella GmbH
http://www.vogella.com
vogella GmbH
http://www.vogella.com
Re: Copy XML of a AuthorNode
Hi Simon,
You could use the API:
AuthorDocumentController.createDocumentFragment(AuthorNode node, boolean copyContent)
and then serialize the fragment using:
AuthorDocumentController.serializeFragmentToXML(AuthorDocumentFragment fragment)
Regards,
Radu
You could use the API:
AuthorDocumentController.createDocumentFragment(AuthorNode node, boolean copyContent)
and then serialize the fragment using:
AuthorDocumentController.serializeFragmentToXML(AuthorDocumentFragment fragment)
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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