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

gaps in output

Subject: gaps in output
From: <Emily.Garrett@xxxxxxxxxxx>
Date: Wed, 30 Aug 2006 07:47:33 -0400
emily garrett
My output is WordML and I had copied the xsl:stylesheet element at the
top of an example without seeing the xml:space="preserve" that was in
there.  Thanks!!!


Date: Tue, 29 Aug 2006 19:18:25 +0100
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Subject: RE:  gaps in output
Message-ID: <010801c6cb97$85105c60$6401a8c0@turtle>

I suspect your stylesheet contains an xml:space="preserve" attribute (it
shouldn't)

If that doesn't solve it, show us your code: it's always difficult to
find
bugs when you can't see the code.

Michael Kay
http://www.saxonica.com/

> -----Original Message-----
> From: Emily.Garrett@xxxxxxxxxxx [mailto:Emily.Garrett@xxxxxxxxxxx]
> Sent: 29 August 2006 18:32
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  gaps in output
>
> Sometimes my XSLT output has huge gaps in between the
> elements that appear to correlate with spacing in the XSLT.
> For instance, if I have gaps from an xsl:choose they show up
> inside a variable, making the variable unusable so I have to
> put the whole
> <xsl:variable><xsl:choose>....</xsl:choose></xsl:variable> on
> one line.
> And I get an error when I have <xsl:element name=x"> and
> don't have the following <xsl:attribute> on the same line.
> (which means I can't use Spy's pretty print)
>
> I think one of the factors was because I created elements
> like this <para> instead of like this: <xsl:element
> name="para"/>.  However, I
> have fixed all these.  Also I am using
> <xsl:strip-space elements="*"/>.
>
> Does anyone have any idea how to fix this?
>
> Emily Garrett
>

Emily Garrett
Manager Production Tool Development
Thomson Global Production & Manufacturing
(513) 229-1526
emily.garrett@xxxxxxxxxxx

Your past is not your potential.  In any hour you can choose to liberate
the future.

--Marilyn Ferguson

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.