Get master file url through api
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 280
- Joined: Thu Nov 28, 2013 9:32 am
- Location: Hamburg/Germany
- Contact:
Get master file url through api
Hi,
I need to know the master file url from within my extension bundle but can't find a method returning it!?
Thanks and regards,
Patrik
I need to know the master file url from within my extension bundle but can't find a method returning it!?
Thanks and regards,
Patrik
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Get master file url through api
Hi Patrik,
We do not have API for this.
How do you define that master file in Oxygen? Do you add certain XML documents in the special Master Files grouping folder in the Project view?
Or do you create a validation scenario for that XML which validates its master XML file?
Regards,
Radu
We do not have API for this.
How do you define that master file in Oxygen? Do you add certain XML documents in the special Master Files grouping folder in the Project view?
Or do you create a validation scenario for that XML which validates its master XML file?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 280
- Joined: Thu Nov 28, 2013 9:32 am
- Location: Hamburg/Germany
- Contact:
Re: Get master file url through api
Hi Radu,
I'm adding a certain xml document to the Master Files folder - always a single one.
Background: My caching class needs to know the master file to cache the data of all includes files. With the cached data and access to it from schematron I can validate each xml file seperatley in a global context without having to validate the whole project (consisting of hundreds of files). Currently I'm assuming the master file has the same path as the project file (just with different file extension). I thought with the master file concept I could make this more flexible... - no real problem, though.
Regards,
Patrik
I'm adding a certain xml document to the Master Files folder - always a single one.
Background: My caching class needs to know the master file to cache the data of all includes files. With the cached data and access to it from schematron I can validate each xml file seperatley in a global context without having to validate the whole project (consisting of hundreds of files). Currently I'm assuming the master file has the same path as the project file (just with different file extension). I thought with the master file concept I could make this more flexible... - no real problem, though.
Regards,
Patrik
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Get master file url through api
Hi,
As an update to this older thread, in Oxygen 25 we added this new API:
https://www.oxygenxml.com/InstData/Edit ... Iterator--
Regards,
Radu
As an update to this older thread, in Oxygen 25 we added this new API:
https://www.oxygenxml.com/InstData/Edit ... Iterator--
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “SDK-API, Frameworks - Document Types”
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