Extending oXygen - plug-in
Oxygen general issues.
-
- Posts: 1
- Joined: Thu Oct 19, 2006 8:36 pm
Extending oXygen - plug-in
Hello,
I'm writing an Eclipse plug-in and would need an XML-editor as a base. oXygen looks very promising to me, as it seems that some kind of XML AST (Abstract Syntax Tree) is operating in the back. Is it possible to have access to the AST of an XML document from my Eclipse plug-in? For example, I would like to add some markers to an existing XML document, but would have to perform some checks (on the AST) before. Later on, when I click on one of my markers which are displayed in a separeted view, I would like to open your editor to show the exact position of the marker.
To me it seems that you support this kind of functionality, since when someone uses your XPath tool and clicks one of the results in the results pane, the corresponding part from the document is highlighted.
Would be great if you support this kind of funtionality and also if I would have access to it.
Cheers,
Sepp
I'm writing an Eclipse plug-in and would need an XML-editor as a base. oXygen looks very promising to me, as it seems that some kind of XML AST (Abstract Syntax Tree) is operating in the back. Is it possible to have access to the AST of an XML document from my Eclipse plug-in? For example, I would like to add some markers to an existing XML document, but would have to perform some checks (on the AST) before. Later on, when I click on one of my markers which are displayed in a separeted view, I would like to open your editor to show the exact position of the marker.
To me it seems that you support this kind of functionality, since when someone uses your XPath tool and clicks one of the results in the results pane, the corresponding part from the document is highlighted.
Would be great if you support this kind of funtionality and also if I would have access to it.
Cheers,
Sepp
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi,
There is no possibility to access the tree model that oXygen creates while editing. However the rest of your requirements are doable, as the markers are automatically associated with resources in Eclipse. I suggest that you eventually parse the document when you want to add a marker and check some conditions.
Best Regards,
George
There is no possibility to access the tree model that oXygen creates while editing. However the rest of your requirements are doable, as the markers are automatically associated with resources in Eclipse. I suggest that you eventually parse the document when you want to add a marker and check some conditions.
Best Regards,
George
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