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
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Saun ShewanownSubject: Various problems with XSLT WYSIWYG.
Author: Saun Shewanown
Date: 10 Jul 2004 08:24 PM
Hi,

I am using Stylus Studio version 5.3, build 179g and Windows XP Home edition. I have frequently encountered various problems with XSLT WYSIWYG.

1) Stylus Studio crashes during various operations seeming randomly.
2) The some selected features in Properties are ignored.
3) The tables in WYSIWYG windows are distorted. (e.g., a the rows are gray, as the result, the selected XML elements and choose glyph are not visible in the rows are not visible, b) a row is not visible at all.) While the WYSIWYG content is distorted, the output seems to be fine. Please see the attached file for example of this problem.

Please let me know how to resolve the above problems.

Thank you very much.

Saun


ImageDistortedWYSIWYG.gif
Examples of distorted tables in WYSIWYG

Postnext
Minollo I.Subject: Re: Various problems with XSLT WYSIWYG.
Author: Minollo I.
Date: 10 Jul 2004 11:19 PM
Can you send us (to my email address if you prefer) the XSLT and XML files
you are using? From your crash reports it looks like something is making
wysiwyg very unhappy.

Thanks,
Minollo

Postnext
Saun ShewanownSubject: Re: Various problems with XSLT WYSIWYG.
Author: Saun Shewanown
Date: 11 Jul 2004 12:12 AM
Thank you Minollo,

The files are on the way via e-mail attachemnt.

Saun

Posttop
Minollo I.Subject: Re: Various problems with XSLT WYSIWYG.
Author: Minollo I.
Date: 11 Jul 2004 09:57 PM
Originally Posted: 11 Jul 2004 09:54 PM
Thanks for the files.

We have been unable to reproduce the crashes; we are investigating further
your reports. Also, about non-sticking properties we'll need some example.

About the problem with tables: what you are seeing is the expected behavior
(at least for the first table; the second one looks weirdly short).

You have several tables built looping with xsl:for-each on elements (and
that's represented by the left-most marker in wysiwyg) with an xsl:if
condition (which is represented by the bar to the right of the xsl:for-each
marker in wysiwyg).

WYWSIWYG is built by the interpretation of a partial processing of the
stylesheet; in the case of xsl:for-each instructions, not all possible
iterations are explored in a single rendering in WYSIWYG; in your case the
xsl:if conditions are not satisfied by the chosen element of the for-each
repetition; and that's why they are displayed as a simple vertical bar and
the table content is grayed out. Of course you can force WYSIWYG to choose
an execution path that "activates" an if condition. In the case of xsl:if
built on table rows (as most of yours are), you should select the xsl:if
vertical bar to the left of the grayed table, and select WYSWIWYG |
Conditional Processing (Table Row/List Item) | Activate If. Doing so
WYWISYG will be recomputed choosing an XSLT execution branch which does
activate the selected xsl:if. The same kind of behavior is true for any
xsl:if instruction you may have in your stylesheet, no matter how deeply
nested.

Hope this helps,
Minollo

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
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-2016 All Rights Reserved.