Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Transformar XML con XSLT para obtener HTML

From: "Joe Fawcett" <joefawcett@---------.------>
To: NULL
Date: 11/15/2008 10:29:00 AM

"Óscar Álvarez Urueña" <dadad22@h...> wrote in message 
news:gfkkts$85b$1@h......
> Buenos días:
>
>    Es la primera vez que escribo en este grupo de noticias, por lo que
> espero no equivocarme de lugar.
>
>    Tengo un problema a la hora de realizar una transformación de un XML 
> con
> un XSLT. El fichero XSLT es fijo, pero el XML no se encuentra en ningun
> fichero físico, está dentro de un objeto XMLDocument. De alguna forma,
> necesitaría poder transformar los datos del objeto XMLDocument con el XSLT
> para obtener el HTML correspondiente, pero obtenerlo como String, o como 
> un
> objeto que pueda tratar como cadenas de texto sin tener qeu generar un
> fichero físico .HTML con el resultado.
>
>    Esto lo he intentado en múltiples ocasiones, pero en todos los ejemplos
> que he encontrado por internet, no usan la salida HTML como texto, sino 
> que
> directamente lo exportan a un fichero físico, y la transformación la
> realizan a través de un fichero físico que contiene el contenido del XML,
> pero no a través de otros objetos.
>
>    ¿Alguien puede ayudarme?.
>
> Muchas gracias
>
>

XslCompiledTransform.Transform() tiene una serie de sobrecargas (overloads). 
Usted podrá dar salida a un arroyo que puede permanecer en memeory, escrito 
en el disco duro o se utilizan como la salida en una página ASP.NET. ¿Qué 
estás tratando de hacer?

Perdona mi español, quizá intentar publicar en microsoft.public.es.xml
-- 

Joe Fawcett (MVP - XML)
http://joe.fawcett.name 



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent