Subject: RE: [xsl] <XSL:OUTPUT METHOD> From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Tue, 24 Apr 2001 09:05:43 +0100 |
> What are the advantages declaring the output method (i.e > txt,html,xml)? The simple answer is that the serializer behaves differently in the three cases. It's probably a good idea to declare the output method even if you want the default. This is because the default (HTML if the first element output is <html>, XML otherwise) is data-dependent, and it makes things easier for the XSLT processor if it knows the output method in advance. For example, processing instructions that are output before the first element start tag can't be serialized until the processor knows whether XML or HTML output is required, because the format is different in the two cases. Mike Kay Software AG XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] <XSL:OUTPUT METHOD>, David Carlisle | Thread | Re: [xsl] <XSL:OUTPUT METHOD>, Dan Diebolt |
Re: [xsl] multiple XML input and ou, Eric van der Vlist | Date | RE: [xsl] Ampersand for URLs, Michael Kay |
Month |