Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 25th, 2006, 10:06 AM
Authorized User
 
Join Date: Jan 2006
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default out put file

in the out put file, there is a jump in one line.
how can I force the xsl file, to tell him to do it line by line, and if there is skip in line to eraise it?

thanks
kfir

 
Old January 25th, 2006, 05:30 PM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

If there is unwanted whitespace in your output then it comes from one of three places:

(a) it is copied from the source document
(b) it is generated by the stylesheet
(c) it is generated by the serializer because you specify indent="yes".

To get rid of it, you first need to find out which of these three cases applies.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
 
Old January 26th, 2006, 10:13 AM
Authorized User
 
Join Date: Jan 2006
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default

it is probably the first reason. I dont want to copy the line from the original input file. how do I eraise the blank line please?

 
Old January 26th, 2006, 10:34 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

You don't "erase" a line - you refrain from copying it. What XSLT instructions are causing it to be copied?

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference





Similar Threads
Thread Thread Starter Forum Replies Last Post
out put cyber_kaley20 Beginning PHP 2 October 5th, 2008 07:46 PM
where to put my connectionstring pascali70 C# 10 June 22nd, 2007 05:09 AM
DISPLAY THE OUT PUT jhan316 PHP How-To 3 June 27th, 2006 05:05 AM
how to put the content in the physical file b4 sho ameerabul General .NET 0 November 18th, 2004 01:11 PM
Extract text from text file & put in dropdown box tsukey Beginning PHP 5 July 20th, 2004 09:49 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.