reference a variable from the main stylesheet
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 84
- Joined: Wed Jul 19, 2017 6:04 pm
- Location: Austria
- Contact:
reference a variable from the main stylesheet
Hi,
I want to use a variable from the main stylesheet in the included stylesheet. Getting the error:
Is it a violation of the XSLT or an oxygen issue?
I'm using Master Files.
I want to use a variable from the main stylesheet in the included stylesheet. Getting the error:
Vice-versa works well.Variable processedFile has not been declared (or its declaration is not in scope
Is it a violation of the XSLT or an oxygen issue?
I'm using Master Files.
Kind regards,
Oleksii Sapov-Erlinger
Oleksii Sapov-Erlinger
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: reference a variable from the main stylesheet
Hello,
What version of Oxygen are you using (Help > About)?
Are you using the standalone edition of Oxygen or the Eclipse plugin?
Is the main stylesheet added to the list of master files and the master files support enabled?
If they are, the module will be validated in the context of the main stylesheet, so you shouldn't be seeing that error.
Do you have custom validation scenarios associated with either the main stylesheet or the module? These can interfere with the master files support.
If you validate the main stylesheet, does that validate correctly?
If the main stylesheet doesn't validate, that's the problem.
Regards,
Adrian
What version of Oxygen are you using (Help > About)?
Are you using the standalone edition of Oxygen or the Eclipse plugin?
It should work if configured correctly.I want to use a variable from the main stylesheet in the included stylesheet.
Is the main stylesheet added to the list of master files and the master files support enabled?
If they are, the module will be validated in the context of the main stylesheet, so you shouldn't be seeing that error.
Do you have custom validation scenarios associated with either the main stylesheet or the module? These can interfere with the master files support.
If you validate the main stylesheet, does that validate correctly?
If the main stylesheet doesn't validate, that's the problem.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
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