Article View: chile.comp.programacion
Article #1624Duda con XSLT
From: sigfridelunico
Date: Tue, 18 Jul 2006 21:40
Date: Tue, 18 Jul 2006 21:40
35 lines
2064 bytes
2064 bytes
Tengo el siguiente problema:
Input:
<response>
<RecordSet>
</RecordSet>
</response>
Xslt:
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output indent="yes" encoding="ISO-8859-1"/>
<xsl:template match="/">
<response>
<xsl:for-each select="response/RecordSet">
<RecordSet>
<xsl:copy-of select="Record"/>
</RecordSet>
</xsl:for-each>
</response>
</xsl:template>
</xsl:stylesheet>
Output:
<?xml version="1.0" encoding="UTF-16"?>
<response>
<RecordSet>
</RecordSet>
</response>
**********************************
Si se fijan en el encabezado xml de la salida, figura como
codificación "UTF-16" y no "ISO-8859-1" como le indico a la salida en
el Xslt. Estoy utilizando MSXML 4.0, a través de Delphi ¿alguien ha
tenido este problemilla y lo ha solucionado? agradecido de vuestras
respuestas, gracias.
Technical Details
Message-ID:
<1153258815.499570.152660@b28g2000cwb.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!b28g2000cwb.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,3b904c28fe85d18f,start X-Google-Attributes: gid1593cb,public X-Google-Language: SPANISH,ASCII Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!b28g2000cwb.googlegroups.com!not-for-mail From: "sigfridelunico@yahoo.com" <sigfridelunico@yahoo.com> Newsgroups: chile.comp.programacion Subject: Duda con XSLT Date: 18 Jul 2006 14:40:15 -0700 Organization: http://groups.google.com Lines: 36 Message-ID: <1153258815.499570.152660@b28g2000cwb.googlegroups.com> NNTP-Posting-Host: 164.77.255.200 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1153258820 3107 127.0.0.1 (18 Jul 2006 21:40:20 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 18 Jul 2006 21:40:20 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: b28g2000cwb.googlegroups.com; posting-host=164.77.255.200; posting-account=DkQVCgwAAACpYb2TXp-vwPk-CZFRXMPm