xsl-list
[Top] [All Lists]

RE: Empty Elements in .NET

2004-02-04 11:01:45
Correct, however, when the Indent=yes feature inserts white space in the
element it becomes a different, and invalid for an EMPTY element.

Greg Alvord
 
Gallagher Financial Systems
800-989-9996


-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of 
David Carlisle
Sent: Wednesday, February 04, 2004 11:41 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Empty Elements in .NET


  Regardless of the form of schema I use .NET creates
  <ERROR a='data' ...></ERROR>

  Rather than the expected form of
  <ERROR a='data' .../>


They are specified as being the same thing in the XML spec
No XML application will distinguish them. An XSLT system may output them in
either form.

David

-- 
http://www.dcarlisle.demon.co.uk/matthew

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The service
is powered by MessageLabs. For more information on a proactive anti-virus
service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>