Click here to Skip to main content
16,007,885 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralOutputting a !DOCTYPE declaration from an XSL stylesheet Pin
Domenic Denicola3-May-02 4:23
Domenic Denicola3-May-02 4:23 
GeneralRe: Outputting a !DOCTYPE declaration from an XSL stylesheet Pin
Michael A. Barnhart3-May-02 15:20
Michael A. Barnhart3-May-02 15:20 
GeneralRe: Outputting a !DOCTYPE declaration from an XSL stylesheet Pin
Domenic Denicola4-May-02 17:06
Domenic Denicola4-May-02 17:06 
GeneralRe: Outputting a !DOCTYPE declaration from an XSL stylesheet Pin
Erik Westermann4-May-02 19:55
professionalErik Westermann4-May-02 19:55 
GeneralRe: Outputting a !DOCTYPE declaration from an XSL stylesheet Pin
Domenic Denicola5-May-02 6:27
Domenic Denicola5-May-02 6:27 
GeneralRe: Outputting a !DOCTYPE declaration from an XSL stylesheet Pin
Erik Westermann5-May-02 7:38
professionalErik Westermann5-May-02 7:38 
GeneralRe: Outputting a !DOCTYPE declaration from an XSL stylesheet Pin
Domenic Denicola5-May-02 11:31
Domenic Denicola5-May-02 11:31 
GeneralRe: Outputting a !DOCTYPE declaration from an XSL stylesheet Pin
Michael A. Barnhart5-May-02 2:56
Michael A. Barnhart5-May-02 2:56 
The problem is your commented out line was being taken as instructions to the transformation processor not as output. Try Essam's suggestion as it is the simplest. And drop a message back. My concern is it may stay as the encoded text in the output. But just because I have never done it that way so what. You may need to force this line to be text output. Look at the processing instruction:
<xsl:text>Most any data here.
There are limits to this also but it is what I have used most often. I also use the output instructions to not have any text output that is not explicit such as this line:
<xsl:output method="text" encoding="utf-8" media-type="model/vrml" indent="no" cdata-section-elements="Script">

I do this so as to not pickup extra linefeeds etc.


To be conscious that you are ignorant of the facts is a great step towards Knowledge. Benjamin Disraeli
GeneralRe: Outputting a !DOCTYPE declaration from an XSL stylesheet Pin
Domenic Denicola5-May-02 6:24
Domenic Denicola5-May-02 6:24 
GeneralRe: Outputting a !DOCTYPE declaration from an XSL stylesheet Pin
Michael A. Barnhart5-May-02 8:47
Michael A. Barnhart5-May-02 8:47 
GeneralRe: Outputting a !DOCTYPE declaration from an XSL stylesheet Pin
Domenic Denicola5-May-02 11:29
Domenic Denicola5-May-02 11:29 
GeneralRe: Outputting a !DOCTYPE declaration from an XSL stylesheet Pin
Michael A. Barnhart5-May-02 12:59
Michael A. Barnhart5-May-02 12:59 
GeneralRe: Outputting a !DOCTYPE declaration from an XSL stylesheet Pin
Domenic Denicola5-May-02 15:16
Domenic Denicola5-May-02 15:16 
GeneralRe: Outputting a !DOCTYPE declaration from an XSL stylesheet Pin
Michael A. Barnhart6-May-02 0:45
Michael A. Barnhart6-May-02 0:45 
GeneralRe: Outputting a !DOCTYPE declaration from an XSL stylesheet Pin
Domenic Denicola8-May-02 12:22
Domenic Denicola8-May-02 12:22 
GeneralRe: Outputting a !DOCTYPE declaration from an XSL stylesheet Pin
Paul Watson9-May-02 0:06
sitebuilderPaul Watson9-May-02 0:06 
GeneralRe: Outputting a !DOCTYPE declaration from an XSL stylesheet Pin
Michael A. Barnhart9-May-02 0:46
Michael A. Barnhart9-May-02 0:46 
GeneralRe: Outputting a !DOCTYPE declaration from an XSL stylesheet Pin
Paul Watson9-May-02 6:14
sitebuilderPaul Watson9-May-02 6:14 
GeneralRe: Outputting a !DOCTYPE declaration from an XSL stylesheet Pin
Domenic Denicola10-May-02 3:59
Domenic Denicola10-May-02 3:59 
GeneralRe: Outputting a !DOCTYPE declaration from an XSL stylesheet Pin
Domenic Denicola10-May-02 4:08
Domenic Denicola10-May-02 4:08 
GeneralRe: Outputting a !DOCTYPE declaration from an XSL stylesheet (pantyshos Pin
Paul Watson12-May-02 23:24
sitebuilderPaul Watson12-May-02 23:24 
GeneralMicrosoft Sharepoint Portal Pin
tho28-Apr-02 15:45
tho28-Apr-02 15:45 
GeneralRe: Microsoft Sharepoint Portal Pin
MS le Roux28-Apr-02 20:26
MS le Roux28-Apr-02 20:26 
GeneralRe: Microsoft Sharepoint Portal Pin
tho29-Apr-02 1:20
tho29-Apr-02 1:20 
GeneralRe: Microsoft Sharepoint Portal Pin
MS le Roux29-Apr-02 2:00
MS le Roux29-Apr-02 2:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.