Jessica Niewint wrote:
Thank you all for your help. Yesterday everything works fine ... today xsp somehow stops to work ... no image will be shown only the text ... I really have any idea what could be wrong
So if you have an idea....just follow it...

<xsl:for-each select="SecContent">
<xsl:variable name="sectioncontent" select="."/>
<xsl:choose>
<xsl:when test="contains($sectioncontent, 'http://myserver.it')">
<fo:block>Here image
<fo:external-graphic src="{$sectioncontent}"/>
</fo:block>
</xsl:when>
Serialize the result of the transformation as XML and check whether
there is a fo:external-graphics there. You might have an unexpected
value in $sectioncontent.

<xsl:otherwise>
<fo:block font-size="12pt" font-style="italic" space-after="2mm">
<xsl:value-of select="." disable-output-escaping="yes"/>
Disable-output-escaping does not work in Cocoon. Serach the XSL list
archive for explanation:
 http://www.mulberrytech.com/xsl/xsl-list/
Its unlikely that this has something to do with your problem though.

BTW you should take some days to learn more about the concepts you use,
you seem to be somewhat confused. Also, both your source formatting and
debugging skills could use some polishing. In general, it is unwise to
use complex frameworks like Cocoon at early stages of style sheet
development, often it is much faster to use an IDE and deploy to Coccon
only after the bulk of the work is done.

J.Pietschmann


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to