Variable Replacement In Document Template Not Working
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 1
- Joined: Fri Aug 12, 2011 9:32 pm
Variable Replacement In Document Template Not Working
Hi,
I'm trying to create a document template xsd file. I want to use variable replacement inside this template...for example in my schema declaration I want to do the following...(xml snippet to follow)
Whenever I create a new file using this template it does not actually replace the value of ${cfn} it just leaves that in the newly created file as the literal string ${cfn}.
Am I doing something wrong? I'm running Oxygen 12.2.0 inside Eclipse Indigo (3.7)
I'm trying to create a document template xsd file. I want to use variable replacement inside this template...for example in my schema declaration I want to do the following...(xml snippet to follow)
Code: Select all
xmlns="http://www.nycourts.gov/xml/ucms/datamodel/shared/servicedm/universal/task/inquiry/${cfn}
Am I doing something wrong? I'm running Oxygen 12.2.0 inside Eclipse Indigo (3.7)
-
- Posts: 9449
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Variable Replacement In Document Template Not Working
Hi,
We have a limitation and editor variables which are related to the location that the saved file will have on disk (like ${cf}, ${cdf}, ${cfn}, etc) are not expanded at all.
In the standalone version of Oxygen this limitation makes sense because the file is first created with a generic "Untitled.xml" name and then the user saves it on the local disk, but in Eclipse the user also chooses the place where the file will be saved so maybe in Eclipse we will be able to overcome this limitation. I will add an improvement request for this and update this post when we find a solution.
Regards,
Radu
We have a limitation and editor variables which are related to the location that the saved file will have on disk (like ${cf}, ${cdf}, ${cfn}, etc) are not expanded at all.
In the standalone version of Oxygen this limitation makes sense because the file is first created with a generic "Untitled.xml" name and then the user saves it on the local disk, but in Eclipse the user also chooses the place where the file will be saved so maybe in Eclipse we will be able to overcome this limitation. I will add an improvement request for this and update this post when we find a solution.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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