[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

outputing a non existant element.

Subject: outputing a non existant element.
From: Auguste Oumar <oumar_a@xxxxxxxx>
Date: Wed, 12 Sep 2001 19:17:55 +0200 (CEST)
non existant
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.