chunk base.dir parameter (dynamic ?)
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 7
- Joined: Fri Aug 20, 2004 3:27 pm
chunk base.dir parameter (dynamic ?)
Can I suse a macro to substitute the base.dir value for the XSLT processor?
Example:
Currently using oxygen under windows under c:\program files\oxygen\
I want to make chunk html files
source is in m:\test\car1
OUtput chunk I want to put in M:\test\car1\chunked\
So I set the parameter base.dir to m:\test\car1\chunked in the edit scenario window.
However If I wnat to make other documentation for
m:\test\car2, I have to update this parameter.
Isn't it possible to use a kind of macro so I can set the base.dir to ${cfd}\chunked\ ?
Or mayber here is another solution?
When working with many documents in different directories it becomes clumbersome to update everytime the parrameter value of base.dir by hand.
Example:
Currently using oxygen under windows under c:\program files\oxygen\
I want to make chunk html files
source is in m:\test\car1
OUtput chunk I want to put in M:\test\car1\chunked\
So I set the parameter base.dir to m:\test\car1\chunked in the edit scenario window.
However If I wnat to make other documentation for
m:\test\car2, I have to update this parameter.
Isn't it possible to use a kind of macro so I can set the base.dir to ${cfd}\chunked\ ?
Or mayber here is another solution?
When working with many documents in different directories it becomes clumbersome to update everytime the parrameter value of base.dir by hand.
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi,
Currently macros are not supported in the parameter values.
All you can do right now is to duplicate the scenario and set the parameter to the desired value. Setting names to scenarios like below for instance will make the scenario selection easy:
Chunk to M:\test\car1\chunked\
Chunk to M:\test\car2\chunked\
Best Regards,
George
Currently macros are not supported in the parameter values.
All you can do right now is to duplicate the scenario and set the parameter to the desired value. Setting names to scenarios like below for instance will make the scenario selection easy:
Chunk to M:\test\car1\chunked\
Chunk to M:\test\car2\chunked\
Best Regards,
George
-
- Posts: 7
- Joined: Fri Aug 20, 2004 3:27 pm
Thanks,
We even have different subdirectories depending on the output:
Chunk to M:\test\car1\chunked\
Html (onechunk) to to M:\test\car1\html\
Pdf to to M:\test\car1\pdf\ (done with output file parameter, this is ok, because path can be set relative to document path)
Chunk to M:\test\car2\chunked\
Html to to M:\test\car2\html\
Pdf to to M:\test\car2\pdf\
With many different projects we have to edit the scenario each time with new projects.
Have to little knowledge right know if something can be done with xslt if/then else clauses based on output type (chunked, onechunk, pdf) to make this easier.
Any help on this would be welcome
We even have different subdirectories depending on the output:
Chunk to M:\test\car1\chunked\
Html (onechunk) to to M:\test\car1\html\
Pdf to to M:\test\car1\pdf\ (done with output file parameter, this is ok, because path can be set relative to document path)
Chunk to M:\test\car2\chunked\
Html to to M:\test\car2\html\
Pdf to to M:\test\car2\pdf\
With many different projects we have to edit the scenario each time with new projects.
Have to little knowledge right know if something can be done with xslt if/then else clauses based on output type (chunked, onechunk, pdf) to make this easier.
Any help on this would be welcome
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi,
Only when you have chunks the output is specified with a parameter. Otherwise, in case of PDF or (X)HTML output the output location is defined by the output file location. There you can use macros, for html for instance you can use:
${cfd}/html/${cfn}.html
and for PDF
${cfd}/pdf/${cfn}.pdf
I also added the support for macros inside parameter values on our bugzilla.
Best Regards,
George
Only when you have chunks the output is specified with a parameter. Otherwise, in case of PDF or (X)HTML output the output location is defined by the output file location. There you can use macros, for html for instance you can use:
${cfd}/html/${cfn}.html
and for PDF
${cfd}/pdf/${cfn}.pdf
I also added the support for macros inside parameter values on our bugzilla.
Best Regards,
George
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