XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Conferences Close Tree View
+ Stylus Studio Feature Requests (1146)
- Stylus Studio Technical Forum (14170)
-> + EDI conversion COM segment (5)
-> - SS passing invalid CALS table ... (1)
-> + Carrier Related EDI SAP questi... (2)
-> + How to generate 1 output XML f... (2)
-> + Urgent Eval: How2 w/ Possibly ... (4)
-> + Preview Problems (7)
-> + Mapping to EDIFACT ORDERS UNT0... (8)
-> + Deploying Conversion XML to ED... (2)
-> + Use EDI Adapter within Sap BC (3)
-> + Uninstall->instal entepr. 2007 (2)
-> - xml data to sql 2000 table (1)
-> - Convert from Oracle DB to XML ... (1)
-> + NTFShardlink broken (5)
-> + Can't get catalog to work (3)
-> + Only One of each EDI segment g... (3)
-> + convert (2)
-> + convert (4)
-> + EDIFACT to XSD problem (3)
-> + quark xpress tags (2)
-> + Duplicating nodes allows to cr... (2)
-> + Duplicated, unused nodes are r... (3)
-> + Converting to XML from a varie... (5)
-> + xsd:import's with escaped char... (8)
-> + Viewing the FO Sample Applicat... (3)
-> + Stylus Studio - Window tiling (3)
-> + Question about XML->Java Objec... (2)
-> + SVG web-based editor (2)
-> + conversion process for the pdf... (2)
-> + GUI Mapper does not create pro... (4)
-> + JavaScript working inside prev... (4)
-> + Stylus Studio Crashes when I a... (4)
-> + SVG ImageReader for FOP (2)
-> + Web Service Call Using HTTPS (8)
-> + Meditech database (2)
-> + How to connect to Informix (5)
-> + long filenames in Berkeley XML... (3)
-> + Opening multiple documents = m... (3)
-> + MySQL Connectivity (2)
-> + using .xsd to create forms (3)
-> + Convert-to-XML Engine could no... (2)
-> + editor questions (2)
-> + Cannot connect to SQL server (7)
-> + Convert Cobol file to XML (2)
-> + XML Diff problem (4)
-> + running XSLT - time + memory m... (7)
-> + New wsdl creation (4)
-> + DB to XML Parameters (2)
-> + Help (html in xml) need to out... (8)
-> + Stylesheet questions (2)
-> + Verion 1.0 XPATH for testing "... (5)
-> + Berkely XML DB file system (2)
-> + WYSIWYG in 2007 demo (2)
-> + EDIFACT code list problem (3)
-> + XQuery over a Berkeley XML DB ... (3)
-> + Href and display linked ref. (2)
-> + How my applications can gener... (11)
-> + CLASSPATH (2)
-> + Fixed order of attributes (2)
-> + merging XML files (13)
-> - The Struzzo.exe hung with no G... (1)
-> + Problem Registering Old Versio... (4)
-> + CHART.XML + CHART.XSL to CHART... (17)
-> + Aplication not loading (6)
-> + Can Stylus Studio be used to s... (2)
-> + Dynamic SVG (2)
-> + How to get Stylus Studio's pre... (3)
-> + XSL & RDBXML : Retrieving mos... (4)
-> + Please Help! Converting CSV t... (8)
-> + Converting a directory of text... (2)
-> + How to use Bookmarks in XSD ? (2)
-> + any feature to create a Flatte... (4)
-> + 3d Pie Chart using SVG (4)
-> + creating mulitple PDF reports (2)
-> + Error previewing xsl:fo (7)
-> + Strip whitespace on saving (3)
-> + BUG in processing time (2)
-> + Stylus Studio fails to load (7)
-> + xsl by supplying source and ta... (2)
-> + Out of memory, when I add a da... (2)
-> + use Http Post insead of GET on... (2)
-> + EDIFACT to XML (2)
-> + Cannot find base type and Cann... (9)
-> + Connect via Certification (2)
-> + XML to PDF on the fly (11)
-> + XSL to HTML and PDF (3)
-> + [XSLT Recursive Template]: Add... (2)
-> + Undo for XSLT WYSIWYG (2)
-> + invalid key when trying to ins... (8)
-> + Design XSLT on XML directly fr... (2)
-> + Adding an Entity Reference to ... (2)
-> + SS & SS Help (5)
-> + upgrading to 2007 (2)
-> + DB to XML Connection Failure (12)
-> + java.lang.OutOfMemoryError: Ja... (3)
-> + EDI to XML - any way to relax ... (4)
-> + convert Date to DateTime in XQ... (6)
-> + Validation error using Include... (2)
-> + DB-to-XML can only get one row... (6)
-> + Bug- Display of Redefined sche... (2)
-> + A question about processing in... (2)
-- Previous [1681-1700] [1701-1720] [1721-1740] Next
+ Website Feedback (244)
+ XSLT Help and Discussion (7514)
+ XQuery Help and Discussion (1892)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (361)
+ Stylus Studio Announcements (113)
Topic  
Postnext
Alan HarbaughSubject: Stylus adds whitespace where Xalan does not
Author: Alan Harbaugh
Date: 09 Nov 2000 10:49 AM
Hi,
Our stylesheets use the simplified stylesheet design pattern (Literal Result Element As Stylesheet.104).

In our stylesheet, we have graphics aligned using tables, like this:

<TD vAlign="bottom">
<img height="12" alt="" width="12" src="minitb_roundbottom.gif"/></TD>

Note that the close TD (</TD>) is on the same line as the image in order to prevent a newline whitespace from being added to the cell. Whent the stylesheet is processed by Xalan, this structure is preserved.

When Stylus processes the stylesheet it is
rendered like this:

<TD vAlign="bottom">
<img height="12" alt="" width="12" src="roundbottom.gif">
<TD>

Which adds the extra space, causing all kinds of grief.

So I guess the question is.. who is rendering correctly according to the W3C standard? If Stylus is rendering correctly,
then how can I force it to preserve the stylesheet whitespace/formatting?

For the time being we are committed to using Xalan in production, so we need an editor that either uses Xalan (preferable) or conforms to the same standard that Xalan supposedly conforms to.

Thanks in advance!

Posttop
(Deleted User) Subject: Stylus adds whitespace where Xalan does not
Author: (Deleted User)
Date: 14 Nov 2000 11:59 AM
Try adding to your stylesheet the following line:

<xsl:output method="html" indent="no"/>

Alex Lloyd
eXcelon corp.

   
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.