My site does that....
I have an alias ... from the web server of say Images, so
www.oyap.net/Images gives me the images.
So in XML I can have:
<mediaobject>
<imageobject>
<imagedata
fileref="http://www.oyap.net/Images/tech_up.gif" format="GIF"
id="tech"/>
</imageobject>
</mediaobject>
Which is totally outside of cocoon :)
did that make sense?
Then translate that to HTML with say:
<xsl:template match="imagedata">
<img name="{@id}" border="0" src="{@fileref}" align="absbottom"
alt="{@id}"/>
</xsl:template>
(using the ID element to pass the name parameter as it should be unique)
Volker Schneider wrote:
> Dear colleagues,
>
> I want to use static files like images etc. but don't want to use pipelines,
> but static files served by the webserver.
>
> Does anybody know how I can configure WebSphereApplicationDeveloper in this
> way, so that static files are being served by the webserver and can be used
> in HTML pages generated by cocoon?
>
> If there is an image tag within my html result, cocoon will assume that it's
> a pipeline - but I do not want this.
>
> Best regards
> - Volker -
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>