cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes Schwarz" <J.Schw...@wika.de>
Subject odd problem with transformer
Date Thu, 07 Feb 2002 10:24:12 GMT
Hi List!

I programmed a directory scanner.
It scans a directory structure and builds a tree structure from the
files, which match given filter name.
The first code snippet of my sitemap shows the output without a
transformation.
And it operates without any problems (it shows me the directory
structure in an XML- File).

My problem occurs, when I want to transform the generated XML, there's
NO OUTPUT!
It seems to me, that the transformer doesn't get any data from the
generator!

Could the problem be caused by my CACHE settings?

Help is very appreciated!


********SNIP*************

<!-- ================ DIRECTORY SCANNER XML OUTPUT=============== -->
          <map:match pattern="scanxml">
             <map:generate type="serverpages"
src="application/DirScan/content.xsp">
                <map:parameter name="fileName"
value="h:/something/somethingother/andsoon/directorytoscan" />
 
                <map:parameter name="filterName" value="content.xml"
/>
 
                <map:parameter name="absPath"
value="h:/something/somethingother/andsoon/" />
             </map:generate>
 
             <map:serialize type="xml" />
          </map:match>
 
 <!-- ================ DIRECTORY SCANNER HTML OUTPUT===============
-->
          <map:match pattern="scan">
              <map:generate type="serverpages"
src="application/DirScan/content.xsp">
	    <map:parameter name="fileName"
value="h:/something/somethingother/andsoon/directorytoscan" />
	      
	    <map:parameter name="filterName" value="content.xml" />
	      
	    <map:parameter name="absPath"
value="h:/something/somethingother/andsoon/" />
             </map:generate>
 
           <map:transform src="application/DirScan/content.xsl" /> 
 
             <map:serialize type="html" />
          </map:match>

*********SNAP**********


Johannes Schwarz

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message