From bogus@does.not.exist.com Mon Feb 2 02:25:02 2009 From: bogus@does.not.exist.com (Sorin Ristache) Date: Mon, 02 Feb 2009 10:25:02 +0200 Subject: [oXygen-user] switch off: auto self-standing tag function In-Reply-To: <314628ab0901311454t60942e0aoee6e3d7e9150b06e@mail.gmail.com> References: <314628ab0901311454t60942e0aoee6e3d7e9150b06e@mail.gmail.com> Message-ID: <4986ADDE.4070807@oxygenxml.com> Hello Tak, The XSLT processor generates some HTML tags like SCRIPT and BR as auto-closing tag () depending on the output method of the transformation. For the HTML output method it generates open tag + close tag so that the tags are accepted by Web browsers. But the default method is XML which means auto-closing tag. Please add the following instruction at the beginning of your XSLT stylesheet: Regards, Sorin Takako Kato wrote: > Dear list, > In my xsl, in my header, I have a link to java script file, which > cannot be a self-standing tag: > > > > Every time I transform a xml file, however, the Oxygen automatically > change the above link into: > > ) depending on the output method of the > transformation. For the HTML output method it generates open tag + close tag > so that the tags are accepted by Web browsers. But the default method is XML > which means auto-closing tag. Please add the following instruction at the > beginning of your XSLT stylesheet: > > > > > Regards, > Sorin > > > Takako Kato wrote: >> >> Dear list, >> In my xsl, in my header, I have a link to java script file, which >> cannot be a self-standing tag: >> >> >> >> Every time I transform a xml file, however, the Oxygen automatically >> change the above link into: >> >>