Using Saxon extensions in oXygen?
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 3
- Joined: Wed Mar 15, 2006 2:42 am
- Location: Boulder, CO
- Contact:
Using Saxon extensions in oXygen?
I need to pass the following parameter to Saxon:
From the command line, I would use:
I need to use this to transform DocBook XML to HTMLHelp.
It's not an XSL parameter, it's part of the Java call. How do I do this in oXygen?
Thanks,
--Scotty
Code: Select all
-Dencoding.windows-1252=com.nwalsh.saxon.Windows1252
Code: Select all
java
-Dencoding.windows-1252=com.nwalsh.saxon.Windows1252 \
com.icl.saxon.StyleSheet \
myhelpfile.xml \
docbook-xsl/htmlhelp/htmlhelp.xsl \
htmlhelp.encoding=windows-1252 \
chunker.output.encoding=windows-1252 \
saxon.character.representation=native
It's not an XSL parameter, it's part of the Java call. How do I do this in oXygen?
Thanks,
--Scotty
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi Scotty,
That is a system property. If you start oXygen from using a batch script, oxygen.bat for instance then you can edit it and add the -Dencoding.windows-1252=com.nwalsh.saxon.Windows1252 option as you do from command line.
If you use an executable to start oXygen then things are a little different. For instance on Windows you need to edit the oxygen7.1.ini file and add the -Dencoding.windows-1252=com.nwalsh.saxon.Windows1252 option in the Virtual Machine Parameters section.
If you still have problems let us know what distribution of oXygen do you use (standalone, Eclipse plugin) and on what platform.
Best Regards,
George
That is a system property. If you start oXygen from using a batch script, oxygen.bat for instance then you can edit it and add the -Dencoding.windows-1252=com.nwalsh.saxon.Windows1252 option as you do from command line.
If you use an executable to start oXygen then things are a little different. For instance on Windows you need to edit the oxygen7.1.ini file and add the -Dencoding.windows-1252=com.nwalsh.saxon.Windows1252 option in the Virtual Machine Parameters section.
If you still have problems let us know what distribution of oXygen do you use (standalone, Eclipse plugin) and on what platform.
Best Regards,
George
-
- Posts: 3
- Joined: Wed Mar 15, 2006 2:42 am
- Location: Boulder, CO
- Contact:
extension still requires changing default encoding
Hi George,
this seems to work only if I change the encoding of my source file to iso-8859-1 from UTF-8
Do you know of any solution to transform my UTF-8 XML to the proper windows-1252 HTMLHelp format?
Best regards,
--Scotty
this seems to work only if I change the encoding of my source file to iso-8859-1 from UTF-8
Do you know of any solution to transform my UTF-8 XML to the proper windows-1252 HTMLHelp format?
Best regards,
--Scotty
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
For example you can use:
Regards,
Sorin
For example you can use:
Code: Select all
<xsl:output method="xhtml" encoding="cp1252"/>
Sorin
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