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 (1192)
- Stylus Studio Technical Forum (14621)
-> - Stylus Studio - Registrar en o... (1)
-> + Stylus Studio - Registrar en o... (2)
-> + Can a pipeline send a file by ... (2)
-> + After Updateing WIN10 to WIN11... (12)
-> + Where do I add the custom java... (3)
-> + Where is the Diagram tab? (5)
-> + Applying XSLT to Word DOCX/XML (2)
-> - CSV conversion via ConvertToXM... (1)
-> + Text symbols in SS not same as... (4)
-> + Exposing xquery as webservice ... (6)
-> + Syntax Identifier (2)
-> + Saving a Converted XML as an X... (5)
-> + Output document cannot be pars... (4)
-> - Archiving output from conversi... (1)
-> + EDIFACT guideline from Stylus ... (3)
-> + CSV file putting all the data ... (5)
-> + Can't install Home version 64b... (5)
-> + presale - Can I covers this sc... (5)
-> + Problem with UNB (5)
-> + Splitting EDIFACT files pipeli... (4)
-- [1-20] [21-40] [41-60] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Topic  
Postnext
Daniel MettlerSubject: nonbreakingspace-bug in stylus?
Author: Daniel Mettler
Date: 21 Jan 2000 10:06 AM
hi,

i have a question about saving xsl-files in stylus:

i wrote a xsl-file containing some encoded nonbreaking-space characters (ampersand square 160 comma-point). when i reopen the file, stylus replaced each occurrence with a question-mark ('?'). is this a bug? do you know a work-around?

another question: can i have stylus not to change the formatting of my xsl-code when saving files?

thanks

dan

Postnext
(Deleted User) Subject: nonbreakingspace-bug in stylus?
Author: (Deleted User)
Date: 21 Jan 2000 10:26 AM
I need a bit more information.

1) What version of Stylus (see Help | About) are you running?

2) I'm not clear exactly what steps you performed. You have " " (ampersand-pound-160-semicolon) in an XSL template, and when you save the stylesheet and reload it, the template contains a '?' instead?

3) What stylesheet formatting are you referring to? Do you mean Stylus's adding the two default templates?

--Alex

Postnext
Daniel MettlerSubject: nonbreakingspace-bug in stylus?
Author: Daniel Mettler
Date: 21 Jan 2000 11:12 AM
hi alex,

On 1/21/00 10:26:17 AM, alloyd wrote:
>1) What version of Stylus (see
>Help | About) are you running?

(excelon server 2.0)
stylus 1.0 (1.03.01)

>2) I'm not clear exactly what
>steps you performed. You have
>" "
>(ampersand-pound-160-semicolon
>) in an XSL template, and when
>you save the stylesheet and
>reload it, the template
>contains a '?' instead?

exactly. i do not use any entities, just the above to insert a nbsp into my html-output...

>3) What stylesheet formatting
>are you referring to? Do you
>mean Stylus's adding the two
>default templates?

no, i meant the formatting of the xsl-code i wrote. if i save a xsl-file and reopen it, stylus adds new linebreaks between normal xsl-tag-areas and comment-tag-areas, confusing me and my code a bit ;-). this seems to happen not with all comments.

e.g. (ignore \)
\ \<\!-- optional --\>

gets

\

\<\!-- optional --\>

i would appreciate if stylus would not format the code, just highlight etc..

kind regards

da

Posttop
(Deleted User) Subject: nonbreakingspace-bug in stylus?
Author: (Deleted User)
Date: 21 Jan 2000 11:59 AM
Regarding Stylus' reformatting your stylesheet:
It is a known Stylus issue that extra line breaks are added between top-level stylesheet elements and comments.

Regarding your &#160; problem:
I'm unable to reproduce it with Stylus 1.03.01. Can you email me the styleshet you're starting with and exact steps? Thanks.

--Alex (alloyd@odi.com)

   
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.