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
Alain PeharpreSubject: How to avoid when XSL saved
Author: Alain Peharpre
Date: 21 Aug 2001 08:43 AM
When I edit a XSL file,
the first line is always the following :


This line is badly interpreted by Silverstream ePortal 2.2.1
So I need each time after the save to edit the file with a common text editor and delete this line.

I don't find a way to avoid this line to be added by eXcelon.

Have someone a way to avoid this ???

Thank's,
Alain.
email : alain_peharpre@dmr.ca

Postnext
Minollo I.Subject: Re: How to avoid when XSL saved
Author: Minollo I.
Date: 21 Aug 2001 08:51 AM

>When I edit a XSL file,
>the first line is always the following :
>
>
>This line is badly interpreted by Silverstream ePortal 2.2.1
>So I need each time after the save to edit the file with a common text
>editor and delete this line.
>
>I don't find a way to avoid this line to be added by eXcelon.
>
>Have someone a way to avoid this ???

No, there is no way to avoid this; an XSLT stylesheet is an XML document,
so the XML PI at the top is by all means "legal". And the XML PI may
contain precious information about the encoding used to save the stylesheet.

It is really bad that an XML/XSLT product gets confused by the leading PI
in an XSLT stylesheet; I would consider this a major annoyance in the
ePortal product you are using rather than an issue with Stylus Studio.
Anyway, I'm filing a PCR to have an option in Stylus Studio to skip the
creation of the XML PI when saving an XSLT stylesheet in utf-8 encoding
(which is the default when no other information is entered in the XML PI).

Minollo

Postnext
Ben HallSubject: RE: How to avoid when XSL saved
Author: Ben Hall
Date: 21 Aug 2001 09:02 AM
If it is the output that you want to supress the PI
from you can add the following to your stylesheet omit-xml-declaration="yes" method="xml"/>

If you want to supress in the actual stylesheet... well good luck. Since
that declaration is part of what makes XML well-formed and XSL must be
well-formed XML Silverstrearm is the problem and not your stylesheet.

--Ben

-----Original Message-----
From: stylus-studio-tech Listmanager
[mailto:listmanager@exceloncorp.com]
Sent: Tuesday, August 21, 2001 8:50 AM
To: Recipients of 'stylus-studio-tech' suppressed
Subject: How to avoid when XSL saved


From: "Alain Peharpre"

When I edit a XSL file,
the first line is always the following :


This line is badly interpreted by Silverstream ePortal 2.2.1
So I need each time after the save to edit the file with a common text
editor and delete this line.

I don't find a way to avoid this line to be added by eXcelon.

Have someone a way to avoid this ???

Thank's,
Alain.
email : alain_peharpre@dmr.ca



To reply: mailto:stylus-studio-tech.3436@edn.exceloncorp.com
To start a new topic: mailto:stylus-studio-tech@edn.exceloncorp.com
To login: http://edn.exceloncorp.com/~SSDN

Posttop
Alain PeharpreSubject: How to avoid when XSL saved
Author: Alain Peharpre
Date: 21 Aug 2001 10:16 AM
Thank's for you answers.
I will check with Silverstream.
But for you information, I don't have this problem with another XML editor, XML Spy.

 
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.