Re-uploaded the project in only one repository
This commit is contained in:
128
colegio_web/src/files/xslt/toExcelApoderadosMasEstudiantes.xsl
Normal file
128
colegio_web/src/files/xslt/toExcelApoderadosMasEstudiantes.xsl
Normal file
@@ -0,0 +1,128 @@
|
||||
|
||||
|
||||
<xsl:stylesheet
|
||||
version="1.0"
|
||||
xmlns="urn:schemas-microsoft-com:office:spreadsheet"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
|
||||
xmlns:user="urn:my-scripts"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||
xmlns:x="urn:schemas-microsoft-com:office:excel"
|
||||
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
|
||||
|
||||
<xsl:template match="/">
|
||||
<Workbook
|
||||
xmlns="urn:schemas-microsoft-com:office:spreadsheet"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||
xmlns:x="urn:schemas-microsoft-com:office:excel"
|
||||
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
|
||||
xmlns:html="http://www.w3.org/TR/REC-html40">
|
||||
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<Author>ed woychowsky</Author>
|
||||
<LastAuthor>Edmond Woychowsky</LastAuthor>
|
||||
<Created>2007-01-26T16:54:15Z</Created>
|
||||
<LastSaved>2007-01-27T05:18:54Z</LastSaved>
|
||||
<Company>None</Company>
|
||||
<Version>10.3501</Version>
|
||||
</DocumentProperties>
|
||||
<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<DownloadComponents/>
|
||||
<LocationOfComponents HRef="file:///D:\"/>
|
||||
</OfficeDocumentSettings>
|
||||
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<WindowHeight>8700</WindowHeight>
|
||||
<WindowWidth>11355</WindowWidth>
|
||||
<WindowTopX>480</WindowTopX>
|
||||
<WindowTopY>120</WindowTopY>
|
||||
<ProtectStructure>False</ProtectStructure>
|
||||
<ProtectWindows>False</ProtectWindows>
|
||||
</ExcelWorkbook>
|
||||
<Styles>
|
||||
<Style ss:ID="Default" ss:Name="Normal">
|
||||
<Alignment ss:Vertical="Bottom"/><Borders/><Font/><Interior/><NumberFormat/><Protection/>
|
||||
|
||||
</Style>
|
||||
</Styles>
|
||||
<Worksheet ss:Name="Test">
|
||||
<Table>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteApoderadosMasEstudiantes/apoderadosDuplicados/entry">
|
||||
<!--Apoderado-->
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Apoderado</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Rut</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Apoderado/nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Apoderado/rut"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<!--White-->
|
||||
<Row>
|
||||
<Cell></Cell>
|
||||
</Row>
|
||||
<!--Estudiantes-->
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Estudiante</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Rut</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
|
||||
<xsl:for-each select="list/Estudiante">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="rut"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
<!--White-->
|
||||
<Row>
|
||||
<Cell></Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
</Table>
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<Print>
|
||||
<ValidPrinterInfo/>
|
||||
<HorizontalResolution>600</HorizontalResolution>
|
||||
<VerticalResolution>0</VerticalResolution>
|
||||
</Print>
|
||||
<Selected/>
|
||||
<Panes>
|
||||
<Pane>
|
||||
<Number>3</Number>
|
||||
<ActiveRow>2</ActiveRow>
|
||||
</Pane>
|
||||
</Panes>
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet2">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet3">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
</Workbook>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
89
colegio_web/src/files/xslt/toExcelAsistenciaBaja.xsl
Normal file
89
colegio_web/src/files/xslt/toExcelAsistenciaBaja.xsl
Normal file
@@ -0,0 +1,89 @@
|
||||
<xsl:stylesheet version="1.0" xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="urn:my-scripts" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
|
||||
<xsl:template match="/">
|
||||
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40">
|
||||
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<Author>ed woychowsky</Author>
|
||||
<LastAuthor>Edmond Woychowsky</LastAuthor>
|
||||
<Created>2007-01-26T16:54:15Z</Created>
|
||||
<LastSaved>2007-01-27T05:18:54Z</LastSaved>
|
||||
<Company>None</Company>
|
||||
<Version>10.3501</Version>
|
||||
</DocumentProperties>
|
||||
<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<DownloadComponents/>
|
||||
<LocationOfComponents HRef="file:///D:\" />
|
||||
</OfficeDocumentSettings>
|
||||
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<WindowHeight>8700</WindowHeight>
|
||||
<WindowWidth>11355</WindowWidth>
|
||||
<WindowTopX>480</WindowTopX>
|
||||
<WindowTopY>120</WindowTopY>
|
||||
<ProtectStructure>False</ProtectStructure>
|
||||
<ProtectWindows>False</ProtectWindows>
|
||||
</ExcelWorkbook>
|
||||
<Styles>
|
||||
<Style ss:ID="Default" ss:Name="Normal">
|
||||
<Alignment ss:Vertical="Bottom"/><Borders/><Font/><Interior/><NumberFormat/><Protection/>
|
||||
|
||||
</Style>
|
||||
</Styles>
|
||||
<Worksheet ss:Name="Test">
|
||||
<Table>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Estudiante</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Rut</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Porcentaje</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="logica.reportes.ReporteAsistenciaBajo/map/Atribute">
|
||||
<!--Estudiante-->
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/rut"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">%<xsl:value-of select="PorcentajeAsistencia"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
</Table>
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<Print>
|
||||
<ValidPrinterInfo/>
|
||||
<HorizontalResolution>600</HorizontalResolution>
|
||||
<VerticalResolution>0</VerticalResolution>
|
||||
</Print>
|
||||
<Selected/>
|
||||
<Panes>
|
||||
<Pane>
|
||||
<Number>3</Number>
|
||||
<ActiveRow>2</ActiveRow>
|
||||
</Pane>
|
||||
</Panes>
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet2">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet3">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
</Workbook>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
149
colegio_web/src/files/xslt/toExcelAsistenciaYNotas.xsl
Normal file
149
colegio_web/src/files/xslt/toExcelAsistenciaYNotas.xsl
Normal file
@@ -0,0 +1,149 @@
|
||||
|
||||
|
||||
<xsl:stylesheet
|
||||
version="1.0"
|
||||
xmlns="urn:schemas-microsoft-com:office:spreadsheet"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
|
||||
xmlns:user="urn:my-scripts"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||
xmlns:x="urn:schemas-microsoft-com:office:excel"
|
||||
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
|
||||
|
||||
<xsl:template match="/">
|
||||
<Workbook
|
||||
xmlns="urn:schemas-microsoft-com:office:spreadsheet"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||
xmlns:x="urn:schemas-microsoft-com:office:excel"
|
||||
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
|
||||
xmlns:html="http://www.w3.org/TR/REC-html40">
|
||||
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<Author>ed woychowsky</Author>
|
||||
<LastAuthor>Edmond Woychowsky</LastAuthor>
|
||||
<Created>2007-01-26T16:54:15Z</Created>
|
||||
<LastSaved>2007-01-27T05:18:54Z</LastSaved>
|
||||
<Company>None</Company>
|
||||
<Version>10.3501</Version>
|
||||
</DocumentProperties>
|
||||
<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<DownloadComponents/>
|
||||
<LocationOfComponents HRef="file:///D:\"/>
|
||||
</OfficeDocumentSettings>
|
||||
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<WindowHeight>8700</WindowHeight>
|
||||
<WindowWidth>11355</WindowWidth>
|
||||
<WindowTopX>480</WindowTopX>
|
||||
<WindowTopY>120</WindowTopY>
|
||||
<ProtectStructure>False</ProtectStructure>
|
||||
<ProtectWindows>False</ProtectWindows>
|
||||
</ExcelWorkbook>
|
||||
<Styles>
|
||||
<Style ss:ID="Default" ss:Name="Normal">
|
||||
<Alignment ss:Vertical="Bottom"/><Borders/><Font/><Interior/><NumberFormat/><Protection/>
|
||||
|
||||
</Style>
|
||||
</Styles>
|
||||
<Worksheet ss:Name="Test">
|
||||
<Table>
|
||||
<!--Estudiante-->
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Estudiante</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Rut</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="logica.reportes.ReporteAsistenciaYNotas/estudiante/nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="logica.reportes.ReporteAsistenciaYNotas/estudiante/rut"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<!--White-->
|
||||
<Row>
|
||||
<Cell></Cell>
|
||||
</Row>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteAsistenciaYNotas/asistencia/Asistencia">
|
||||
<!--Lista De Asistencias-->
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Dia</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Asistio</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="dia"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">
|
||||
|
||||
<xsl:choose>
|
||||
|
||||
<xsl:when test="asistio = 'true'">Si</xsl:when>
|
||||
|
||||
<xsl:otherwise>No</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<!--White-->
|
||||
<Row>
|
||||
<Cell></Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteAsistenciaYNotas/notas/entry">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Asignatura/nombre"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
|
||||
<xsl:for-each select="list/Nota">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="valor"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</Table>
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<Print>
|
||||
<ValidPrinterInfo/>
|
||||
<HorizontalResolution>600</HorizontalResolution>
|
||||
<VerticalResolution>0</VerticalResolution>
|
||||
</Print>
|
||||
<Selected/>
|
||||
<Panes>
|
||||
<Pane>
|
||||
<Number>3</Number>
|
||||
<ActiveRow>2</ActiveRow>
|
||||
</Pane>
|
||||
</Panes>
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet2">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet3">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
</Workbook>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
90
colegio_web/src/files/xslt/toExcelNotasProfesor.xsl
Normal file
90
colegio_web/src/files/xslt/toExcelNotasProfesor.xsl
Normal file
@@ -0,0 +1,90 @@
|
||||
<xsl:stylesheet version="1.0" xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="urn:my-scripts" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
|
||||
<xsl:template match="/">
|
||||
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40">
|
||||
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<Author>ed woychowsky</Author>
|
||||
<LastAuthor>Edmond Woychowsky</LastAuthor>
|
||||
<Created>2007-01-26T16:54:15Z</Created>
|
||||
<LastSaved>2007-01-27T05:18:54Z</LastSaved>
|
||||
<Company>None</Company>
|
||||
<Version>10.3501</Version>
|
||||
</DocumentProperties>
|
||||
<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<DownloadComponents/>
|
||||
<LocationOfComponents HRef="file:///D:\" />
|
||||
</OfficeDocumentSettings>
|
||||
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<WindowHeight>8700</WindowHeight>
|
||||
<WindowWidth>11355</WindowWidth>
|
||||
<WindowTopX>480</WindowTopX>
|
||||
<WindowTopY>120</WindowTopY>
|
||||
<ProtectStructure>False</ProtectStructure>
|
||||
<ProtectWindows>False</ProtectWindows>
|
||||
</ExcelWorkbook>
|
||||
<Styles>
|
||||
<Style ss:ID="Default" ss:Name="Normal">
|
||||
<Alignment ss:Vertical="Bottom"/><Borders/><Font/><Interior/><NumberFormat/><Protection/>
|
||||
|
||||
</Style>
|
||||
</Styles>
|
||||
<Worksheet ss:Name="Test">
|
||||
<Table>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Estudiante</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Rut</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Notas</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="logica.reportes.ReporteNotasProfesor/lista/entry">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/rut"/></Data>
|
||||
</Cell>
|
||||
<xsl:for-each select="list/Nota">
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="valor"/></Data>
|
||||
</Cell>
|
||||
</xsl:for-each>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
</Table>
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<Print>
|
||||
<ValidPrinterInfo/>
|
||||
<HorizontalResolution>600</HorizontalResolution>
|
||||
<VerticalResolution>0</VerticalResolution>
|
||||
</Print>
|
||||
<Selected/>
|
||||
<Panes>
|
||||
<Pane>
|
||||
<Number>3</Number>
|
||||
<ActiveRow>2</ActiveRow>
|
||||
</Pane>
|
||||
</Panes>
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet2">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet3">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
</Workbook>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
118
colegio_web/src/files/xslt/toExcelPlanificaciones.xsl
Normal file
118
colegio_web/src/files/xslt/toExcelPlanificaciones.xsl
Normal file
@@ -0,0 +1,118 @@
|
||||
<xsl:stylesheet version="1.0" xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="urn:my-scripts" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
|
||||
<xsl:template match="/">
|
||||
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40">
|
||||
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<Author>ed woychowsky</Author>
|
||||
<LastAuthor>Edmond Woychowsky</LastAuthor>
|
||||
<Created>2007-01-26T16:54:15Z</Created>
|
||||
<LastSaved>2007-01-27T05:18:54Z</LastSaved>
|
||||
<Company>None</Company>
|
||||
<Version>10.3501</Version>
|
||||
</DocumentProperties>
|
||||
<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<DownloadComponents/>
|
||||
<LocationOfComponents HRef="file:///D:\" />
|
||||
</OfficeDocumentSettings>
|
||||
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<WindowHeight>8700</WindowHeight>
|
||||
<WindowWidth>11355</WindowWidth>
|
||||
<WindowTopX>480</WindowTopX>
|
||||
<WindowTopY>120</WindowTopY>
|
||||
<ProtectStructure>False</ProtectStructure>
|
||||
<ProtectWindows>False</ProtectWindows>
|
||||
</ExcelWorkbook>
|
||||
<Styles>
|
||||
<Style ss:ID="Default" ss:Name="Normal">
|
||||
<Alignment ss:Vertical="Bottom"/><Borders/><Font/><Interior/><NumberFormat/><Protection/>
|
||||
|
||||
</Style>
|
||||
</Styles>
|
||||
<Worksheet ss:Name="Test">
|
||||
<Table>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Estudiante</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Rut</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="logica.reportes.ReportePlanificaciones/planificaciones/entry">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/rut"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="map/entry">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Asignatura</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Asignatura/nombre"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Fecha</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Tipo</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="Actividad-array/Actividad">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="tipo"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="fecha"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
<Row>
|
||||
<Cell>
|
||||
</Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</Table>
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<Print>
|
||||
<ValidPrinterInfo/>
|
||||
<HorizontalResolution>600</HorizontalResolution>
|
||||
<VerticalResolution>0</VerticalResolution>
|
||||
</Print>
|
||||
<Selected/>
|
||||
<Panes>
|
||||
<Pane>
|
||||
<Number>3</Number>
|
||||
<ActiveRow>2</ActiveRow>
|
||||
</Pane>
|
||||
</Panes>
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet2">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet3">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
</Workbook>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
201
colegio_web/src/files/xslt/toExcelReporteGeneral.xsl
Normal file
201
colegio_web/src/files/xslt/toExcelReporteGeneral.xsl
Normal file
@@ -0,0 +1,201 @@
|
||||
<xsl:stylesheet version="1.0" xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="urn:my-scripts" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
|
||||
<xsl:template match="/">
|
||||
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40">
|
||||
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<Author>ed woychowsky</Author>
|
||||
<LastAuthor>Edmond Woychowsky</LastAuthor>
|
||||
<Created>2007-01-26T16:54:15Z</Created>
|
||||
<LastSaved>2007-01-27T05:18:54Z</LastSaved>
|
||||
<Company>None</Company>
|
||||
<Version>10.3501</Version>
|
||||
</DocumentProperties>
|
||||
<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<DownloadComponents/>
|
||||
<LocationOfComponents HRef="file:///D:\" />
|
||||
</OfficeDocumentSettings>
|
||||
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<WindowHeight>8700</WindowHeight>
|
||||
<WindowWidth>11355</WindowWidth>
|
||||
<WindowTopX>480</WindowTopX>
|
||||
<WindowTopY>120</WindowTopY>
|
||||
<ProtectStructure>False</ProtectStructure>
|
||||
<ProtectWindows>False</ProtectWindows>
|
||||
</ExcelWorkbook>
|
||||
<Styles>
|
||||
<Style ss:ID="Default" ss:Name="Normal">
|
||||
<Alignment ss:Vertical="Bottom"/><Borders/><Font/><Interior/><NumberFormat/><Protection/>
|
||||
|
||||
</Style>
|
||||
</Styles>
|
||||
<Worksheet ss:Name="Reporte General">
|
||||
<Table>
|
||||
<xsl:for-each select="map/entry">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Apoderado</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Rut</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Apoderado/nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"> <xsl:value-of select="Apoderado/rut"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Notas</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="logica.reportes.ReporteApoderado/notas/entry">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Estudiante</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Rut</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"> <xsl:value-of select="Estudiante/rut"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Asignatura</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Nota</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="Nota-array/Nota">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="asignatura__id__fk/nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="asignatura__id__fk/valor"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
<xsl:for-each select="logica.reportes.ReporteApoderado/planificaciones/entry">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Estudiante</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Rut</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"> <xsl:value-of select="Estudiante/rut"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="map/entry">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Asignatura/nombre"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Tipo</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Fecha</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="Actividad-array/Actividad">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="tipo" /></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"> <xsl:value-of select="fecha" /></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Anotaciones</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="logica.reportes.ReporteApoderado/anotaciones/entry">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Estudiante</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Nombre</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/nombre" /></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/rut" /></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Profesor</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Tipo</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Descripcion</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="Anotacion-array/Anotacion">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="profesor__id__fk/nombre" /></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:choose><xsl:when test="positiva = 'true'"> Positiva</xsl:when><xsl:otherwise>Negativa</xsl:otherwise></xsl:choose></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"> <xsl:value-of select="descripcion" /></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</Table>
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<Print>
|
||||
<ValidPrinterInfo/>
|
||||
<HorizontalResolution>600</HorizontalResolution>
|
||||
<VerticalResolution>0</VerticalResolution>
|
||||
</Print>
|
||||
<Selected/>
|
||||
<Panes>
|
||||
<Pane>
|
||||
<Number>3</Number>
|
||||
<ActiveRow>2</ActiveRow>
|
||||
</Pane>
|
||||
</Panes>
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
</Workbook>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
106
colegio_web/src/files/xslt/toExcelReprobando.xsl
Normal file
106
colegio_web/src/files/xslt/toExcelReprobando.xsl
Normal file
@@ -0,0 +1,106 @@
|
||||
|
||||
|
||||
<xsl:stylesheet
|
||||
version="1.0"
|
||||
xmlns="urn:schemas-microsoft-com:office:spreadsheet"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
|
||||
xmlns:user="urn:my-scripts"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||
xmlns:x="urn:schemas-microsoft-com:office:excel"
|
||||
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
|
||||
|
||||
<xsl:template match="/">
|
||||
<Workbook
|
||||
xmlns="urn:schemas-microsoft-com:office:spreadsheet"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||
xmlns:x="urn:schemas-microsoft-com:office:excel"
|
||||
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
|
||||
xmlns:html="http://www.w3.org/TR/REC-html40">
|
||||
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<Author>ed woychowsky</Author>
|
||||
<LastAuthor>Edmond Woychowsky</LastAuthor>
|
||||
<Created>2007-01-26T16:54:15Z</Created>
|
||||
<LastSaved>2007-01-27T05:18:54Z</LastSaved>
|
||||
<Company>None</Company>
|
||||
<Version>10.3501</Version>
|
||||
</DocumentProperties>
|
||||
<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<DownloadComponents/>
|
||||
<LocationOfComponents HRef="file:///D:\"/>
|
||||
</OfficeDocumentSettings>
|
||||
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<WindowHeight>8700</WindowHeight>
|
||||
<WindowWidth>11355</WindowWidth>
|
||||
<WindowTopX>480</WindowTopX>
|
||||
<WindowTopY>120</WindowTopY>
|
||||
<ProtectStructure>False</ProtectStructure>
|
||||
<ProtectWindows>False</ProtectWindows>
|
||||
</ExcelWorkbook>
|
||||
<Styles>
|
||||
<Style ss:ID="Default" ss:Name="Normal">
|
||||
<Alignment ss:Vertical="Bottom"/><Borders/><Font/><Interior/><NumberFormat/><Protection/>
|
||||
|
||||
</Style>
|
||||
</Styles>
|
||||
<Worksheet ss:Name="Test">
|
||||
<Table>
|
||||
<!--Estudiante-->
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Estudiante</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Rut</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Nota</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteReprobando/estudiantesRepobando/entry">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/rut"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="float"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
</Table>
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<Print>
|
||||
<ValidPrinterInfo/>
|
||||
<HorizontalResolution>600</HorizontalResolution>
|
||||
<VerticalResolution>0</VerticalResolution>
|
||||
</Print>
|
||||
<Selected/>
|
||||
<Panes>
|
||||
<Pane>
|
||||
<Number>3</Number>
|
||||
<ActiveRow>2</ActiveRow>
|
||||
</Pane>
|
||||
</Panes>
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet2">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet3">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
</Workbook>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="/">
|
||||
<html>
|
||||
|
||||
<body>
|
||||
<h2>Apoderados con mas de un estudiante</h2>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteApoderadosMasEstudiantes/apoderadosDuplicados/entry">
|
||||
<h4>Apoderado</h4>
|
||||
<hr>
|
||||
<h5>Nombre:
|
||||
|
||||
<xsl:value-of select="Apoderado/nombre"/>
|
||||
</h5>
|
||||
<h5>Rut:
|
||||
|
||||
<xsl:value-of select="Apoderado/rut"/>
|
||||
</h5>
|
||||
</hr>
|
||||
<table border="1">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Nombre</th>
|
||||
<th>Rut</th>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
<xsl:for-each select="list/Estudiante">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="nombre"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="rut"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</tr>
|
||||
</table>
|
||||
</xsl:for-each>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
36
colegio_web/src/files/xslt/toHtmlAsistenciaBaja.xsl
Normal file
36
colegio_web/src/files/xslt/toHtmlAsistenciaBaja.xsl
Normal file
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="/">
|
||||
<html>
|
||||
|
||||
<body>
|
||||
<h2>Estudiantes con baja asistencia</h2>
|
||||
<table border="1">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Nombre</th>
|
||||
<th>Rut</th>
|
||||
<th>Porcentaje asistencia</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<xsl:for-each select="logica.reportes.ReporteAsistenciaBajo/map/Atribute">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="Estudiante/nombre"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="Estudiante/rut"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="PorcentajeAsistencia"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
87
colegio_web/src/files/xslt/toHtmlAsistenciaYNotas.xsl
Normal file
87
colegio_web/src/files/xslt/toHtmlAsistenciaYNotas.xsl
Normal file
@@ -0,0 +1,87 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="/">
|
||||
<html>
|
||||
|
||||
<body>
|
||||
<!--estudiante-->
|
||||
<table border="1">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Nombre</th>
|
||||
<th>Rut</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="logica.reportes.ReporteAsistenciaYNotas/estudiante/nombre"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="logica.reportes.ReporteAsistenciaYNotas/estudiante/rut"/>
|
||||
</td>
|
||||
</tr>
|
||||
</tr>
|
||||
</table>
|
||||
<!--asistencia-->
|
||||
<table border="1">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Fecha</th>
|
||||
<th>Presente</th>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteAsistenciaYNotas/asistencia/Asistencia">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="dia"/>
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<xsl:choose>
|
||||
|
||||
<xsl:when test="asistio = 'true'">
|
||||
Si
|
||||
</xsl:when>
|
||||
|
||||
<xsl:otherwise>
|
||||
No
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</tr>
|
||||
</table>
|
||||
<!--notas-->
|
||||
<table>
|
||||
<tr>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteAsistenciaYNotas/notas/entry">
|
||||
<td>
|
||||
<table border="1">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>
|
||||
<xsl:value-of select="Asignatura/nombre"/>
|
||||
</th>
|
||||
</tr>
|
||||
|
||||
<xsl:for-each select="list/Nota">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="valor"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
</td>
|
||||
</xsl:for-each>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
46
colegio_web/src/files/xslt/toHtmlNotasProfesor.xsl
Normal file
46
colegio_web/src/files/xslt/toHtmlNotasProfesor.xsl
Normal file
@@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="/">
|
||||
<html>
|
||||
|
||||
<body>
|
||||
<h2>Notas por asignatura del profesor</h2>
|
||||
<xsl:for-each select="logica.reportes.ReporteNotasProfesor/lista/entry">
|
||||
<table border="1">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Nombre</th>
|
||||
<th>Rut</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="Estudiante/nombre"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="Estudiante/rut"/>
|
||||
</td>
|
||||
</tr>
|
||||
</tr>
|
||||
</table>
|
||||
<table border="1">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Notas</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<xsl:for-each select="list/Nota">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="valor"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</tr>
|
||||
</table>
|
||||
</xsl:for-each>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
52
colegio_web/src/files/xslt/toHtmlPlanificaciones.xsl
Normal file
52
colegio_web/src/files/xslt/toHtmlPlanificaciones.xsl
Normal file
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="/">
|
||||
<html>
|
||||
<body>
|
||||
<h2>Planificaciones</h2>
|
||||
<xsl:for-each select="logica.reportes.ReportePlanificaciones/planificaciones/entry">
|
||||
<table border="1px solid black" class="estudiante">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Estudiante</th>
|
||||
<th>Rut</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="Estudiante/nombre"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="Estudiante/rut"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<xsl:for-each select="map/entry">
|
||||
<h5>
|
||||
<xsl:value-of select="Asignatura/nombre"/>
|
||||
</h5>
|
||||
<table border="1px solid black" class="planificaciones">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Tipo</th>
|
||||
<th>Fecha</th>
|
||||
</tr>
|
||||
<xsl:for-each select="Actividad-array/Actividad">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="tipo"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="fecha"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
</xsl:for-each>
|
||||
<div style="height:25px;"></div>
|
||||
</xsl:for-each>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
160
colegio_web/src/files/xslt/toHtmlReporteGeneral.xsl
Normal file
160
colegio_web/src/files/xslt/toHtmlReporteGeneral.xsl
Normal file
@@ -0,0 +1,160 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
|
||||
|
||||
<xsl:template match="/">
|
||||
<html>
|
||||
<style>
|
||||
.separator {
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<body>
|
||||
<h2>Reporte General Apoderado</h2>
|
||||
<xsl:for-each select="map/entry">
|
||||
<div class="general">
|
||||
<table border="1px solid black" class="apoderado">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Apoderado</th>
|
||||
<th>Rut</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="Apoderado/nombre"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="Apoderado/rut"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h3>Notas</h3>
|
||||
<xsl:for-each select="logica.reportes.ReporteApoderado/notas/entry">
|
||||
<table border="1px solid black" class="estudiante">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Estudiante</th>
|
||||
<th>Rut</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="Estudiante/nombre"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="Estudiante/rut"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table border="1px solid black" class="notas">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Asignatura</th>
|
||||
<th>Nota</th>
|
||||
</tr>
|
||||
<xsl:for-each select="Nota-array/Nota">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="asignatura__id__fk/nombre"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="valor"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
</xsl:for-each>
|
||||
<h3>Planificaciones</h3>
|
||||
<xsl:for-each select="logica.reportes.ReporteApoderado/planificaciones/entry">
|
||||
<table border="1px solid black" class="estudiante">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Estudiante</th>
|
||||
<th>Rut</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="Estudiante/nombre"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="Estudiante/rut"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<xsl:for-each select="map/entry">
|
||||
<h5>
|
||||
<xsl:value-of select="Asignatura/nombre"/>
|
||||
</h5>
|
||||
<table border="1px solid black" class="planificaciones">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Tipo</th>
|
||||
<th>Fecha</th>
|
||||
</tr>
|
||||
<xsl:for-each select="Actividad-array/Actividad">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="tipo"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="fecha"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
<h3>Anotaciones</h3>
|
||||
<xsl:for-each select="logica.reportes.ReporteApoderado/anotaciones/entry">
|
||||
<table border="1px solid black" class="estudiante">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Estudiante</th>
|
||||
<th>Rut</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="Estudiante/nombre"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="Estudiante/rut"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table border="1px solid black" class="anotaciones">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Profesor</th>
|
||||
<th>Tipo</th>
|
||||
<th>Descripcion</th>
|
||||
</tr>
|
||||
<xsl:for-each select="Anotacion-array/Anotacion">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="profesor__id__fk/nombre"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:choose>
|
||||
<xsl:when test="positiva = 'true'">
|
||||
Positiva
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
Negativa
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="descripcion"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
</xsl:for-each>
|
||||
</div>
|
||||
<div class="separator">
|
||||
</div>
|
||||
|
||||
</xsl:for-each>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
</xsl:stylesheet>
|
||||
38
colegio_web/src/files/xslt/toHtmlReprobando.xsl
Normal file
38
colegio_web/src/files/xslt/toHtmlReprobando.xsl
Normal file
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="/">
|
||||
<html>
|
||||
|
||||
<body>
|
||||
<h2>Estudiantes Reprobando</h2>
|
||||
<table border="1">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Nombre</th>
|
||||
<th>Rut</th>
|
||||
<th>Promedio</th>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteReprobando/estudiantesRepobando/entry">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="Estudiante/nombre"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="Estudiante/rut"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="float"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="/">
|
||||
<w:wordDocument xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml">
|
||||
<w:body>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteApoderadosMasEstudiantes/apoderadosDuplicados/entry">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>Apoderado:</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
|
||||
<xsl:value-of select="Apoderado/nombre"/>/<xsl:value-of select="Apoderado/rut"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>Estudiantes:</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
|
||||
<xsl:for-each select="list/Estudiante">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
|
||||
<xsl:value-of select="nombre"/>/<xsl:value-of select="rut"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
</xsl:for-each>
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t></w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
</xsl:for-each>
|
||||
</w:body>
|
||||
</w:wordDocument>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
30
colegio_web/src/files/xslt/toWordAsistenciaBaja.xsl
Normal file
30
colegio_web/src/files/xslt/toWordAsistenciaBaja.xsl
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
<xsl:template match="/">
|
||||
<w:wordDocument xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml">
|
||||
<w:body>
|
||||
<xsl:for-each select="logica.reportes.ReporteAsistenciaBajo/map/Atribute">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>Estudiante:
|
||||
<xsl:value-of select="Estudiante/nombre"/>:<xsl:value-of select="Estudiante/rut"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>Asistencia:
|
||||
<xsl:value-of select="PorcentajeAsistencia"/>%
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t></w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
</xsl:for-each>
|
||||
</w:body>
|
||||
</w:wordDocument>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
57
colegio_web/src/files/xslt/toWordAsistenciaYNotas.xsl
Normal file
57
colegio_web/src/files/xslt/toWordAsistenciaYNotas.xsl
Normal file
@@ -0,0 +1,57 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="/">
|
||||
<w:wordDocument xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml">
|
||||
<w:body>
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
|
||||
<xsl:value-of select="logica.reportes.ReporteAsistenciaYNotas/estudiante/nombre"/>:<xsl:value-of select="logica.reportes.ReporteAsistenciaYNotas/estudiante/rut"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteAsistenciaYNotas/asistencia/Asistencia">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
|
||||
<xsl:value-of select="dia"/>:
|
||||
|
||||
<xsl:choose>
|
||||
|
||||
<xsl:when test="asistio = 'true'">Presente</xsl:when>
|
||||
|
||||
<xsl:otherwise>No presente</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
</xsl:for-each>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteAsistenciaYNotas/notas/entry">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
<xsl:value-of select="Asignatura/nombre"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
|
||||
<xsl:for-each select="list/Nota">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
<xsl:value-of select="valor"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</w:body>
|
||||
</w:wordDocument>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
42
colegio_web/src/files/xslt/toWordNotasProfesor.xsl
Normal file
42
colegio_web/src/files/xslt/toWordNotasProfesor.xsl
Normal file
@@ -0,0 +1,42 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
<xsl:template match="/">
|
||||
<w:wordDocument xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml">
|
||||
<w:body>
|
||||
<xsl:for-each select="logica.reportes.ReporteNotasProfesor/lista/entry">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>Estudiante:</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t><xsl:value-of select="Estudiante/nombre"/>/<xsl:value-of select="Estudiante/rut"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>Notas:</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<xsl:for-each select="list/Nota">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
<xsl:value-of select="valor"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
</xsl:for-each>
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
</xsl:for-each>
|
||||
</w:body>
|
||||
</w:wordDocument>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
35
colegio_web/src/files/xslt/toWordPlanificaciones.xsl
Normal file
35
colegio_web/src/files/xslt/toWordPlanificaciones.xsl
Normal file
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
<xsl:template match="/">
|
||||
<w:wordDocument xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml">
|
||||
<w:body>
|
||||
<xsl:for-each select="logica.reportes.ReportePlanificaciones/planificaciones/entry">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
<xsl:value-of select="Estudiante/nombre"/>/<xsl:value-of select="Estudiante/rut"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<xsl:for-each select="map/entry">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>Asignatura:<xsl:value-of select="Asignatura/nombre"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<xsl:for-each select="Actividad-array/Actividad">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
<xsl:value-of select="tipo"/>/<xsl:value-of select="fecha"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</w:body>
|
||||
</w:wordDocument>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
132
colegio_web/src/files/xslt/toWordReporteGeneral.xsl
Normal file
132
colegio_web/src/files/xslt/toWordReporteGeneral.xsl
Normal file
@@ -0,0 +1,132 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="/">
|
||||
<w:wordDocument xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml">
|
||||
<w:body>
|
||||
|
||||
<xsl:for-each select="map/entry">
|
||||
<!--Apoderado-->
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>Apoderado</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
|
||||
<xsl:value-of select="Apoderado/nombre"/>:<xsl:value-of select="Apoderado/rut"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<!--Notas-->
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>Notas</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteApoderado/notas/entry">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
|
||||
<xsl:value-of select="Estudiante/nombre"/>/<xsl:value-of select="Estudiante/rut"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
|
||||
<xsl:for-each select="Nota-array/Nota">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>Asignatura:<xsl:value-of select="asignatura__id__fk/nombre"/></w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>Nota:<xsl:value-of select="Nota/valor"/></w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
<!--Planificaciones-->
|
||||
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>Planificaciones</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<xsl:for-each select="logica.reportes.ReporteApoderado/planificaciones/entry">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
|
||||
<xsl:value-of select="Estudiante/nombre"/>/<xsl:value-of select="Estudiante/rut"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
|
||||
<xsl:for-each select="map/entry">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
<xsl:value-of select="Asignatura/nombre"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
|
||||
<xsl:for-each select="Actividad-array/Actividad">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
|
||||
<xsl:value-of select="tipo"/>/<xsl:value-of select="fecha"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
<!--Anotaciones-->
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>Anotaciones</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<xsl:for-each select="logica.reportes.ReporteApoderado/anotaciones/entry">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
|
||||
<xsl:value-of select="Estudiante/nombre"/>/<xsl:value-of select="Estudiante/rut"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
|
||||
<xsl:for-each select="Anotacion-array/Anotacion">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
<xsl:value-of select="profesor__id__fk/nombre"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
<xsl:choose>
|
||||
<xsl:when test="positiva = 'true'">Positiva</xsl:when>
|
||||
<xsl:otherwise>Negativa</xsl:otherwise>
|
||||
</xsl:choose>/<xsl:value-of select="descripcion"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</w:body>
|
||||
</w:wordDocument>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
25
colegio_web/src/files/xslt/toWordReprobando.xsl
Normal file
25
colegio_web/src/files/xslt/toWordReprobando.xsl
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="/">
|
||||
<w:wordDocument xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml">
|
||||
<w:body>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteReprobando/estudiantesRepobando/entry">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t><xsl:value-of select="Estudiante/nombre"/>/<xsl:value-of select="Estudiante/rut"/></w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t><xsl:value-of select="float"/></w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
|
||||
</xsl:for-each>
|
||||
</w:body>
|
||||
</w:wordDocument>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
Reference in New Issue
Block a user