Validation scenario - editor variables
Are you missing a feature? Request its implementation here.
-
- Posts: 176
- Joined: Wed Apr 29, 2009 4:55 pm
Validation scenario - editor variables
Hello,
it would be nice to add to the available editor variables something like ${currentFileUpperFolders} to build URL of validation unit. We have many branches of our documentation. The master document is composed from many partial documents placed in multi-level hierarchy. It prevents us to use relative paths as each document in different directory level would require different scenario (master is placed in top level). We use absolute paths which solve this, but it works for individual branch only. Annoying step of creating the new scenario for each branch could be eliminated if there would be possible to use new variable, which would search each upper folder till specified document is found. Is something like this posible? Or is there another way how to achieve this?
Jan
it would be nice to add to the available editor variables something like ${currentFileUpperFolders} to build URL of validation unit. We have many branches of our documentation. The master document is composed from many partial documents placed in multi-level hierarchy. It prevents us to use relative paths as each document in different directory level would require different scenario (master is placed in top level). We use absolute paths which solve this, but it works for individual branch only. Annoying step of creating the new scenario for each branch could be eliminated if there would be possible to use new variable, which would search each upper folder till specified document is found. Is something like this posible? Or is there another way how to achieve this?
Jan
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Validation scenario - editor variables
Post by sorin_ristache »
Hello,
You should create an Oxygen project in the Project view, add all folders of a branch to the project and create a scenario that uses a path based on the editor variable ${pdu} (project directory as URL) for the validation unit, for example ${pdu}/parent/of/master. Save the .xpr project file in the branch folder and use the same project file with all branches.
Regards,
Sorin
You should create an Oxygen project in the Project view, add all folders of a branch to the project and create a scenario that uses a path based on the editor variable ${pdu} (project directory as URL) for the validation unit, for example ${pdu}/parent/of/master. Save the .xpr project file in the branch folder and use the same project file with all branches.
Regards,
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