X S L T Juan Carlos Alonso Tecnet Consultores. Para que sirve XSLT ? Documentos XSLT (Extensible...
-
Upload
ynes-rayas -
Category
Documents
-
view
11 -
download
1
Transcript of X S L T Juan Carlos Alonso Tecnet Consultores. Para que sirve XSLT ? Documentos XSLT (Extensible...
![Page 1: X S L T Juan Carlos Alonso Tecnet Consultores. Para que sirve XSLT ? Documentos XSLT (Extensible Stylesheet Transformations) es tecnología para procesar.](https://reader036.fdocuments.mx/reader036/viewer/2022062511/54f56cae4a7959c9338b4c26/html5/thumbnails/1.jpg)
X S L T
Juan Carlos Alonso
Tecnet Consultores
![Page 2: X S L T Juan Carlos Alonso Tecnet Consultores. Para que sirve XSLT ? Documentos XSLT (Extensible Stylesheet Transformations) es tecnología para procesar.](https://reader036.fdocuments.mx/reader036/viewer/2022062511/54f56cae4a7959c9338b4c26/html5/thumbnails/2.jpg)
Para que sirve XSLT ?
Documentos XSLT (Extensible Stylesheet Transformations) es tecnología para procesar documentos XML
Herramienta de traduccion XML -> HTML, WAP, PDF, Audio…
XSLT = conversión de datos entre aplicaciones
![Page 3: X S L T Juan Carlos Alonso Tecnet Consultores. Para que sirve XSLT ? Documentos XSLT (Extensible Stylesheet Transformations) es tecnología para procesar.](https://reader036.fdocuments.mx/reader036/viewer/2022062511/54f56cae4a7959c9338b4c26/html5/thumbnails/3.jpg)
Para que sirve XSLT ?
Es un lenguaje para Es un lenguaje para transformar la estructuratransformar la estructurade un documento XMLde un documento XML
![Page 4: X S L T Juan Carlos Alonso Tecnet Consultores. Para que sirve XSLT ? Documentos XSLT (Extensible Stylesheet Transformations) es tecnología para procesar.](https://reader036.fdocuments.mx/reader036/viewer/2022062511/54f56cae4a7959c9338b4c26/html5/thumbnails/4.jpg)
Transformación XSLT
Transformacion estructural
Formato (pdf, html, etc.)
![Page 5: X S L T Juan Carlos Alonso Tecnet Consultores. Para que sirve XSLT ? Documentos XSLT (Extensible Stylesheet Transformations) es tecnología para procesar.](https://reader036.fdocuments.mx/reader036/viewer/2022062511/54f56cae4a7959c9338b4c26/html5/thumbnails/5.jpg)
Transformación XSTL …
Transformacion estructural
Los datos son convertidos de la estrucutra de entrada (xml) a una estructura que refleje la salida deseada
![Page 6: X S L T Juan Carlos Alonso Tecnet Consultores. Para que sirve XSLT ? Documentos XSLT (Extensible Stylesheet Transformations) es tecnología para procesar.](https://reader036.fdocuments.mx/reader036/viewer/2022062511/54f56cae4a7959c9338b4c26/html5/thumbnails/6.jpg)
Transformación XSTL …
Formato (pdf, html, etc.)
La salida de datos, generados por la nueva estructura se entrega en el formato requerido (PDF, HTML,coma-delimitado)
![Page 7: X S L T Juan Carlos Alonso Tecnet Consultores. Para que sirve XSLT ? Documentos XSLT (Extensible Stylesheet Transformations) es tecnología para procesar.](https://reader036.fdocuments.mx/reader036/viewer/2022062511/54f56cae4a7959c9338b4c26/html5/thumbnails/7.jpg)
tabla.xsl
barra.xsl
arte.xsl
![Page 8: X S L T Juan Carlos Alonso Tecnet Consultores. Para que sirve XSLT ? Documentos XSLT (Extensible Stylesheet Transformations) es tecnología para procesar.](https://reader036.fdocuments.mx/reader036/viewer/2022062511/54f56cae4a7959c9338b4c26/html5/thumbnails/8.jpg)
nokia.xslsony.xsl
ie5.xslie4.xslnav3.xsl
edi_x.xslsap_y.xslflat_z.xsl
![Page 9: X S L T Juan Carlos Alonso Tecnet Consultores. Para que sirve XSLT ? Documentos XSLT (Extensible Stylesheet Transformations) es tecnología para procesar.](https://reader036.fdocuments.mx/reader036/viewer/2022062511/54f56cae4a7959c9338b4c26/html5/thumbnails/9.jpg)
XSLT – Documento XML
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet type="text/xsl" href="hola.xsl"?><saludo>Hola, mundo!</saludo>
![Page 10: X S L T Juan Carlos Alonso Tecnet Consultores. Para que sirve XSLT ? Documentos XSLT (Extensible Stylesheet Transformations) es tecnología para procesar.](https://reader036.fdocuments.mx/reader036/viewer/2022062511/54f56cae4a7959c9338b4c26/html5/thumbnails/10.jpg)
XSLT – Hoja de Estilo
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head><title>Un Saludo</title></head>
<body>
<p><font color="red“ face=“arial”><strong>
<xsl:value-of select="saludo"/>
</strong></font></p>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
![Page 11: X S L T Juan Carlos Alonso Tecnet Consultores. Para que sirve XSLT ? Documentos XSLT (Extensible Stylesheet Transformations) es tecnología para procesar.](https://reader036.fdocuments.mx/reader036/viewer/2022062511/54f56cae4a7959c9338b4c26/html5/thumbnails/11.jpg)
Procesadores XSLT
Aplicación de una hoja de estilo a una fuente XML para producir una salida
MSXML3 SP4 (Internet Explorer) http://www.microsoft.com/xml
Saxonhttp://users.iclway.co.uk/mhkay/saxon/
Xalanhttp://xml.apache.org/xalan/overview.html