Andreas W. Wylach
Usenet Archive
- Joined
- Apr 15, 2004
- Messages
- 2
- Reaction score
- 0
Hello everybody,
i got a problem in building a xsl construct to skip xml entries. Xml looks like this:
....
<textblock>
<text_crlf></text_crlf>
<text_crlf></text_crlf>
<text_crlf></text_crlf>
<text_crlf></text_crlf>
<text_crlf></text_crlf>
<text_crlf></text_crlf>
</textblock>
....
Above xml code is a little part out of a whole xml tree. The problem i try to solve is to print out the first text_crlf tag (which will be translated in <br> via a match function. All the following text_crlf entries should be skipped, _if_ they are empty. I tried to work with following/preceding-sibling and such but can't get it to work. I am not very xml expirienced, so maybe one of you wizards can give me a hint how to get that problem solved.
Greetings
Andreas W. Wylach
aw (at) ioc3.de
i got a problem in building a xsl construct to skip xml entries. Xml looks like this:
....
<textblock>
<text_crlf></text_crlf>
<text_crlf></text_crlf>
<text_crlf></text_crlf>
<text_crlf></text_crlf>
<text_crlf></text_crlf>
<text_crlf></text_crlf>
</textblock>
....
Above xml code is a little part out of a whole xml tree. The problem i try to solve is to print out the first text_crlf tag (which will be translated in <br> via a match function. All the following text_crlf entries should be skipped, _if_ they are empty. I tried to work with following/preceding-sibling and such but can't get it to work. I am not very xml expirienced, so maybe one of you wizards can give me a hint how to get that problem solved.
Greetings
Andreas W. Wylach
aw (at) ioc3.de