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

Re: xhtml output formating problems / passing through

Subject: Re: xhtml output formating problems / passing through pre defined static xhtml
From: Robert Koberg <rob@xxxxxxxxxx>
Date: Thu, 09 Sep 2004 11:56:32 -0700
br style clear both
(let's start the 'AW:' over again :)

I think you are going to need to post more source (XSL and XML) and what is being output. It might also be helpful for you to take the incorrect output and try to make it work to see where the problem is exactly.

One more guess (and not knowing the HTML output source): does it work if, in your XSL, you use:

<br />

instead of:

<br/>

I have seen this problem in tableless layouts and I think the fix for us was a BR with a style 'clear:both'

hth,
-Rob



Dominic Kr|ger wrote:

Here are some screens two show what happens.

The code seems to be altered in a way that the CSS will not work correct...

http://www.zeitdesigner.de/xslt/xslt_output.gif

http://www.zeitdesigner.de/xslt/correct.gif


-----Urspr|ngliche Nachricht-----
Von: Robert Koberg [mailto:rob@xxxxxxxxxx] Gesendet: Montag, 9. August 2004 20:03
An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Betreff: Re: AW: AW: AW: AW: AW: xhtml output formating problems /
passing through pre defined static xhtml


Some quick guesses as to your problem:

Do you have an empty /html/head/title or /html/head/script? If so then IE won't display the rest of the page. For the title, put something in there. For the script do:

<script src="blah.js">//</script>

HTH,
-Rob


Dominic Kr|ger wrote:




Well, i've tried with just copying the XHTML into the xslt:stylesheet and it


won't


work (won't display correct because of missing spaces at the end of some
nodes's content)
i've tried fidling around with preserve-space and it wouldn't work with the
XHTML "pasted" into the Stylesheet.

And I can't split the document into a top part and a bottom part, because
the dynamic parts I have to fill in are nested in the middle of several
other tags, and the XML parser won't "like" it...

Sorry I don't really get it. Or is there something BIG that I'm missing
totally?

Dominic

-----Urspr|ngliche Nachricht-----
Von: David Carlisle [mailto:davidc@xxxxxxxxx] Gesendet: Donnerstag, 9. September 2004 19:16
An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Betreff: Re: AW: AW: AW: AW: xhtml output formating problems /


passing


through pre defined static xhtml






Cause I can't get it to write out the XHTML as I need ist...




???
As I explained in (one of) my replies you have full control over the
white space in element content in the result document, you can exactly
control any indentation thatis required. You don't have control over the
whitespace insode a tag so if you require a specific attribute layout
like
<abc x=21"
   y="2"


then XSLT can not do that as it can not control the tags at all, but if you want to have

<x>
 <b>
<c>
...

Then it is easy enough to achieve that using any pf teh methods I listed
earlier

David

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.