xsl-list
[Top] [All Lists]

RE: using global variables in templates

2002-09-12 06:41:43
and what does the input look like? 
<input>
     O       
     what 
     fun 
     to 
     be
     in 
     sunny   
     London
     ...
</input>

or, 
<input>
     <line>...</line>
     ...
</input>

it's the second case.

Then preceding-sibling::line[1] will give you the previous line. 

Tom

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>