Altova Mailing List Archives

Re: [xsl] Getting expanded empty tag format

From: David Carlisle <davidc@--------->
Date: 11/15/2005 6:25:00 PM
> Is there a way, in XSL (I'm currently using Saxon), to use the long
> format for an empty tag. So rather than:

If it's XHTML and you are using saxon8 then you can use xslt2's xhtml
output method.

Otherwise just make sure the element is non empty, eg add a space.

> It's just that an XForms processor I'm using is fine with the latter
> but doesn't like the former.

Er that would be broken behaviour as the XML spec places a clear
requiremnt on parsers to treat these the same way, so another solution
would be to report the bug and see if the XForms processor can be fixed.


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


These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.