cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rogerio Lacerda" <rogerforum_2...@yahoo.com>
Subject Re: [Cocoon Users] multiple source
Date Tue, 22 Aug 2000 14:37:52 GMT
this is a solution...

<?cocoon-format type="text/xml"?>

Thanxs a lot,

Roger


----- Original Message -----
From: Rogerio Lacerda <rogerforum_2000@yahoo.com>
To: <cocoon-dev@xml.apache.org>
Cc: <cocoon-users@xml.apache.org>
Sent: Monday, August 21, 2000 9:06 PM
Subject: [Cocoon Users] multiple source


> I need use the "select=document('file.xml')" like above...but this file is
a
> XSP file...
>
> The problem:
>
> when I call a file for the HTTP ( http://host/file.xml )... the cocooon
put
> in first line this:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
> "http://www.w3.org/TR/REC-html40/strict.dtd>
>
> But this line raise a error in document('file.xml'), and nothing is
> returned...
>
> Are there any way for this problem ???
>
> Thanxs a lot;
>
>
> Roger
>
>
> <?xml version="1.0"?>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
>
> <xsl:template match="/">
>    <html>
>   <xsl:for-each select="document('games.xml')//games/game" >
>      <xsl:value-of select="@id-game" />
>    </xsl:for-each>
>   </html>
> </xsl:template>
>
> </xsl:stylesheet>
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
> _______________________________________________
> cocoon-users mailing list
> cocoon-users@lists.real-time.com
> https://mailman.real-time.com/mailman/listinfo/cocoon-users


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Mime
View raw message