ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xsl-list
xsl-list
Re: [xsl] xhtml output formating problems / passing through pre defined static xhtml
by Robert Koberg other posts by this author
Sep 9 2004 6:56PM messages near this date
[xsl] Attention: list management (was: AW: AW: [xsl] xhtml output formating problems / passing through pre defined static xhtml) | [xsl] XSLT - Multiple Level Grouping with Unknown Level
(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@[...].com] 
> Gesendet: Montag, 9. August 2004 20:03
> An: xsl-list@[...].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@[...].uk] 
> >Gesendet: Donnerstag, 9. September 2004 19:16
> >An: xsl-list@[...].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
> > 
> >
> >    
> >


--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe@[...].com> 
--+--

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved