Are you using <xsl:apply-templates/> anywhere exactly in this forms, i.e. 
without select-attribute? Then you match on text()-nodes too, e.g. line 
wraps. They will be copied into the output-document too.

Depending on your XSL the following template COULD help:

<xsl:template match="text()"/>

Joerg

Jorn Heid wrote:
> This works for the main xslt-stylesheet but when using xsl:include the
> problem remains:
> 
> <html><head><META http-equiv="Content-Type" content="text/html;
> charset=UTF-8"><title>n3k Homepage</title><meta content="Agents in Action"
> name="autor"><meta content="english, en" name="language"><meta
> content="coming soon...." name="description"><meta content="coming soon...."
> name="keywords"><meta content="follow" name="robots"><link
> href="/images/n3k.ico" rel="shortcut icon"></head><body marginheight="0"
> marginwidth="0" margintop="0" marginleft="0" topmargin="0" leftmargin="0"
> bgcolor="#ffffff"><div
> style="padding-left:10px;padding-right:10px;padding-top:50px">
>               <h1
> style="color:#0C3D91;font-size:13pt;font-weight:bold;font-family:verdana,ari
> al,sans-serif">The IP &amp; Performance Management Experts</h1>
>               <div
> style="padding-left:40px;color:#000000;font-size:9pt;font-weight:normal;font
> -family:verdana,arial,sans-serif" class="text"> With the rapid growth of IP
> networks we are uniquely placed to provide the very best solutions to manage
> and control corporate IP networks. Founded in 1996, as Internet &amp;
> Intranet Solutions we developed rapidly into the largest reseller in our
> niche. We have just changed our name to n3k Informatik as part of a wider
> European alliance. The company provides total solutions in the following
> areas: <i>
>                               <ul>
> ...
> 
> As you can see the indent is still there - with all elements which I have
> included using
> 
> <xsl:include href="content.xsl"/>
> 
> The sitemap:
> 
>                       <map:serializer name="html" mime-type="text/html"
> src="org.apache.cocoon.serialization.HTMLSerializer">
>                               <preserve-space>false</preserve-space>
>                           <indent>no</indent>
>                   </map:serializer>
> 
> 
> Is this a bug?
> 
> JOERN_HEID


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to