This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Look Ahead in XSL
- To: "XML" <XML-INTEREST at JAVA dot SUN dot COM>, "XSL-List" <xsl-list at mulberrytech dot com>
- Subject: Look Ahead in XSL
- From: "ciaran byrne" <ciaran dot byrne at 3tl dot com>
- Date: Fri, 18 Aug 2000 11:36:21 +0100
- Reply-To: xsl-list at mulberrytech dot com
Hi all,
I'm trying to implement a solution for the following scenario.
The WML spec. specifies that some elements may or may not have
an end tag for example:
<prev></prev>
can also be written as
<prev/>
I'm attempting to look ahead at the next element, be it a tag or some text
so that I can make a decision such as: if there is no content between the
start tag and the end tag i.e. <prev></prev> then create an empty element
<prev/>
So far I've had little luck. Any one had any experience with this problem ?
Cheers,
Ciaran.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list