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 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Thomas F.Subject: Templates and WYSIWYG
Author: Thomas F.
Date: 26 Sep 2003 12:17 PM
Hi there,

i'm running the evaluation version 5.0 Build 127b and i have the following problem:
I try to format XML-Data like in the attached sample. If i run this it works fine. But when i change from source-view to WYSIWYG and back then in the template "SampleListLine" is changed from:

< xsl:template name="SampleListLine">
< tr>
< td>
< xsl:value-of select="ItemNo"/>
< /td>
< td>
< xsl:value-of select="ItemName"/>
< /td>
< /tr>
< /xsl:template>

to:

< xsl:template name="SampleListLine">
< tr>
< td>
< xsl:value-of select="SampleList/SampleItem/ItemNo"/>
< /td>
< td>
< xsl:value-of select="SampleList/SampleItem/ItemName"/>
< /td>
< /tr>
< /xsl:template>

so it doesn't work any more because it is in the wrong context.

When i try to change to WYSIWYG after this, Stylus crashes.

What is wrong ????


ApplicationSampleList.xsl
Stylesheet

ApplicationSample1.xml
XML-Data

Postnext
Minollo I.Subject: Re: Templates and WYSIWYG
Author: Minollo I.
Date: 30 Sep 2003 12:13 PM
This problem is fixed in the latest 5.0 update, available from:
http://www.stylusstudio.com/update (5.0 section)

Thanks!
Minollo

Postnext
Thomas F.Subject: Re: Templates and WYSIWYG
Author: Thomas F.
Date: 30 Sep 2003 07:00 PM
Yes, this problem is fixed but now it is so that when i change something in WYSIWYG (for example add a column in the table) an attribute 'select="."' is added to each call-template instruction which does not confirm to the specification. It is processed by the internal XSLT-processor but not by external processors like Xalan (C) or MSXML. Is there a way to prevent this?

Postnext
(Deleted User) Subject: RE: Templates and WYSIWYG
Author: (Deleted User)
Date: 30 Sep 2003 09:36 PM
I tried with your sample's and made changes in WYSIWYG in a few different
ways, including adding a column as you suggested, but couldn't reproduce the
behavior. does this happens determinately to you? what about removing the
select=.' in the source and switch to WYSIWYG, do they come back when you
make changes and switch back?

thanks.

song.


> -----Original Message-----
> From: stylus-studio-xslt Listmanager [mailto:listmanager@edn.exln.com]
> Sent: Tuesday, September 30, 2003 7:24 PM
> To: Recipients of 'stylus-studio-xslt' suppressed
> Subject: Re: Templates and WYSIWYG
>
>
> From: "X 112"
>
> Yes, this problem is fixed but now it is so that when i change
> something in WYSIWYG (for example add a column in the table) an
> attribute 'select="."' is added to each call-template instruction
> which does not confirm to the specification. It is processed by
> the internal XSLT-processor but not by external processors like
> Xalan (C) or MSXML. Is there a way to prevent this?
>
>
>
> To reply: mailto:stylus-studio-xslt.7041@edn.exln.com
> To start a new topic: mailto:stylus-studio-xslt@edn.exln.com
> To login: http://edn.exln.com/~SSDN
>

Postnext
Thomas F.Subject: RE: Templates and WYSIWYG
Author: Thomas F.
Date: 01 Oct 2003 05:10 AM
hi song,

i made a few tests concerning this and i found out that this happens when i run preview from WYSIWYG view. it can be easyly reproduced even without making any changes:

- load the documents
- change to WYSIWYG
- run preview
- change to source
- change to WYSIWYG and back to source again

sometimes it occours after the first change from WYSIWYG to source and sometimes after the second change.

thanks for help

thomas

Posttop
(Deleted User) Subject: RE: Templates and WYSIWYG
Author: (Deleted User)
Date: 01 Oct 2003 08:41 AM
thank you for the steps provided to reproduce the problem, we have found the
problem and fixed it. the update package should be avalaible soon.

song.

> -----Original Message-----
> From: stylus-studio-xslt Listmanager [mailto:listmanager@edn.exln.com]
> Sent: Wednesday, October 01, 2003 5:34 AM
> To: Recipients of 'stylus-studio-xslt' suppressed
> Subject: RE: Templates and WYSIWYG
>
>
> From: "X 112"
>
> hi song,
>
> i made a few tests concerning this and i found out that this
> happens when i run preview from WYSIWYG view. it can be easyly
> reproduced even without making any changes:
>
> - load the documents
> - change to WYSIWYG
> - run preview
> - change to source
> - change to WYSIWYG and back to source again
>
> sometimes it occours after the first change from WYSIWYG to
> source and sometimes after the second change.
>
> thanks for help
>
> thomas
>
>
>
> To reply: mailto:stylus-studio-xslt.7043@edn.exln.com
> To start a new topic: mailto:stylus-studio-xslt@edn.exln.com
> To login: http://edn.exln.com/~SSDN
>

 
Topic Page 1 2 3 4 5 6 7 8 9 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.