W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2007

RE: XSLT empty tag representation

From: Derose, Steve (NIH/NLM/NCBI) [C] <deroses@ncbi.nlm.nih.gov>
Date: Mon, 20 Aug 2007 09:27:13 -0400
Message-ID: <18C407FD4FFB424292D769FBD68C1987040164A1@NIHCESMLBX8.nih.gov>
To: "Devi Web Development" <devi.webmaster@gmail.com>, <public-qt-comments@w3c.org>
How about
 
sed 's/<([^ >]*)( [^>]*)\/>/<\1\2><\/\1>/g'
 
?
 
Steve


________________________________

	From: Michael Kay [mailto:mhk@mhk.me.uk] 
	Sent: Monday, August 20, 2007 4:21 AM
	To: 'Devi Web Development'; public-qt-comments@w3c.org
	Subject: RE: XSLT empty tag representation
	
	
	I've transferred this enhancement request to the bugzilla
database at
	 
	http://www.w3.org/Bugs/Public/show_bug.cgi?id=4962
	 
	Please use the bugzilla entry for any subsequent correspondence
so that we can track it.
	 
	I've entered it as a requirement on the serialization spec,
since if we decide to recognize this as a requirement then it lies in
the serialization space. 
	 
	(Personally, though, I wouldn't hold out high hopes unless you
can find a stronger justification. I don't think that the requirements
of people processing XML without using a "real XML parser" come very
high in W3C's list of priorities.)
	
	Michael Kay
	http://www.saxonica.com/

________________________________

		From: public-qt-comments-request@w3.org
[mailto:public-qt-comments-request@w3.org] On Behalf Of Devi Web
Development
		Sent: 09 August 2007 14:27
		To: public-qt-comments@w3c.org
		Subject: XSLT empty tag representation
		
		
		I have found in my work that it is sometimes helpful to
produce XML
		output that is not always parsed by a real XML parser.
Specifically, it would
		be helpful if I could have an XSLT processing
instruction which would 
		represent empty tags as <tag></tag> instead of <tag />.
I do not
		believe such an instruction currently exists in any XSLT
		specifications and thought you might consider it for
future versions.
		
		
		-------------------------------------------
		Daniel Brumbaugh Keeney
		Devi Web Development
		Devi.WebMaster@gMail.com
		
Received on Monday, 20 August 2007 21:17:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:20 GMT