Subject: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.
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).
Subject: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