Subject: RE: Look Ahead in XSL From: "Chris Bayes" <Chris@xxxxxxxxxxx> Date: Fri, 18 Aug 2000 12:03:43 +0100 |
Ciaran, You don't have to wory about this. If there is no content then <prev/> is output. You have just to make sure that there is no content and that includes whitespace. Ciao Chris XML/XSL Portal http://www.bayes.co.uk/xml >-----Original Message----- >From: owner-xsl-list@xxxxxxxxxxxxxxxx >[mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of ciaran byrne >Sent: 18 August 2000 11:36 >To: XML; XSL-List >Subject: Look Ahead in XSL > > >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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Look Ahead in XSL, ciaran byrne | Thread | Nodes between two nodes with same n, Jonas |
RE: Problem with generate-id() with, Chris Bayes | Date | RE: Hiding the XSL ?, Chris Bayes |
Month |