cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christoph Strehl" <str...@itc-dortmund.de>
Subject XML2HTML
Date Thu, 18 Sep 2003 13:36:00 GMT
Hello there,
 
I am new to Cocoon and I am already having problems with my first
example. I am trying to convert a XML file to HTML. My XML-file looks -
simplified - like this:
 
<para>
 Text with picture 
 <pic>source.jpg</pic> 
 and some text.
</para>     
 
The xsl-file is this one:
 
  <xsl:template match="pic">
    <img src="<xsl:apply-templates/>"/>
  </xsl:template>
 
I hoped to get an ouput like <img src="source.jpg"/>, instead I get a
resource-not-found-error when trying to call the page which doesn't help
me at all to find the error.
 
Thanks,
Christoph
 

Mime
View raw message