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.
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.
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.