Single catalog file in frameworks directory
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 5
- Joined: Thu Feb 24, 2022 9:29 pm
Single catalog file in frameworks directory
I'm trying to port over a large set of custom doctypes used in an Arbortext environment, with which I'm very familiar, to Oxygen Editor and Web Author, which I am new to. The xml schema files are fairly modular, so use of xs:include is common. We had a single xml catalog file that pointed to the schema files using the xsi:noNamespaceSchemaLocation attribute in the xml file.
Is it not possible to have a frameworks directory, with multiple framework subdirectories containing the xml schema files, and another subdirectory with a set of common schema files that the others include, and have a single xml catalog file in the main frameworks directory that resolves them? I haven't had any luck with this yet.
Is it not possible to have a frameworks directory, with multiple framework subdirectories containing the xml schema files, and another subdirectory with a set of common schema files that the others include, and have a single xml catalog file in the main frameworks directory that resolves them? I haven't had any luck with this yet.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Single catalog file in frameworks directory
Hi,
Each framework configuration in the Oxygen Preferences->"Document Type Associations" page has a "Catalogs" tab. When you refer to an XML catalog you can use editor variables like this ${framework}/../main-catalog.xml. That "../" means navigating outside of the current framework folder and you can also use it multiple times in the path.
Regards,
Radu
Each framework configuration in the Oxygen Preferences->"Document Type Associations" page has a "Catalogs" tab. When you refer to an XML catalog you can use editor variables like this ${framework}/../main-catalog.xml. That "../" means navigating outside of the current framework folder and you can also use it multiple times in the path.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 5
- Joined: Thu Feb 24, 2022 9:29 pm
Re: Single catalog file in frameworks directory
Thanks Radu, that makes sense. I assumed that adding the ${frameworks}/catalog.xml file to the catalogs under Preferences->XML->"XML Catalog" would have worked without adding catalog entries under each individual framework. Is that not the case?
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Single catalog file in frameworks directory
Hi,
Sure, you can also add XML catalog entries to the "Preferences->XML->"XML Catalog"" page. All catalogs (the ones from the document types and the global added ones) are added to the same common internal pool of XML catalogs and used from there.
Regards,
Radu
Sure, you can also add XML catalog entries to the "Preferences->XML->"XML Catalog"" page. All catalogs (the ones from the document types and the global added ones) are added to the same common internal pool of XML catalogs and used from there.
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