(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(_at_)koberg(_dot_)com]
Gesendet: Montag, 9. August 2004 20:03
An: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Betreff: Re: AW: AW: AW: AW: AW: [xsl] 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(_at_)nag(_dot_)co(_dot_)uk]
Gesendet: Donnerstag, 9. September 2004 19:16
An: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Betreff: Re: AW: AW: AW: AW: [xsl] 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