This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: using global variables in templates


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]