This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
outputing a non existant element.
- To: XSL-List at lists dot mulberrytech dot com
- Subject: [xsl] outputing a non existant element.
- From: Auguste Oumar <oumar_a at yahoo dot de>
- Date: Wed, 12 Sep 2001 19:17:55 +0200 (CEST)
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi,
i have one optional element in my schema-file say:
<fruit>orange</fruit>.The default value of fruit is
"apple".I would like to have a xslt-transformation
which gives me the content of the fruit element if it
appears in the xml-file or its default value if it
doesn't appear.I have problem giving out the default
value when the element doesn't appear in the
xml-file.How can i solve it ?
Thanks for help.
Auguste
__________________________________________________________________
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list