Add subfolder from XPR to your output
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 42
- Joined: Wed Jun 20, 2018 11:30 am
Add subfolder from XPR to your output
Post by pieterjan_vdw »
I have the current folder structure in my Oxygen project:
- the files for the nl folder are stored in the nl folder
- the files from the fr folder are stored in the fr folder
Example:
${pd}/_output/nl/def.pdf
${pd}/_output/nl/abc.pdf
${pd}/_output/fr/def.pdf
${pd}/_output/fr/abc.pdf
Do you have a variable available to do this?
Thanks!
- nl
- abc.ditamap
- def.ditamap
- fr
- abc.ditamap
- def.ditamap
- the files for the nl folder are stored in the nl folder
- the files from the fr folder are stored in the fr folder
Example:
${pd}/_output/nl/def.pdf
${pd}/_output/nl/abc.pdf
${pd}/_output/fr/def.pdf
${pd}/_output/fr/abc.pdf
Do you have a variable available to do this?
Thanks!
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Add subfolder from XPR to your output
Hi Pieterjan,
We do not have a specific editor variable for this but we do have the xpath_eval editor variable in which you can call xpath functions on other editor variables, something like:
topic13107.html
so using it you may be able to achieve what you want.
Regards,
Radu
We do not have a specific editor variable for this but we do have the xpath_eval editor variable in which you can call xpath functions on other editor variables, something like:
topic13107.html
so using it you may be able to achieve what you want.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 42
- Joined: Wed Jun 20, 2018 11:30 am
Re: Add subfolder from XPR to your output
Post by pieterjan_vdw »
Thanks Radu! Works like a charm!
This is what my settings is looking like: ${pd}\_output\pdf\${xpath_eval(substring-after('${cfd}','documentation*'))}\${cfn}.pdf
documentation* is the name of my main folder.
This is what my settings is looking like: ${pd}\_output\pdf\${xpath_eval(substring-after('${cfd}','documentation*'))}\${cfn}.pdf
documentation* is the name of my main folder.
Return to “DITA (Editing and Publishing DITA Content)”
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