Next problem with admon.graphics.path
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 13
- Joined: Sun Jul 19, 2009 8:13 pm
Next problem with admon.graphics.path
Hi,
having read DocBook XSL I thought I have learned to use XSL.
But there are some strange problem left:
I put in my custom xsl file these lines:
<xsl:template match="*" mode="admon.graphic.width">
<xsl:text>32pt</xsl:text>
</xsl:template>
<xsl:param name="admon.graphics.path">/opt/docbook5/</xsl:param>
to indicate that I am using another location for my graphics (/opt/docbook5/images/). But oxygen totally ignores this code? What is wrong?
Thanks in advance
Thomas
having read DocBook XSL I thought I have learned to use XSL.
But there are some strange problem left:
I put in my custom xsl file these lines:
<xsl:template match="*" mode="admon.graphic.width">
<xsl:text>32pt</xsl:text>
</xsl:template>
<xsl:param name="admon.graphics.path">/opt/docbook5/</xsl:param>
to indicate that I am using another location for my graphics (/opt/docbook5/images/). But oxygen totally ignores this code? What is wrong?
Thanks in advance
Thomas
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Next problem with admon.graphics.path
Post by sorin_ristache »
Hello,
If the images are in /opt/docbook5/images/ you have to use:
Regards,
Sorin
If the images are in /opt/docbook5/images/ you have to use:
Code: Select all
<xsl:param name="admon.graphics.path">/opt/docbook5/images/</xsl:param>
Regards,
Sorin
-
- Posts: 13
- Joined: Sun Jul 19, 2009 8:13 pm
Strange problem...
Hi,
even stranger... In the FO-File there is
src="url(/opt/docbook5/images/note.png)"
And everything should be ok because note.png is tere. BUT: nothing happens... When moving the images-directory to the directory where the resulting files are stored (DBXML/images) then the icon is there!
??????????????
Regards
Thomas
even stranger... In the FO-File there is
src="url(/opt/docbook5/images/note.png)"
And everything should be ok because note.png is tere. BUT: nothing happens... When moving the images-directory to the directory where the resulting files are stored (DBXML/images) then the icon is there!
??????????????
Regards
Thomas
sorin wrote:Hello,
If the images are in /opt/docbook5/images/ you have to use:
Code: Select all
<xsl:param name="admon.graphics.path">/opt/docbook5/images/</xsl:param>
Regards,
Sorin
-
- Posts: 13
- Joined: Sun Jul 19, 2009 8:13 pm
still stranger...
[Hi,
when giving the path as parameter in the dialog window of configuring a transformation scenario it works.
But when inserting it in the custom xml file - it doesn't work!
???????????
regards
Thomas
when giving the path as parameter in the dialog window of configuring a transformation scenario it works.
But when inserting it in the custom xml file - it doesn't work!
???????????












regards
Thomas
-
- Posts: 13
- Joined: Sun Jul 19, 2009 8:13 pm
FOUND IT!
Hi,
I have to insert ''!
Instead of
this one:
It's a hard time learning XML...
Regards
Thomas
I have to insert ''!
Instead of
Code: Select all
<xsl:param name="admon.graphics.path">/opt/docbook5/images/</xsl:param>
Code: Select all
<xsl:param name="admon.graphics.path">'/opt/docbook5/images/'</xsl:param>

Regards
Thomas
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Next problem with admon.graphics.path
Post by sorin_ristache »
You are right. The param must have a string value so the value must appear between " and ".
Regards,
Sorin
Regards,
Sorin
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Next problem with admon.graphics.path
Post by sorin_ristache »
Hello,
For the XSLT transformation Oxygen uses only the settings of the transformation scenario associated with the current file. A validation scenario is not used for the XSLT transformation. What parameter of validation scenario did you deactivate?
Regards,
Sorin
For the XSLT transformation Oxygen uses only the settings of the transformation scenario associated with the current file. A validation scenario is not used for the XSLT transformation. What parameter of validation scenario did you deactivate?
Regards,
Sorin
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