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

nbsp and copy-of and output xml

Subject: nbsp and copy-of and output xml
From: Henner Graubitz <graubitz@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 18 Aug 2008 16:42:32 +0200
 nbsp and copy-of and output xml
Hi there,

first thanks for the reply to my problem. But your solution results 
into the next problem: 


OK, summary: 

I can not use "copy-of" with output="xml" because "&nbsp" will not be
displayed.

Instead (before I transformed with jdom, now with xalan) I use 
output="html"

Nice, BUT: the result is invalid html because in empty tags it does not
close the tag. 

Solution (as suggested in many forums): use output="xml" or output="xhtml"
for 2.0 which closes the tags - BUT THIS brings me to problem one.

Also - instead writing 
<div /> 
- the solution to write  
<div><!-- closetag --></div>

brings html-validator errors "the tag should be empty" 

Any workaround - professional solutions for that.

Aprreciate this 

Holm 

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.