Problem converting to Oxygen 6.0
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 47
- Joined: Mon Apr 18, 2005 2:22 pm
Problem converting to Oxygen 6.0
Post by PeterRobertson »
I do not believe this is a particular Oxygen problem.
I have a large number of files making up a complete document. They all start with:
Do I have to edit every single file to change "5.1" into "6.0", and then do the same again the next time the version changes?
I can see no other way to do this.
- I can't use entities as they seem to have to appear after the dtd.
- I will neither copy nor modify files from the standard distribution.
Is there a workable solution?
I have a large number of files making up a complete document. They all start with:
Code: Select all
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.0//EN"
"C:\Program Files\Oxygen 5.1\frameworks\docbook\dtd/docbookx.dtd" [
I can see no other way to do this.
- I can't use entities as they seem to have to appear after the dtd.
- I will neither copy nor modify files from the standard distribution.
Is there a workable solution?
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Dear Peter,
Generally you should use the system ID as in the templates included in <oXygen/> because it is resolved using the default XML catalog of <oXygen/>. If you open the Templates dialog from the New from templates toolbar button and select the template for Docbook Book you see a system ID pointing to a remote DTD but resolved to a local copy of the DTD using a XML catalog:
For the files that you already created and that contain 5.1 in the system ID you can execute a Replace in Files action on them replacing
with
and making sure the default XML catalog of <oXygen/> is enabled or adding the DocBook catalog to the list of catalogs from user preferences. The DocBook catalog is the file [oXygen-install-dir]/frameworks/docbook/catalog.xml. For instructions about using XML catalogs in <oXygen/> please read the corresponding section in the user manual:
http://www.oxygenxml.com/doc/ug-oxygen/ ... L-Catalogs
Best regards,
Sorin
Generally you should use the system ID as in the templates included in <oXygen/> because it is resolved using the default XML catalog of <oXygen/>. If you open the Templates dialog from the New from templates toolbar button and select the template for Docbook Book you see a system ID pointing to a remote DTD but resolved to a local copy of the DTD using a XML catalog:
Code: Select all
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.docbook.org/xml/4.4/docbookx.dtd">
Code: Select all
"C:\Program Files\Oxygen 5.1\frameworks\docbook\dtd/docbookx.dtd"
Code: Select all
"http://www.docbook.org/xml/4.4/docbookx.dtd"
http://www.oxygenxml.com/doc/ug-oxygen/ ... L-Catalogs
Best regards,
Sorin
Return to “General XML Questions”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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