This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: using global variables in templates
- From: TSchutzerWeissmann at uk dot imshealth dot com
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 12 Sep 2002 14:41:43 +0100
- Subject: RE: [xsl] using global variables in templates
- Reply-to: xsl-list at lists dot mulberrytech dot com
>> 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