-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to add a use-when attribute to an <xsl:import> tag #231
Comments
Could you show me your code? |
These are in the C:\DITA-OT-3x-WHR-PDF5-Beta\plugins\com.custom.pdf5.ml\xsl\dita2fo_import.xsl file:
Again, I'm trying to test against the doc.type publishing paramater. I've also added the value "profiling" to the doc.type in C:\DITA-OT-3x-WHR-PDF5-Beta\plugins\com.custom.pdf5.ml\plugin.xml.
This configuration creates valid output, but the dita2fo_markup.xsl is not being used. If I remove the @use-when attribute, the dita2fo_markup.xsl is used (but, of course, I need it to be conditional). Thank you! |
You are trying to reference ant property from Try following steps. 1. Add following line in your
|
Hi,
I wanted to create a new dita2fo.xml file that would coorilate to a doc.type value. The goal is that when I set the doc.type publishing paramater to 'profile' my new file is included in the build. If doc.type is empty, or filled with another value, my new file is not included.
I've added a link to my new file in a xml:import tag in the dita2fo_import.xml file. That works well. However, when I added a @use-when attribute, one of the following things happen:
Is it possible to reference the publishing paramaters as a stactic expression in the @use-when attribute?
Thank you.
The text was updated successfully, but these errors were encountered: