[ 
http://jira.dspace.org/jira/browse/DS-284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10480#action_10480
 ] 

Flávio Botelho commented on DS-284:
-----------------------------------

The hackish way i talked about is more less what you did, just using variables 
all the way which might make it more easy to follow what is happening.

You know, the extra xsl transformation i sent could easily be done in just one 
pass with the main xsl if we had smart enough processors...

> Some rows if presented in the item summary will be wrongly considered odd or 
> even.
> ----------------------------------------------------------------------------------
>
>                 Key: DS-284
>                 URL: http://jira.dspace.org/jira/browse/DS-284
>             Project: DSpace 1.x
>          Issue Type: Bug
>          Components: XMLUI
>            Reporter: Flávio Botelho
>            Priority: Trivial
>         Attachments: oddeven-example.xml, table_row.xsl
>
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> The code for deciding if a given row within a table should be considered odd 
> or even needs to be done after first passing all those ifs to decide which 
> rows are going to be presented in the summary presentation of items. 
> (actually it can be done with the if processing, but that would be much more 
> hackish, as the only way i see for doing that is to use variables, and xslt 
> variables have a somewhat painful scoping)
> So i propose to create a second transformation after the main one, called 
> table_rows.xsl
> I have done that and it works fine for me.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to