Working with Cocoon 2.1.8 I have encountered a problem with the filter transformer. It works find with a straightforward transform after a simple SQL. But when I have a nested SQL statement, where the initial result after the SQL transformer looks like: <?xml version="1.0" encoding="UTF-8"?> <page xmlns:sq2="http://apache.org/cocoon/SQL/2.0" xmlns:jx="http://apache.org/cocoon/templates/jx/1.0"> <sq2:rowset nrofrows="2" name="paper-list"> <sq2:row> <sq2:recordno>5072</sq2:recordno> <sq2:authorgroupid>2803</sq2:authorgroupid> <sq2:title>"Marea Roja" en El Norte De Chile</sq2:title> <sq2:rowset nrofrows="1" name="author-list"> <sq2:row> <sq2:authorname>Rodriguez</sq2:authorname> <sq2:authorinitials>L.</sq2:authorinitials> </sq2:row> </sq2:rowset> </sq2:row> <sq2:row> <sq2:recordno>10</sq2:recordno> <sq2:authorgroupid>8</sq2:authorgroupid> <sq2:title>Sobre Ume floracao de Asterionella Clevel</sq2:title> <sq2:rowset nrofrows="2" name="author-list"> <sq2:row> <sq2:authorname>Aguiar</sq2:authorname> <sq2:authorinitials>L.W.</sq2:authorinitials> </sq2:row> <sq2:row> <sq2:authorname>Corte-Real</sq2:authorname> <sq2:authorinitials>M.</sq2:authorinitials> </sq2:row> </sq2:rowset> </sq2:row> </sq2:rowset> </page> Then the filter result looks like: <?xml version="1.0" encoding="UTF-8"?> <page xmlns:sq2="http://apache.org/cocoon/SQL/2.0" xmlns:jx="http://apache.org/cocoon/templates/jx/1.0"> <sq2:rowset nrofrows="2" name="paper-list"> <block id="1"> <sq2:row> <sq2:recordno>5072</sq2:recordno> <sq2:authorgroupid>2803</sq2:authorgroupid> <sq2:title>"Marea Roja" en El Norte De Chile</sq2:title> <sq2:rowset nrofrows="1" name="author-list"> <sq2:row> <sq2:authorname>Rodriguez</sq2:authorname> <sq2:authorinitials>L.</sq2:authorinitials> </sq2:row> </block> </sq2:rowset> </sq2:row> <sq2:row> <sq2:recordno>10</sq2:recordno> <sq2:authorgroupid>8</sq2:authorgroupid> <sq2:title>Sobre Ume floracao de Asterionella Cleve</sq2:title> <sq2:rowset nrofrows="2" name="author-list"> <sq2:row> <sq2:authorname>Aguiar</sq2:authorname> <sq2:authorinitials>L.W.</sq2:authorinitials> </sq2:row> <sq2:row> <sq2:authorname>Corte-Real</sq2:authorname> <sq2:authorinitials>M.</sq2:authorinitials> </sq2:row> </block> </sq2:rowset> </sq2:row> </sq2:rowset> </page> And its clear from the above that the </block>s are in the wrong place! How do I correct this? Thanks Derek
-- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
