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

Re: generating broken html?

Subject: Re: generating broken html?
From: Francis Norton <francis@xxxxxxxxxxx>
Date: Fri, 23 Nov 2001 13:57:17 +0000
Re:  generating broken html?
Thanks to you and Mike, I now understand what's happening.

Tidy generates xml with a default namespace -

<html xmlns="http://www.w3.org/1999/xhtml">

saxon recognises this as html and does the right thing, but msxsl thinks it's just another xml grammar and generates xml style output for it. Once I got rid of the namespace declaration msxsl.exe now generates good html with, as Mike predicted, rather less pretty formatting.

Thanks again guys - you wouldn't believe how frustrated I was getting!

Francis.

David Carlisle wrote:

] <div class="titlebar" id="titlebar"/>

If a system is using the XML empty element syntax in the html output
method then that is definitely a bug that should be reported.

If you were using an "identity transform" rather than simply copy-of
you could probably work round it by having templates for those elements
that added some white space inside the element content.

David


_____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp or alternatively call Star Internet for details on the Virus Scanning Service.

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







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



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.