Changing PDF Header in generated documentation
This should cover W3C XML Schema, Relax NG and DTD related problems.
Changing PDF Header in generated documentation
I have reviewed the header.content and footer.content files but do not see where the content can be changed from "Generated with oXygen XML Editor" to "Copyright - The name of my Corporation" and also remove "Take care of the environment, print only if necessary!". I am new to DocBook and FO processing.
Cheers,
John
Cheers,
John
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Changing PDF Header in generated documentation
Post by sorin_ristache »
Hello,
For customizations of the output of DocBook transformations you need to create and run a DocBook customization layer. We have a video demonstration that shows how to create and run such a customization. You should follow that example for header.content and footer.content.
If you need help about editing and transforming DocBook documents in general we have other video demonstration about that. Maybe you should start with that if you are new to both DocBook and FO processing.
Regards,
Sorin
For customizations of the output of DocBook transformations you need to create and run a DocBook customization layer. We have a video demonstration that shows how to create and run such a customization. You should follow that example for header.content and footer.content.
If you need help about editing and transforming DocBook documents in general we have other video demonstration about that. Maybe you should start with that if you are new to both DocBook and FO processing.
Regards,
Sorin
Re: Changing PDF Header in generated documentation
Ok, I understand now how this is all working, and I am able to customize the DocBook output of the schema and then generate the PDF. However, everytime I make incremental changes to my schema and go through this process again, I have to retype all of the <info> content. How can I set this at a project level for the schema?
Thanks,
John
Thanks,
John
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Changing PDF Header in generated documentation
Post by sorin_ristache »
Hello,
Do you mean you edit the XML Schema components (types, elements, attribute groups, etc) and you have to change the header content, the footer content or the copyright information? The customization layer should be changed (edited) only when you want to change the content that is customized in it. What do you mean by incremental changes in the schema?
Regards,
Sorin
Do you mean you edit the XML Schema components (types, elements, attribute groups, etc) and you have to change the header content, the footer content or the copyright information? The customization layer should be changed (edited) only when you want to change the content that is customized in it. What do you mean by incremental changes in the schema?
Regards,
Sorin
Re: Changing PDF Header in generated documentation
So here is the process.
1. create/modify my schema document.
2. generate a DocBook xml document of the schema.
3. Add the info elements that I want to show in doc.
4. Run a senario DocBook PDF to generate the pdf.
5. Make a change to my schema.
6. generate a DocBook xml document of the schema.
7. Now I have to re-add my info elements again.
8. Run a senario DocBook PDF to generate the pdf.
I am trying to avoid step 7.
Thanks,
John
1. create/modify my schema document.
2. generate a DocBook xml document of the schema.
3. Add the info elements that I want to show in doc.
4. Run a senario DocBook PDF to generate the pdf.
5. Make a change to my schema.
6. generate a DocBook xml document of the schema.
7. Now I have to re-add my info elements again.
8. Run a senario DocBook PDF to generate the pdf.
I am trying to avoid step 7.
Thanks,
John
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Changing PDF Header in generated documentation
Post by sorin_ristache »
Hello,
You don't have to do step 7 if you set your custom header and footer with the templates named user.header.content and user.footer.content. These templates are provided in DocBook XSL as place holders where you can set your own content for header and footer. Your content will be added when you run your DocBook XSL customization layer.
Regards,
Sorin
You don't have to do step 7 if you set your custom header and footer with the templates named user.header.content and user.footer.content. These templates are provided in DocBook XSL as place holders where you can set your own content for header and footer. Your content will be added when you run your DocBook XSL customization layer.
Regards,
Sorin
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