Pretty Print: custom entity definitions
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 27
- Joined: Sat Jul 19, 2003 10:42 am
- Location: South Africa
- Contact:
Pretty Print: custom entity definitions
I want to share entity definitions across multiple Docbook documents. So I create a file and place all entity declarations inside, like this.
<!ENTITY myfile SYSTEM 'myfile.xml'>
<!ENTITY another_file SYSTEM 'another_file'>
In my root document I create the DOCTYPE declaration, like this.
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook 4.2 XML//EN" "http://www...."; [
<!ENTITY % global_entities SYSTEM "global.ent">
%global_entities;
]>
At this point Validation works, but if I touch Pretty Print it changes the DOCTYPE declaration, deleting the %global_entities; . After which validation cannot work.
Is it me, or is there a problem?
<!ENTITY myfile SYSTEM 'myfile.xml'>
<!ENTITY another_file SYSTEM 'another_file'>
In my root document I create the DOCTYPE declaration, like this.
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook 4.2 XML//EN" "http://www...."; [
<!ENTITY % global_entities SYSTEM "global.ent">
%global_entities;
]>
At this point Validation works, but if I touch Pretty Print it changes the DOCTYPE declaration, deleting the %global_entities; . After which validation cannot work.
Is it me, or is there a problem?
-
- Posts: 501
- Joined: Mon Feb 03, 2003 10:56 am
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