========================================================
The output I get after the buildsearch.xsl looks like this:
<results> <rowset> <row> <uri>adh/resources/fragments/abstractlist.xml</uri> </row> <row> <uri>adh/resources/fragments/arraylist.xml</uri> </row> <row> <uri>adh/resources/fragments/linkedlist.xml</uri> </row> <row> <uri>adh/resources/fragments/vector.xml</uri> </row> </rowset> </results>
=================================================================== Now I am trying to capture all thats in the <uri> and aggregate those xml documents, thats what I am doing in my builddocument.xsl , which looks like this:
<?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sql="http://apache.org/cocoon/SQL/2.0" xmlns:cinclude="http://apache.org/cocoon/include/1.0">
<xsl:template match="results"> <frag> <xsl:for-each select="sql:rowset/sql:row/sql:uri"> <xsl:apply-templates select="sql:uri"/> </xsl:for-each> </frag> </xsl:template>
<xsl:template match="sql:uri"> <cinclude:include src="{uri}"/> </xsl:template>
</xsl:stylesheet>
==========================================================
This results in a blank page. I know theres something wrong the way I am trying to include the XML documents in the <uri> but I am not able to resolve it. Hope you might be of some help to me !!!!
Jupp, that is quite logical that you get a blank page because you matching
sql:rowset/sql:row/sql:uri
which is not in your buildsearch.xsl!!!
Try to match rowset/row/uri
HTH King regards Thorsten
I would appreciate any help coming from your side.
Thanks in advance.
Regards
Sam
-- Thorsten Scherler
Departamento de Desarrollo de Proyectos Sociedad Andaluza para el Desarrollo de la Sociedad de la Informaci�n S.A.U. Avda. de la Arboleda s/n 41940 - Tomares, (Sevilla) Tlfn: (+34) 955 062 627 e-mail: [EMAIL PROTECTED]
Este correo electr�nico y, en su caso, cualquier fichero anexo al mismo, contiene informaci�n de car�cter confidencial exclusivamente dirigida a su destinatario o destinatarios. Queda prohibida su divulgaci�n, copia o distribuci�n a terceros sin la previa autorizaci�n escrita de "Sociedad Andaluza para el Desarrollo de la Sociedad de la Informaci�n, S.A.U.". Si no es Ud. el destinatario del mensaje le ruego lo destruya sin hacer copia digital o f�sica, comunicando a Sociedad Andaluza para el Desarrollo de la Sociedad de la Informaci�n S.A.U. v�a e-mail o fax la recepci�n del presente mensaje. Toda declaraci�n de voluntad contenida deber� ser tenida por no producida. Gracias. ____________________________________________________________________________ ___________________
The information in this e-mail and in any attachments is confidential and solely for the attention and use of the named addressee(s). You are hereby notified that any dissemination, distribution or copy of this communication is prohibited without the prior written consent of "Sociedad Andaluza para el Desarrollo de la Sociedad de la Informaci�n, S.A.U.". If you are not the formal receiver of this message please destroy it without making any digital or physical copy and inform "Sociedad Andaluza para el Desarrollo de la Sociedad de la Informaci�n S.A.U." , by e-mail or fax, of the reception of the present message. Any whatsoever involuntary declaration contained herewith must be taken as having no legal effect. Thank you.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
