cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Problems displaying image on the browser
Date Thu, 29 Apr 2004 16:16:40 GMT

We are trying to display image on the IE. The problem is that we are
forced to specify the absolute path of the image, whereas the
requirement is to specify the relative path. On the browser the the foll
URL is typed for displaying the html page.
http://localhost:8080/cocoon/mointest/helloworld.html .

The following is the code snippet for the XML file

<?xml version="1.0"?>


			<paragraph>Hello Worldparagraph>



The following is the code in the XSL file

<?xml version="1.0"?>
<xsl:stylesheet version="1.0"

<xsl:template match="picture">

		<xsl:attribute name="src">

			<xsl:value-of select="@file"/>




<xsl:template match="content">

	<h1><xsl:apply-templates select="*"/></h1>


<xsl:template match="paragraph">
 			<table border='1'>
 					<td align='center'>


Confidentiality Notice

The information contained in this electronic message and any attachments to this message are
for the exclusive use of the addressee(s) and may contain confidential or privileged information.
you are not the intended recipient, please notify the sender at Wipro or
and destroy all copies of this message and any attachments.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message