RE: [xsl] Is there a way to avoid Empty Values?

Subject: RE: [xsl] Is there a way to avoid Empty Values?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 11 Apr 2007 08:06:20 +0100
> 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