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

RE: Is there a way to avoid Empty Values?

Subject: RE: Is there a way to avoid Empty Values?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 11 Apr 2007 08:06:20 +0100
RE:  Is there a way to avoid Empty Values?
> Is there a way to preserve the empty values, 

No. These two representations of an empty element are completely equivalent.

> because the 
> output is used by a Plain Parser Application which looks for 
> <Age> and </Age> for looking value of Age. This legacy 
> application is not open for editing. 

If you've got a bug in your system, then it's always best to fix the program
that's wrong. If you can't fix it then it's best to ditch it and write a
replacement. If you've got a boss who doesn't understand this, then it's
best to get another job. If you can't get another job, write a filter
application using Perl that converts the empty tag to a start tag / end tag
pair, thus storing up even more bad legacy for your successors.

Michael Kay
http://www.saxonica.com/

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.