Subject: Re: [xsl] How to read the encoding of an XML document From: James Garriss <jpgarriss@xxxxxxxx> Date: Thu, 25 Oct 2001 09:44:12 -0400 |
What XSL do I use to read the value of the encoding attribute?
You can't. It's not an attribute. (And it's not in a processing instruction. It's in the XML declaration, which is formally not part of the document, but only helps the parser know what to expect.)
Why do you want to know the encoding? Someone might have another approach to the problem.
< HEAD > < META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" > < /HEAD >
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How to read the encoding , Wendell Piez | Thread | RE: [xsl] How to read the encoding , Michael Kay |
Re: [xsl] escaping from CDATA, David Carlisle | Date | Re: [xsl] escaping from CDATA, Johannes Döbler |
Month |