xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject Re: something similar to <jsp:forward/>
Date Fri, 17 Aug 2001 12:30:09 GMT
Russell,
Please try cocoon-users list first. 

Thanks,
dims

--- Russell Castagnaro <russell@castagnaro.com> wrote:
> Hello folks,
> 
> 
> I have an xml document which is generated using the esql taglib
> included in cocoon.  Two of the elements that are returned are foriegn
> keys in another taple (a lookup table) for the category and type of
> item.  I can handle generating the lookup very easily with a
> combination of jsp (the entry form) and xml/xslt as follows:
> 
>   <tr><!-- Row 1 -->
>     <td>Category:</td>
>     <td><jsp:include page="awardCategories.xml?id=3" /></td>
>   </tr>
>   <tr><!-- Row 2 -->
>     <td>Type:</td>
>     <td><jsp:include page="awardTypes.xml?id=1" />
>         </td>
>   </tr>
> 
> 
>   What I would like to do is use something like an import in my style
>   sheet to do the same thing but in the stylesheet:
> 
> <tr><td >Category</td>
> <td><xsp:god_knows_what ="awardCategories.xml?id="{Category}"/></td></tr>
> 
> <tr><td >Type</td>
> <td ><xsp:god_knows_what ="awardTypess.xml?id="{Type}"/></td></tr>
> 
> 
> Is there anything that works like this or would allow me to do this
> sort of thing?
> 
> 
> Thanks in advanced!
> 
>   
> 
> -- 
> Best regards,
>  Russell                          mailto:russell@castagnaro.com
> 
> 
> ---------------------------------------------------------------------
> In case of troubles, e-mail:     webmaster@xml.apache.org
> To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
> For additional commands, e-mail: general-help@xml.apache.org
> 


=====
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


Mime
View raw message