cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "HALLOWELL,KARL (HP-Cupertino,ex1)" <karl_hallow...@hp.com>
Subject RE: The order of battle
Date Thu, 19 Jul 2001 15:37:37 GMT
> -----Original Message-----
> From: Marks local account [mailto:millerm@logica.com]
> 
> I have a pipeling that has the following pattern:
> 
> <map:match pattern="login">
>         <map:generate type="serverpages" src="docs/login.xsp" />
>         <map:transform src="stylesheets/login-page2html.xsl"/>
>         <map:serialize/>
> </map:match>
> 
> I though what happened her was that a file 'login_xsp.java' was
> generated from 'login.xsp' which would fire SAX events that are then
> transformed by 'login-page2html.xsl'.
> 
> But in tracking down a bug it looks more like the login.xsp 
> page has the
> login-page2html.xsl applied, and then it is compiled into a 
> .java file.
> I concluded this because the problem was that the root tag 
> was not being
> matched, and the java file only had a few tags in it. When I 
> go the name
> of the tag right in login-page2html.xsl then the resulting java file
> produced had all the bits and pieces.

I don't follow your conclusion. This fits with the scenario that the
stylesheet inserts by default some html tags, and skips the XML which it
can't match. This is expected behavior, FAIK.


Karl Hallowell                 karl_hallowell@hp.com
 

---------------------------------------------------------------------
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