Hi. im trying to compile an xsl...but it throws me a coupple of errors :
public static void XSLFormatterConvertFileTranslet(String args ) { try {
FileOutputStream fosFo=null;
FileInputStream fisFo=null;
XfoObj axfo = null;
FileOutputStream fosPdf = null;
axfo = new XfoObj;
axfo.setExitLevel(4);
// 0. Indicar que vamos a usar el generador de Translets String key = "javax.xml.transform.TransformerFactory"; String value = "org.apache.xalan.xsltc.trax.TransformerFactoryImpl"; Properties props = System.getProperties; props.put(key, value); System.setProperties(props);
// 1. Crear un TransformerFactory.
TransformerFactory tFactory = TransformerFactory.newInstance; javax.xml.transform.Transformer transformer; tFactory.setAttribute("generate-translet", Boolean.TRUE); tFactory.setAttribute("auto-translet", Boolean.TRUE); tFactory.setAttribute("destination-directory", "translets");
// 2. Usar el TransformerFactory para procesar la XSL // y generar el transformador. transformer = tFactory.newTransformer(new StreamSource(args [0])); // xsl
File tempFo=null;
tempFo=File.createTempFile("temp_",".fo");
fosFo = new FileOutputStream(tempFo);
// 3.Usar el transformador para procesar el origen de datos XML // y obtener el resultado de la transformación transformer.transform(new StreamSource(args [1]), //XML new StreamResult(new FileOutputStream("temp_.fo")));
fisFo = new FileInputStream(tempFo);
axfo.render(fisFo, fosPdf, "@PDF");
} catch (Exception e) {
e.printStackTrace;
}
}
ERRORS :
ERROR: 'Character conversion error: "Malformed UTF-8 char -- is an XML encoding declaration missing?" (line number may be too low).'
FATAL ERROR: 'Could not compile stylesheet'
javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet at org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:
824)
at
org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:
613)
at
isf.domain.gcpr.XSLHelper.XSLFormatterConvertFileTranslet(XSLHelper.java:
246)
at
isf.domain.gccom.pr.XSLActivityService.processFile(XSLActivityService.java:
126)
at
isf.domain.gccom.pr.XSLActivityService.execute(XSLActivityService.java:
45)
at isf.domain.Domain.execute(Domain.java:189)
at isf.domain.gcwa.GcwaBasicActivity.run(GcwaBasicActivity.java:247) at java.lang.Thread.run(Thread.java:534) 14-04-08 18:20:32 sundesasl.5000381.5000333.1234503.10 ERRO isf.domain.gccom.pr.XSLActivityService processFile 120 xml
************/sgcv10/software/OpenCM/Files/gccb/INVOICED_20080416/ Normales/tmp_000367.pdf 14-04-08 18:20:32 sundesasl.5000381.5000333.1234503.10 ERRO isf.domain.gccom.pr.XSLActivityService processFile 121 /sgcv10/ software/OpenCM/server/Templates/fooo.xsl
ERROR: 'The input document is not a stylesheet (the XSL namespace is not declared in the root element).'
FATAL ERROR: 'Could not compile stylesheet'
javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet at org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:
824)
at
org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:
613)
at
isf.domain.gcpr.XSLHelper.XSLFormatterConvertFileTranslet(XSLHelper.java:
246)
at
isf.domain.gccom.pr.XSLActivityService.processFile(XSLActivityService.java:
126)
at
isf.domain.gccom.pr.XSLActivityService.execute(XSLActivityService.java:
45)
at isf.domain.Domain.execute(Domain.java:189)
at isf.domain.gcwa.GcwaBasicActivity.run(GcwaBasicActivity.java:247) at java.lang.Thread.run(Thread.java:534) 14-04-08 18:20:32 sundesasl.5000381.5000333.1234503.10 ERRO isf.domain.gccom.pr.XSLActivityService processFile 122 /sgcv10/ software/OpenCM/Files/gccb/INVOICED_20080416/Normales/tmp_000367.pdf
ERROR: 'The input document is not a stylesheet (the XSL namespace is not declared in the root element).'
FATAL ERROR: 'Could not compile stylesheet'
javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet at org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:
824)
at
org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:
613)
at
isf.domain.gcpr.XSLHelper.XSLFormatterConvertFileTranslet(XSLHelper.java:
246)
at
isf.domain.gccom.pr.XSLActivityService.processFile(XSLActivityService.java:
126)
at
isf.domain.gccom.pr.XSLActivityService.execute(XSLActivityService.java:
45)
at isf.domain.Domain.execute(Domain.java:189)
at isf.domain.gcwa.GcwaBasicActivity.run(GcwaBasicActivity.java:247) at java.lang.Thread.run(Thread.java:534)
ERROR: 'The input document is not a stylesheet (the XSL namespace is not declared in the root element).'
FATAL ERROR: 'Could not compile stylesheet'
XSL :
<?xml version="1.0"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:Fox="http://xml.apache.org/fop/extensions"> <!--xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.1"> -->
<xsl
utput method="xml"/>
<xsl:template match="IMPFAC">
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<!-- Inicio definición de LAYOUT-->
<fo:layout-master-set>
<!-- LAYOUT para todas las paginas menos LA ULTIMA -->
<fo:simple-page-master master-name="a4any" page-height="35.50cm" page- width="21.50cm" margin-top="1.0cm" margin-left="1.0cm" margin- bottom="1.0cm" margin-right="1.0cm"> <fo:region-body margin-left="1.0cm" margin-top="1.0cm" margin- bottom="9.5cm" margin-right="1.0cm"/> <fo:region-before extent="1.0cm" precedence="true"/> <fo:region-after region-name="footer-any" extent="4.5cm" precedence="true"/> <fo:region-start extent="1.0cm" precedence="false"/> <fo:region-end extent="1cm" precedence="false"/>
<fo:region-body region-name="CONSUMOS"
margin-top="5cm" margin-bottom="9cm"
margin-left="0.1cm" margin-right="14cm"/>
<fo:region-body region-name="CONCEPTOS"
margin-top="5cm" margin-bottom="9cm"
margin-left="7.9cm" margin-right="0.2cm"/>
<fo:region-body region-name="SUSPENCION"
margin-top="25.3cm" margin-bottom="3.5cm"
margin-left="0.1cm" margin-right="14.5cm"/>
<fo:region-body region-name="COMPLEMENTARIA"
margin-top="25.9cm" margin-bottom="3.5cm"
margin-left="5.5cm" margin-right="0.2cm"/>
</fo:simple-page-master>
<!-- LAYOUT para LA ULTIMA PAGINA-->
<fo:simple-page-master master-name="a4last" page-height="35.50cm" page- width="21.50cm" margin-top="1.0cm" margin-left="1.0cm" margin- bottom="1.0cm" margin-right="1.0cm"> <fo:region-body margin-left="1.0cm" margin-top="1.0cm" margin- bottom="9.5cm" margin-right="1.0cm"/> <fo:region-before extent="1.0cm" precedence="true"/> <fo:region-after region-name="footer-last" extent="4.5cm" precedence="true"/> <fo:region-start extent="1.0cm" precedence="false"/> <fo:region-end extent="1cm" precedence="false"/>
<fo:region-body region-name="CONSUMOS"
margin-top="5cm" margin-bottom="9cm"
margin-left="0.1cm" margin-right="14cm"/>
<fo:region-body region-name="CONCEPTOS"
margin-top="5cm" margin-bottom="9cm"
margin-left="7.9cm" margin-right="0.2cm"/>
<fo:region-body region-name="SUSPENCION"
margin-top="25.3cm" margin-bottom="3.5cm"
margin-left="0.1cm" margin-right="14.5cm"/>
<fo:region-body region-name="COMPLEMENTARIA"
margin-top="25.9cm" margin-bottom="3.5cm"
margin-left="5.5cm" margin-right="0.2cm"/>
</fo:simple-page-master>
<!-- LAYOUT para primera y ULTIMA PAGINA-->
<fo:simple-page-master master-name="a4only" page-height="35.50cm" page- width="21.50cm" margin-top="1.0cm" margin-left="1.0cm" margin- bottom="1.0cm" margin-right="1.0cm">
<fo:region-body margin-left="0.2cm" margin-top="3.0cm" margin- bottom="9.0cm" margin-right="1.0cm"/> <fo:region-before extent="1.0cm" precedence="true"/> <fo:region-after region-name="footer-only" extent="4.5cm" precedence="true"/> <fo:region-start extent="1.0cm" precedence="false"/> <fo:region-end extent="1cm" precedence="false"/>
<fo:region-body region-name="CONSUMOS"
margin-top="5cm" margin-bottom="9cm"
margin-left="0.1cm" margin-right="14cm"/>
<fo:region-body region-name="CONCEPTOS"
margin-top="5cm" margin-bottom="9cm"
margin-left="7.9cm" margin-right="0.2cm"/>
<fo:region-body region-name="SUSPENCION"
margin-top="25.3cm" margin-bottom="3.5cm"
margin-left="0.1cm" margin-right="14.5cm"/>
<fo:region-body region-name="COMPLEMENTARIA"
margin-top="25.9cm" margin-bottom="3.5cm"
margin-left="5.5cm" margin-right="0.2cm"/>
</fo:simple-page-master>
<!-- DEFINICION DE MARCAS-->
<fo
age-sequence-master master-name="document">
<fo:repeatable-page-master-alternatives>
<fo:conditional-page-master-reference page-position="only" master-reference="a4only"/>
<fo:conditional-page-master-reference page-position="last" master-reference="a4last"/>
<fo:conditional-page-master-reference page-position="any" master-reference="a4any"/>
</fo:repeatable-page-master-alternatives>
</fo
age-sequence-master>
<!-- DEFINICION DE AREAS (Todas las paginas)-->
<fo:flow-map flow-map-name="DETALLE">
<fo:flow-assignment>
<fo:flow-source-list>
<fo:flow-name-specifier flow-name-reference="D-CONSUMOS"/> </fo:flow-source-list> <fo:flow-target-list> <fo:region-name-specifier region-name-reference="CONSUMOS"/> </fo:flow-target-list> </fo:flow-assignment> <fo:flow-assignment> <fo:flow-source-list> <fo:flow-name-specifier flow-name-reference="D-CONCEPTOS"/> </fo:flow-source-list> <fo:flow-target-list> <fo:region-name-specifier region-name-reference="CONCEPTOS"/> </fo:flow-target-list> </fo:flow-assignment> <fo:flow-assignment> <fo:flow-source-list> <fo:flow-name-specifier flow-name-reference="D-SUSPENCION"/> </fo:flow-source-list> <fo:flow-target-list> <fo:region-name-specifier region-name-reference="SUSPENCION"/> </fo:flow-target-list> </fo:flow-assignment> <fo:flow-assignment> <fo:flow-source-list> <fo:flow-name-specifier flow-name-reference="D-COMPLEMENTARIA"/> </fo:flow-source-list> <fo:flow-target-list> <fo:region-name-specifier region-name-reference="COMPLEMENTARIA"/> </fo:flow-target-list> </fo:flow-assignment> </fo:flow-map>
</fo:layout-master-set>
<!-- Fin de definición de LAYOUT-->
<!-- ESCRITURA DEL DOCUMENTO GENERAL-->
<!-- CABECERA-->
<fo
age-sequence master-name="document" master-reference="document" flow-map-reference="DETALLE" id="document" > <xsl:attribute name="force-page-count">no-force</xsl:attribute> <fo:static-content flow-name="xsl-region-before">
<fo:block-container position="absolute" top="0.7cm" left="4.4cm" height="0.5cm" width="9.0cm"> <fo:block line-height="0.5cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="start" position="relative" top="0.4cm" left="4.4cm" height="0.5cm" width="9.0cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/NOMCLIE"/ </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="0.7cm" left="13.5cm" height="1.0cm" width="2.8cm"> <fo:block line-height="0.5cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="0.7cm" left="13.5cm" height="1.0cm" width="2.8cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/ IDSUPPLY"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="0.7cm" left="16.3cm" height="1.0cm" width="3.0cm"> <fo:block line-height="0.5cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="0.7cm" left="16.3cm" height="1.0cm" width="3.0cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/NROFACT"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="1.7cm" left="4.4cm" height="0.5cm" width="12.0cm"> <fo:block line-height="0.5cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="start" position="relative" top="1.7cm" left="4.4cm" height="0.5cm" width="12.0cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/DOMICEN"/> </fo:block>
</fo:block-container>
<fo:block-container position="absolute" top="1.7cm" left="16.5cm" height="0.5cm" width="3.0cm"> <fo:block line-height="0.5cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="1.7cm" left="16.5cm" height="0.5cm" width="1.96817cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/FVENCIM"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="2.5cm" left="4.2cm" height="0.5cm" width="5.0cm"> <fo:block line-height="0.5cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="2.5cm" left="4.2cm" height="0.5cm" width="6.92375cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/CONDFIS"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="2.5cm" left="9.5cm" height="0.5cm" width="3.3cm"> <fo:block line-height="0.5cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="2.5cm" left="9.5cm" height="0.5cm" width="3.3cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/CUIT"/> </fo:block>
</fo:block-container>
<fo:block-container position="absolute" top="2.5cm" left="13.2cm" height="0.5cm" width="3.5cm"> <fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="center" position="relative" top="2.5cm" left="13.2cm" height="0.5cm" width="3.5cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/IBRUTOS"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="2.2cm" left="16.9cm" height="0.56233cm" width="1.89788cm" display-align="before"> <fo:block line-height="0.50961cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" position="relative" top="2.2cm" left="16.9cm" height="0.56233cm" width="1.89788cm" color="#000000" font-family="Arial" font-size="8.0pt">hoja <fo
age- number/> de <fo
age-number-citation-last ref-id="document"/></ fo:block> </fo:block-container>
<fo:block-container position="absolute" top="3.4cm" left="4.0cm" height="0.5cm" width="2.5cm"> <fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="center" position="relative" top="3.4cm" left="12.8cm" height="0.5cm" width="2.5cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/PERFACT"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="3.4cm" left="6.8cm" height="0.5cm" width="2.5cm"> <fo:block line-height="0.5cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="3.4cm" left="6.8cm" height="0.5cm" width="2.5cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/FFACTUR"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="3.4cm" left="9.5cm" height="0.5cm" width="2.5cm"> <fo:block line-height="0.5cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="3.4cm" left="9.5cm" height="0.5cm" width="2.5cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/FULPBCO"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="3.4cm" left="12.3cm" height="0.5cm" width="2.5cm"> <fo:block line-height="0.5cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="3.4cm" left="12.3cm" height="0.5cm" width="2.5cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/FPVENCIM"/</fo:block> </fo:block-container>
<fo:block-container position="absolute" top="3.4cm" left="15cm" height="0.5cm" width="2.5cm"> <fo:block line-height="0.5cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="3.4cm" left="15cm" height="0.5cm" width="2.5cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/SECIMP"/> </fo:block> </fo:block-container>
</fo:static-content>
<!-- PIE DE PAGINA DE LA ULTIMA PAGINA-->
<fo:static-content flow-name="footer-last">
<!-- RECAUDADOR-->
<!-- ***** AVISO DE CORTE PARA EL TALON RECAUDADOR-->
<xsl:if test="SERVICIOS/PIE/AVISO/DEUDA">
<fo:block-container position="absolute" top="1.0cm" left="0.05cm" height="0.50cm" width="2.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="left" position="relative" top="1.0cm" left="0.05cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt"> <fo:inline> <xsl:text>Referencia : </xsl:text></fo:inline> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="1.0cm" left="1.5cm" height="0.50cm" width="2.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="1.0cm" left="1.5cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/AVISO/ REFERENCIA"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="1.5cm" left="0.05cm" height="0.50cm" width="2.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="left" position="relative" top="1.5cm" left="0.05cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt"> <fo:inline> <xsl:text>Deuda : </xsl:text></fo:inline> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="1.5cm" left="1.5cm" height="0.50cm" width="2.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="1.5cm" left="1.5cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/AVISO/ DEUDA"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="2.1cm" left="0.50cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="2.1cm" left="0.50cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt" text- decoration="underline"> <fo:inline> <xsl:text>Ultimo Pago </xsl:text></fo:inline> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="2.5cm" left="0.50cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="2.5cm" left="0.5cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/AVISO/ ULTIMOPAGO"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="2.1cm" left="2.50cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="2.1cm" left="0.50cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt" text- decoration="underline"> <fo:inline> <xsl:text>Fecha Corte </xsl:text></fo:inline> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="2.5cm" left="2.50cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="2.5cm" left="0.5cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/AVISO/ FECHACORTE"/> </fo:block> </fo:block-container> </xsl:if>
<!-- ***** FIN AVISO DE CORTE PARA EL TALON RECAUDADOR-->
<!-- ***** RESTO DEL TALON RECAUDADOR-->
<fo:block-container position="absolute" top="3.0cm" left="6.00cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="3.0cm" left="6.00cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/PERFACT"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="4.0cm" left="6.00cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50" white-space-collapse="false" linefeed- treatment="preserve" text-align="start" position="relative" top="4.0cm" left="8.5cm" height="0.50cm" width="1.50cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/FULPBCO"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="2.0cm" left="9.00cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="2.0cm" left="9.00cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/FFACTUR"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="3.0cm" left="9.00cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.46392cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="center" position="relative" top="3.0cm" left="9.00cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/FVENCIM"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="4.0cm" left="9.50cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50" white-space-collapse="false" linefeed- treatment="preserve" text-align="start" position="relative" top="4.0cm" left="8.5cm" height="0.50cm" width="1.50cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/ RECAUDADOR/IMPTOTAL"/> </fo:block> </fo:block-container>
<!-- Tabla de Subtotales que integran la factura-->
<fo:block-container position="absolute" top="1.50cm" left="13.2182cm" height="2.70624cm" width="4.42839cm" > <fo:block span="none"><!-- GENERATE TABLE START-->
<fo:table table-layout="fixed">
<fo:table-column column-width="3.0cm"/>
<fo:table-column column-width="2.81167cm"/>
<fo:table-footer>
<fo:table-row>
<fo:table-cell/><fo:table-cell border-top-style="solid" border-top- width="0.03513cm" border-top-color="#000000" display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="PIE/RECAUDADOR/ IMPTOTAL"/> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-footer> <fo:table-body> <xsl:for-each select="SERVICIOS/PIE/RECAUDADOR/RECAUDALIST/RECAUDA">
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="EMPRESA"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="IMPSUBT"/> </fo:block> </fo:table-cell> </fo:table-row> </xsl:for-each></fo:table-body> </fo:table> </fo:block></fo:block-container>
<!-- Código de barra ente recaudador-->
<fo:block-container position="absolute" top="3.0cm" left="13.20cm" height="1cm" width="6cm"> <fo:block line-height="0.46392cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" position="relative" top="3.0cm" left="13.20cm" height="1cm" width="5cm" color="#000000" font-family="BARRA" font-size="10.0pt"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/ RECAUDADOR/BARRAR"/> </fo:block>
<fo:block line-height="1.0cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="start" position="inherit" top="5.0cm" left="13.20cm" height="1cm" width="8cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/ RECAUDADOR/TEXTOBARRAR"/> </fo:block>
</fo:block-container>
<fo:block/>
<!-- ***** FIN RESTO DEL TALON RECAUDADOR-->
<!-- FIN PIE DE PAGINA PARA PAGINA FINAL-->
</fo:static-content>
<!-- PIE DE PAGINA DE LA ULTIMA PAGINA-->
<fo:static-content flow-name="footer-only">
<!-- RECAUDADOR-->
<!-- ***** AVISO DE CORTE PARA EL TALON RECAUDADOR-->
<xsl:if test="SERVICIOS/PIE/AVISO/DEUDA">
<fo:block-container position="absolute" top="1.0cm" left="0.05cm" height="0.50cm" width="2.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="left" position="relative" top="1.0cm" left="0.05cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt"> <fo:inline> <xsl:text>Referencia : </xsl:text></fo:inline> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="1.0cm" left="1.5cm" height="0.50cm" width="2.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="1.0cm" left="1.5cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/AVISO/ REFERENCIA"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="1.5cm" left="0.05cm" height="0.50cm" width="2.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="left" position="relative" top="1.5cm" left="0.05cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt"> <fo:inline> <xsl:text>Deuda : </xsl:text></fo:inline> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="1.5cm" left="1.5cm" height="0.50cm" width="2.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="1.5cm" left="1.5cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/AVISO/ DEUDA"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="2.1cm" left="0.50cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="2.1cm" left="0.50cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt" text- decoration="underline"> <fo:inline> <xsl:text>Ultimo Pago </xsl:text></fo:inline> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="2.5cm" left="0.50cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="2.5cm" left="0.5cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/AVISO/ ULTIMOPAGO"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="2.1cm" left="2.50cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="2.1cm" left="0.50cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt" text- decoration="underline"> <fo:inline> <xsl:text>Fecha Corte </xsl:text></fo:inline> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="2.5cm" left="2.50cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="2.5cm" left="0.5cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/AVISO/ FECHACORTE"/> </fo:block> </fo:block-container>
</xsl:if>
<!-- ***** FIN AVISO DE CORTE PARA EL TALON RECAUDADOR-->
<!-- ***** RESTO DEL TALON RECAUDADOR-->
<fo:block-container position="absolute" top="3.0cm" left="6.00cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="3.0cm" left="6.00cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/PERFACT"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="4.0cm" left="6.00cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50" white-space-collapse="false" linefeed- treatment="preserve" text-align="start" position="relative" top="4.0cm" left="8.5cm" height="0.50cm" width="1.50cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/FULPBCO"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="2.0cm" left="9.00cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="2.0cm" left="9.00cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/FFACTUR"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="3.0cm" left="9.00cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.46392cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="center" position="relative" top="3.0cm" left="9.00cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/FVENCIM"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="4.0cm" left="9.50cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50" white-space-collapse="false" linefeed- treatment="preserve" text-align="start" position="relative" top="4.0cm" left="8.5cm" height="0.50cm" width="1.50cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/ RECAUDADOR/IMPTOTAL"/> </fo:block> </fo:block-container>
<!-- Tabla de Subtotales que integran la factura-->
<fo:block-container position="absolute" top="1.50cm" left="13.2182cm" height="2.70624cm" width="4.42839cm" > <fo:block span="none"><!-- GENERATE TABLE START-->
<fo:table table-layout="fixed">
<fo:table-column column-width="3.0cm"/>
<fo:table-column column-width="2.81167cm"/>
<fo:table-footer>
<fo:table-row>
<fo:table-cell/><fo:table-cell border-top-style="solid" border-top- width="0.03513cm" border-top-color="#000000" display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/ RECAUDADOR/IMPTOTAL"/> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-footer> <fo:table-body> <xsl:for-each select="SERVICIOS/PIE/RECAUDADOR/RECAUDALIST/RECAUDA">
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="EMPRESA"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="IMPSUBT"/> </fo:block> </fo:table-cell> </fo:table-row> </xsl:for-each></fo:table-body> </fo:table> </fo:block></fo:block-container>
<!-- Código de barra ente recaudador-->
<fo:block-container position="absolute" top="3.0cm" left="13.20cm" height="1cm" width="6cm"> <fo:block line-height="0.46392cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" position="relative" top="3.0cm" left="13.20cm" height="1cm" width="5cm" color="#000000" font-family="BARRA" font-size="10.0pt"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/ RECAUDADOR/BARRAR"/> </fo:block>
<fo:block line-height="1.0cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="start" position="inherit" top="5.0cm" left="13.20cm" height="1cm" width="8cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/ RECAUDADOR/TEXTOBARRAR"/> </fo:block>
</fo:block-container>
<fo:block/>
<!-- ***** FIN RESTO DEL TALON RECAUDADOR-->
<!-- FIN PIE DE PAGINA PARA PAGINA FINAL-->
</fo:static-content>
<!--PIE DE PAGINA PARA Todas menos PAGINA FINAL-->
<fo:static-content flow-name="footer-any">
<fo:block>
</fo:block>
</fo:static-content>
<fo:static-content flow-name="xsl-region-start">
<fo:block/>
</fo:static-content>
<fo:static-content flow-name="xsl-region-end">
<fo:block/>
</fo:static-content>
<!--CUERPO : DETALLE -->
<fo:flow flow-name="D-CONSUMOS">
<!-- TABLA PRINCIPAL DE CONSUMOS ELECTRICOS-->
<fo:table table-layout="fixed" width="100%" >
<fo:table-column column-width="8.82164cm"/>
<fo:table-header>
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt"> <fo:block text-align="left" white-space-collapse="false" linefeed- treatment="preserve" > <fo:inline> <xsl:text>Suministro Eléctrico. Identificación :</xsl:text></ fo:inline> </fo:inline> <fo:inline> <xsl:text> </xsl:text></fo:inline> <fo:inline> <xsl:text>Ref. de Pago : </xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="CABECERA/REQSEC"/> </fo:inline> <fo:inline> <xsl:text>.</xsl:text></fo:inline> </fo:inline> <fo:inline> <xsl:text>.</xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="CABECERA/SUPPLYS"/> </fo:inline> <fo:inline> <xsl:text>-</xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="CABECERA/FFACTUR"/> </fo:inline> </fo:block> <fo:block text-align="left" white-space-collapse="false" linefeed- treatment="preserve" > <fo:inline> </fo:inline> <fo:inline> <xsl:text>Tarifa: </xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN00001']/ LTARIFA"/> </fo:inline> <fo:inline> <xsl:text> - Pot. Cont : (</xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN00001']/ LUDMPOTC"/> </fo:inline> <fo:inline> <xsl:text>) </xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN00001']/ LPOTENC"/> </fo:inline> </fo:block> <fo:block text-align="left" white-space-collapse="false" linefeed- treatment="preserve" > <fo:inline> </fo:inline> <fo:inline> <xsl:text>Domicilio : </xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN00001']/ LDOMSUM"/> </fo:inline> </fo:block> <fo:block text-align="left" white-space-collapse="false" linefeed- treatment="preserve" > <fo:inline> <xsl:text> </xsl:text></fo:inline> </fo:block> <fo:block text-align="left" white-space-collapse="false" linefeed- treatment="preserve" > <fo:inline> <xsl:text> </xsl:text> </fo:inline> </fo:block> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-header> <!-- TERMINA CABECERA DE TABLA PRINCIPAL CONSUMOS ELECTRICOS-->
<fo:table-body> <!-- COMIENZA CUERPO DE TABLA PRINCIPAL CONSUMOS ELECTRICOS--> <xsl:for-each select="SERVICIOS/DETCONSUMO/DETCONSUMO/CONSUMOLIST/ CONSUMO[TCONSUM='TFGEN00001']"><!--CE--> <fo:table-row><!--CR--> <fo:table-cell display-align="before"> <!--CC--> <fo:block span="all"> <!--CB-->
<!-- Crea TABLA DE MEDIDORES-->
<fo:table table-layout="fixed" width="100%"> <!--MT-->
<fo:table-column column-width="8.7162cm"/>
<fo:table-body><!--MB-->
<xsl:for-each select="MEDIDORLIST/MEDIDOR"><!--ME-->
<fo:table-row><!--MR-->
<fo:table-cell display-align="before"><!--MC-->
<fo:block span="all"> <!--MB-->
<!-- Crea TABLA DE CONSUMOS POR MEDIDOR-->
<fo:table table-layout="fixed" width="100%"> <!--CMT--> <fo:table-column column-width="1.86273cm"/> <fo:table-column column-width="1.33554cm"/> <fo:table-column column-width="1.37069cm"/> <fo:table-column column-width="1.12467cm"/> <fo:table-column column-width="1.40583cm"/>
<fo:table-header><!--CMH-->
<fo:table-row><!--CMHR1-->
<fo:table-cell number-columns-spanned="5" display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt"> <fo:block text-align="left" white-space-collapse="false" linefeed- treatment="preserve" > <fo:inline> <xsl:text>Medidor </xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="NUMMED"/> </fo:inline> </fo:block> <fo:block text-align="left" white-space-collapse="false" linefeed- treatment="preserve" > <fo:inline> </fo:inline> <fo:inline> <xsl:text>Período de Consumo : </xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="MEDCONSLIST/MEDCONS/ PERCONS"/> </fo:inline> </fo:block> </fo:block> </fo:table-cell> </fo:table-row><!--CMHR1-->
<fo:table-row><!--CMHR2-->
<fo:table-cell display-align="before">
<fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:text>Tipo de Consumo</xsl:text></fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:text>Lec. Ant.</xsl:text></fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:text>Lec. Act.</xsl:text></fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:text>Cte.</xsl:text></fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:text>Consumo</xsl:text></fo:block> </fo:table-cell> </fo:table-row><!--CMHR2-->
</fo:table-header><!--CMH-->
<fo:table-footer> <!--CMF-->
<fo:table-row>
<fo:table-cell number-columns-spanned="5" display-align="before"> <fo:block padding-top="0.21087cm" line-height="0.5061cm" white-space- collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font-family="Arial" font-size="12.0pt"> <xsl:text> </xsl:text></fo:block> </fo:table-cell> </fo:table-row> </fo:table-footer> <!--CMF-->
<fo:table-body> <!--CMB-->
<xsl:for-each select="MEDCONSLIST/MEDCONS">
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="justify" color="#000000" font-family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="TIPOCON"/> </fo:block> </fo:table-cell>
<fo:table-cell display-align="before">
<fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="LECANT"/> </fo:block> </fo:table-cell>
<fo:table-cell display-align="before">
<fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="LECACT"/> </fo:block> </fo:table-cell>
<fo:table-cell display-align="before">
<fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="CTE"/> </fo:block> </fo:table-cell>
<fo:table-cell display-align="before">
<fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="CONSUMO"/> </fo:block> </fo:table-cell>
</fo:table-row>
</xsl:for-each>
</fo:table-body> <!--CMB-->
</fo:table><!--CMT-->
</fo:block> <!--MB-->
</fo:table-cell><!--MC-->
</fo:table-row><!--MR-->
</xsl:for-each><!--ME-->
</fo:table-body><!--MB-->
</fo:table><!--MT-->
</fo:block> <!--CB-->
</fo:table-cell><!--CC-->
</fo:table-row><!--CR-->
</xsl:for-each><!--CE-->
</fo:table-body><!--CB-->
</fo:table><!--CT-->
<!-- TABLA PRINCIPAL DE CONSUMOS AGUA-->
<xsl:if test="SERVICIOS/DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO/ TCONSUM='TFGEN20001'">
<!-- GENERATE TABLE START-->
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="8.89193cm"/>
<fo:table-header>
<fo:table-row>
<fo:table-cell border-top-style="dotted" border-top-width="0.03514cm" border-top-color="#000000" display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt"> <fo:block text-align="left" white-space-collapse="false" linefeed- treatment="preserve" > <fo:inline> <xsl:text>Servicio Sanitario.</xsl:text></fo:inline> </fo:block> <fo:block text-align="left" white-space-collapse="false" linefeed- treatment="preserve" > <fo:inline> </fo:inline> <fo:inline> <xsl:text>Loc.: </xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/ ALOCDIS"/> </fo:inline> <fo:inline> <xsl:text> - Catastro:</xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/ ACATAST"/> </fo:inline> <fo:inline> <xsl:text> - Cond.:</xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/ ACONDOM"/> </fo:inline> <fo:inline> <xsl:text> - Cód Serv. :</xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/ ACODSER"/> </fo:inline> </fo:block> <fo:block text-align="left" white-space-collapse="false" linefeed- treatment="preserve" > <fo:inline> </fo:inline> <fo:inline> <xsl:text>Cliente:</xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/ ANUMCTE"/> </fo:inline> <fo:inline> <xsl:text> - Propietario : </xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/ APROPIE"/> </fo:inline> </fo:block> <fo:block text-align="left" white-space-collapse="false" linefeed- treatment="preserve" > <fo:inline> </fo:inline> <fo:inline> <xsl:text>Sec.:</xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/ ASECCION"/> </fo:inline> <fo:inline> <xsl:text> - Mzna.:</xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/ AMANZANA"/> </fo:inline> <fo:inline> <xsl:text> - Parc.:</xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/ APARCEL"/> </fo:inline> <fo:inline> <xsl:text> - Leg.:</xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/ ALEGAJO"/> </fo:inline> <fo:inline> <xsl:text> - Cod.Fact.:</xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/ ACODFAC"/> </fo:inline> </fo:block> <fo:block text-align="left" white-space-collapse="false" linefeed- treatment="preserve" > <fo:inline> <xsl:text> </xsl:text></fo:inline> </fo:block> <fo:block text-align="left" white-space-collapse="false" linefeed- treatment="preserve" > <fo:inline> <xsl:text> </xsl:text></fo:inline> </fo:block> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-header> <fo:table-body> <xsl:for-each select="SERVICIOS/DETCONSUMO/DETCONSUMO/CONSUMOLIST/ CONSUMO[TCONSUM='TFGEN20001']">
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block span="none"><!-- GENERATE TABLE START-->
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="8.78649cm"/>
<fo:table-body>
<xsl:for-each select="MEDIDORLIST/MEDIDOR">
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block span="none"><!-- GENERATE TABLE START-->
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="1.79244cm"/>
<fo:table-column column-width="1.40583cm"/>
<fo:table-column column-width="1.33554cm"/>
<fo:table-column column-width="1.2301cm"/>
<fo:table-column column-width="1.26525cm"/>
<fo:table-header>
<fo:table-row>
<fo:table-cell number-columns-spanned="5" display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt"> <fo:block text-align="left" white-space-collapse="false" linefeed- treatment="preserve" > <fo:inline> <xsl:text>Medidor </xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="NUMMED"/> </fo:inline> </fo:block> <fo:block text-align="left" white-space-collapse="false" linefeed- treatment="preserve" > <fo:inline> </fo:inline> <fo:inline> <xsl:text>PerÃodo de Consumo: </xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="MEDCONSLIST/MEDCONS/ PERCONS"/> </fo:inline> </fo:block> </fo:block> </fo:table-cell> </fo:table-row>
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:text>Tipo de Consumo</xsl:text></fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:text>Lec. Ant.</xsl:text></fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:text>Lec. Act.</xsl:text></fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:text>Cte.</xsl:text></fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:text>Consumo</xsl:text></fo:block> </fo:table-cell> </fo:table-row> </fo:table-header> <fo:table-footer>
<fo:table-row>
<fo:table-cell number-columns-spanned="5" display-align="before"> <fo:block padding-top="0.21087cm" line-height="0.5061cm" white-space- collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font-family="Arial" font-size="12.0pt"> <xsl:text> </xsl:text></fo:block> </fo:table-cell> </fo:table-row> </fo:table-footer> <fo:table-body>
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="MEDCONSLIST/MEDCONS/ TIPOCON"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="MEDCONSLIST/MEDCONS/ LECANT"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="MEDCONSLIST/MEDCONS/ LECACT"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="MEDCONSLIST/MEDCONS/ CTE"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="MEDCONSLIST/MEDCONS/ CONSUMO"/> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> </fo:block></fo:table-cell> </fo:table-row> </xsl:for-each></fo:table-body> </fo:table> </fo:block></fo:table-cell> </fo:table-row> </xsl:for-each></fo:table-body> </fo:table> </xsl:if> </fo:flow>
<fo:flow flow-name="D-CONCEPTOS">
<!--********* TABLA PRINCIPAL DE LOS CONCEPTOS ************-->
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="9.0cm"/>
<fo:table-column column-width="2.5cm"/>
<fo:table-footer>
<!--DEFINO Y TRAIGO LAS MARCAS PARA EL TOTAL DE LOS CONCEPTOS O EL TRANSPORTE-->
<fo:table-row>
<fo:table-cell
padding-before="2pt"
padding-after="2pt"
border-before-precedence="force"
number-columns-spanned="2"
display-align="center"
text-align="center"
block-progression-dimension="24pt"
<fo:retrieve-table-marker retrieve-class-name="table- footer-continued" retrieve-position-within-table="last-ending"/> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-footer>
<!--MARCAS UTILIZADAS PARA EL TOTAL DE LOS CONCEPTOS O EL TRANSPORTE-- <fo:marker marker-class-name="table-caption-continued"/> <fo:marker marker-class-name="table-footer-continued"/>
<xsl:for-each select="SERVICIOS/DETCONCEPTOS/CONCEPTOLIST/CONCEPTO"/
<fo:table-cell display-align="before"> <!--CC-->
<fo:marker marker-class-name="table-caption-continued"> (continued)</fo:marker> <fo:marker marker-class-name="table-footer-continued">
- Transporte...-</fo:marker>
<fo:block span="all"> <!--CB-->
<!-- CONCEPTOS ENERGIA-->
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="9.0cm"/>
<fo:table-column column-width="2.5cm"/>
<fo:table-footer>
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt" font-weight="bold"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN00001']/TEXTO"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt" font-weight="bold"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN00001']/IMPORTE"/> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-footer> <fo:table-body> <xsl:for-each select="SERVICIOS/DETCONCEPTOS/CONCEPTOLIST/ CONCEPTO[TIPSUBT='TFGEN00001']">
<fo:table-row>
<fo:table-cell number-columns-spanned="2" display-align="before"> <fo:block span="none"><!-- GENERATE TABLE START-->
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="9.0cm"/>
<fo:table-column column-width="2.5cm"/>
<fo:table-body>
<xsl:for-each select="CONCEPTODLIST/CONCEPTOD">
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="DDESCONC"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="IMPCONC"/> </fo:block> </fo:table-cell> </fo:table-row> </xsl:for-each></fo:table-body> </fo:table> </fo:block></fo:table-cell> </fo:table-row> </xsl:for-each></fo:table-body> </fo:table>
<!--FIN CONCEPTOS ENERGIA!-->
<xsl:if test="SERVICIOS/DETCONCEPTOS/CONCEPTOLIST/CONCEPTO/ TIPSUBT='TFGEN20001'">
<!-- CONCEPTOS SANITARIOS!-->
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="9.0cm"/>
<fo:table-column column-width="2.5cm"/>
<fo:table-footer>
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt" font-weight="bold"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN20001']/TEXTO"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt" font-weight="bold"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN20001']/IMPORTE"/> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-footer> <fo:table-body> <xsl:for-each select="SERVICIOS/DETCONCEPTOS/CONCEPTOLIST/ CONCEPTO[TIPSUBT='TFGEN20001']">
<fo:table-row>
<fo:table-cell number-columns-spanned="2" display-align="before"> <fo:block span="none"><!-- GENERATE TABLE START-->
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="9.0cm"/>
<fo:table-column column-width="2.5cm"/>
<fo:table-body>
<xsl:for-each select="CONCEPTODLIST/CONCEPTOD">
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="DDESCONC"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="IMPCONC"/> </fo:block> </fo:table-cell> </fo:table-row> </xsl:for-each></fo:table-body> </fo:table> </fo:block></fo:table-cell> </fo:table-row> </xsl:for-each></fo:table-body> </fo:table>
</xsl:if>
<!-- FIN CONCEPTOS SANITARIO!-->
<xsl:if test="SERVICIOS/DETCONCEPTOS/CONCEPTOLIST/CONCEPTO/ TIPSUBT='TFGEN20002'">
<!-- CONCEPTOS TGI!-->
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="9.0cm"/>
<fo:table-column column-width="2.5cm"/>
<fo:table-footer>
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt" font-weight="bold"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN20002']/TEXTO"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt" font-weight="bold"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN20002']/IMPORTE"/> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-footer> <fo:table-body> <xsl:for-each select="SERVICIOS/DETCONCEPTOS/CONCEPTOLIST/ CONCEPTO[TIPSUBT='TFGEN20002']">
<fo:table-row>
<fo:table-cell number-columns-spanned="2" display-align="before"> <fo:block span="none"><!-- GENERATE TABLE START-->
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="9.0cm"/>
<fo:table-column column-width="2.5cm"/>
<fo:table-body>
<xsl:for-each select="CONCEPTODLIST/CONCEPTOD">
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="DDESCONC"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="IMPCONC"/> </fo:block> </fo:table-cell> </fo:table-row> </xsl:for-each></fo:table-body> </fo:table> </fo:block></fo:table-cell> </fo:table-row> </xsl:for-each></fo:table-body> </fo:table> </xsl:if> <!-- FIN CONCEPTOS TGI!-->
<xsl:if test="SERVICIOS/DETCONCEPTOS/CONCEPTOLIST/CONCEPTO/ TIPSUBT='TFGEN20003'">
<!-- CONCEPTOS ALUMBRADO PUBLICO!-->
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="9.0cm"/>
<fo:table-column column-width="2.5cm"/>
<fo:table-footer>
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt" font-weight="bold"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN20003']/TEXTO"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt" font-weight="bold"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN20003']/IMPORTE"/> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-footer> <fo:table-body> <xsl:for-each select="SERVICIOS/DETCONCEPTOS/CONCEPTOLIST/ CONCEPTO[TIPSUBT='TFGEN20003']">
<fo:table-row>
<fo:table-cell number-columns-spanned="2" display-align="before"> <fo:block span="none"><!-- GENERATE TABLE START-->
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="9.0cm"/>
<fo:table-column column-width="2.5cm"/>
<fo:table-body>
<xsl:for-each select="CONCEPTODLIST/CONCEPTOD">
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="DDESCONC"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="IMPCONC"/> </fo:block> </fo:table-cell> </fo:table-row> </xsl:for-each></fo:table-body> </fo:table> </fo:block></fo:table-cell> </fo:table-row> </xsl:for-each></fo:table-body> </fo:table>
</xsl:if>
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row><!--CR-->
<fo:table-cell display-align="before"> <!--CC-->
<!--MARCAS UTILIZADAS PARA EL TOTAL DE LOS CONCEPTOS O EL TRANSPORTE-- <fo:marker marker-class-name="table-caption-continued"> (continued)</fo:marker> <fo:marker marker-class-name="table-footer-continued">
<fo:block text-align="end" white-space-collapse="false" linefeed-treatment="preserve" > <xsl:text>Total : </xsl:text> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ PIE/RECAUDADOR/IMPTOTAL"/> </fo:block>
</fo:marker>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:flow>
<fo:flow flow-name="D-COMPLEMENTARIA">
<!-- Información Complementaria **** HAY QUE PONER UN IF POR EL TIPO DE MENSAJE-->
<fo:block-container position="absolute" top="0cm" left="0.0cm" height="4.0cm" width="14.0cm" > <fo:block span="none"> <!--Tabla de mensajes Info Complementaria--> <fo:table table-layout="fixed"> <fo:table-column column-width="14.0cm"/> <fo:table-body> <xsl:for-each select="SERVICIOS/PIE/COMPLEMENTARIA/COMPLEMENTLIST/ MESSAGES/MESSAGES/MESSAGE_DATA">
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block padding-top="0.1933cm" line-height="0.46392cm" white-space- collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="TEXT"/> </fo:block> </fo:table-cell> </fo:table-row> </xsl:for-each> </fo:table-body> </fo:table> </fo:block> </fo:block-container> </fo:flow>
<fo:flow flow-name="D-SUSPENCION">
<!-- **************Información SUSPENCION ***************-->
<xsl:if test="SERVICIOS/PIE/AVISO/MAVISOLIST/MAVISO">
<fo:block-container position="absolute" top="0cm" left="0.0cm" height="4.8cm" width="4.8cm" > <fo:block span="none"> <!--Tabla de mensajes Info Complementaria--> <fo:table table-layout="fixed"> <fo:table-column column-width="4.8cm"/> <fo:table-body> <xsl:for-each select="SERVICIOS/PIE/AVISO">
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block>
<fo:marker marker-class-name="continued">Continued</fo:marker> <fo:marker marker-class-name="total" /> </fo:block>
<fo:block padding-top="0.1933cm" line-height="0.30cm" white-space- collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font-family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="AVISOTEXT"/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:for-each>
</fo:table-body>
</fo:table>
<fo:table table-layout="fixed">
<fo:table-column column-width="0.80cm"/>
<fo:table-column column-width="1.00cm"/>
<fo:table-column column-width="1.00cm"/>
<fo:table-column column-width="1.00cm"/>
<fo:table-column column-width="1.00cm"/>
<fo:table-header>
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="5.0pt" text-decoration="underline"> <fo:inline text-decoration="underline"><xsl:text>Período</xsl:text></ fo:inline></fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="5.0pt" text-decoration="underline"> <fo:inline text-decoration="underline"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/AVISO/ MAVISOLIST/MAVISO/SERVICIO1"/> </fo:inline> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="5.0pt" text-decoration="underline"> <fo:inline text-decoration="underline"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/AVISO/ MAVISOLIST/MAVISO/SERVICIO2"/> </fo:inline> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="5.0pt" text-decoration="underline"> <fo:inline text-decoration="underline"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/AVISO/ MAVISOLIST/MAVISO/SERVICIO3"/> </fo:inline> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="5.0pt" text-decoration="underline"> <fo:inline text-decoration="underline"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/AVISO/ MAVISOLIST/MAVISO/SERVICIO4"/> </fo:inline> </fo:block> </fo:table-cell>
</fo:table-row>
</fo:table-header>
<fo:table-body>
<xsl:for-each select="SERVICIOS/PIE/AVISO/MAVISOLIST">
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="MAVISO/PERIODO"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="MAVISO/IMPORTE1"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="MAVISO/IMPORTE2"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="MAVISO/IMPORTE3"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="MAVISO/IMPORTE4"/> </fo:block> </fo:table-cell> </fo:table-row> </xsl:for-each></fo:table-body> </fo:table> </fo:block> </fo:block-container> </xsl:if> </fo:flow>
</fo
age-sequence>
</fo:root>
</xsl:template>
</xsl:stylesheet>
public static void XSLFormatterConvertFileTranslet(String args ) { try {
FileOutputStream fosFo=null;
FileInputStream fisFo=null;
XfoObj axfo = null;
FileOutputStream fosPdf = null;
axfo = new XfoObj;
axfo.setExitLevel(4);
// 0. Indicar que vamos a usar el generador de Translets String key = "javax.xml.transform.TransformerFactory"; String value = "org.apache.xalan.xsltc.trax.TransformerFactoryImpl"; Properties props = System.getProperties; props.put(key, value); System.setProperties(props);
// 1. Crear un TransformerFactory.
TransformerFactory tFactory = TransformerFactory.newInstance; javax.xml.transform.Transformer transformer; tFactory.setAttribute("generate-translet", Boolean.TRUE); tFactory.setAttribute("auto-translet", Boolean.TRUE); tFactory.setAttribute("destination-directory", "translets");
// 2. Usar el TransformerFactory para procesar la XSL // y generar el transformador. transformer = tFactory.newTransformer(new StreamSource(args [0])); // xsl
File tempFo=null;
tempFo=File.createTempFile("temp_",".fo");
fosFo = new FileOutputStream(tempFo);
// 3.Usar el transformador para procesar el origen de datos XML // y obtener el resultado de la transformación transformer.transform(new StreamSource(args [1]), //XML new StreamResult(new FileOutputStream("temp_.fo")));
fisFo = new FileInputStream(tempFo);
axfo.render(fisFo, fosPdf, "@PDF");
} catch (Exception e) {
e.printStackTrace;
}
}
ERRORS :
ERROR: 'Character conversion error: "Malformed UTF-8 char -- is an XML encoding declaration missing?" (line number may be too low).'
FATAL ERROR: 'Could not compile stylesheet'
javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet at org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:
824)
at
org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:
613)
at
isf.domain.gcpr.XSLHelper.XSLFormatterConvertFileTranslet(XSLHelper.java:
246)
at
isf.domain.gccom.pr.XSLActivityService.processFile(XSLActivityService.java:
126)
at
isf.domain.gccom.pr.XSLActivityService.execute(XSLActivityService.java:
45)
at isf.domain.Domain.execute(Domain.java:189)
at isf.domain.gcwa.GcwaBasicActivity.run(GcwaBasicActivity.java:247) at java.lang.Thread.run(Thread.java:534) 14-04-08 18:20:32 sundesasl.5000381.5000333.1234503.10 ERRO isf.domain.gccom.pr.XSLActivityService processFile 120 xml
************/sgcv10/software/OpenCM/Files/gccb/INVOICED_20080416/ Normales/tmp_000367.pdf 14-04-08 18:20:32 sundesasl.5000381.5000333.1234503.10 ERRO isf.domain.gccom.pr.XSLActivityService processFile 121 /sgcv10/ software/OpenCM/server/Templates/fooo.xsl
ERROR: 'The input document is not a stylesheet (the XSL namespace is not declared in the root element).'
FATAL ERROR: 'Could not compile stylesheet'
javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet at org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:
824)
at
org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:
613)
at
isf.domain.gcpr.XSLHelper.XSLFormatterConvertFileTranslet(XSLHelper.java:
246)
at
isf.domain.gccom.pr.XSLActivityService.processFile(XSLActivityService.java:
126)
at
isf.domain.gccom.pr.XSLActivityService.execute(XSLActivityService.java:
45)
at isf.domain.Domain.execute(Domain.java:189)
at isf.domain.gcwa.GcwaBasicActivity.run(GcwaBasicActivity.java:247) at java.lang.Thread.run(Thread.java:534) 14-04-08 18:20:32 sundesasl.5000381.5000333.1234503.10 ERRO isf.domain.gccom.pr.XSLActivityService processFile 122 /sgcv10/ software/OpenCM/Files/gccb/INVOICED_20080416/Normales/tmp_000367.pdf
ERROR: 'The input document is not a stylesheet (the XSL namespace is not declared in the root element).'
FATAL ERROR: 'Could not compile stylesheet'
javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet at org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:
824)
at
org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:
613)
at
isf.domain.gcpr.XSLHelper.XSLFormatterConvertFileTranslet(XSLHelper.java:
246)
at
isf.domain.gccom.pr.XSLActivityService.processFile(XSLActivityService.java:
126)
at
isf.domain.gccom.pr.XSLActivityService.execute(XSLActivityService.java:
45)
at isf.domain.Domain.execute(Domain.java:189)
at isf.domain.gcwa.GcwaBasicActivity.run(GcwaBasicActivity.java:247) at java.lang.Thread.run(Thread.java:534)
ERROR: 'The input document is not a stylesheet (the XSL namespace is not declared in the root element).'
FATAL ERROR: 'Could not compile stylesheet'
XSL :
<?xml version="1.0"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:Fox="http://xml.apache.org/fop/extensions"> <!--xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.1"> -->
<xsl
<xsl:template match="IMPFAC">
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<!-- Inicio definición de LAYOUT-->
<fo:layout-master-set>
<!-- LAYOUT para todas las paginas menos LA ULTIMA -->
<fo:simple-page-master master-name="a4any" page-height="35.50cm" page- width="21.50cm" margin-top="1.0cm" margin-left="1.0cm" margin- bottom="1.0cm" margin-right="1.0cm"> <fo:region-body margin-left="1.0cm" margin-top="1.0cm" margin- bottom="9.5cm" margin-right="1.0cm"/> <fo:region-before extent="1.0cm" precedence="true"/> <fo:region-after region-name="footer-any" extent="4.5cm" precedence="true"/> <fo:region-start extent="1.0cm" precedence="false"/> <fo:region-end extent="1cm" precedence="false"/>
<fo:region-body region-name="CONSUMOS"
margin-top="5cm" margin-bottom="9cm"
margin-left="0.1cm" margin-right="14cm"/>
<fo:region-body region-name="CONCEPTOS"
margin-top="5cm" margin-bottom="9cm"
margin-left="7.9cm" margin-right="0.2cm"/>
<fo:region-body region-name="SUSPENCION"
margin-top="25.3cm" margin-bottom="3.5cm"
margin-left="0.1cm" margin-right="14.5cm"/>
<fo:region-body region-name="COMPLEMENTARIA"
margin-top="25.9cm" margin-bottom="3.5cm"
margin-left="5.5cm" margin-right="0.2cm"/>
</fo:simple-page-master>
<!-- LAYOUT para LA ULTIMA PAGINA-->
<fo:simple-page-master master-name="a4last" page-height="35.50cm" page- width="21.50cm" margin-top="1.0cm" margin-left="1.0cm" margin- bottom="1.0cm" margin-right="1.0cm"> <fo:region-body margin-left="1.0cm" margin-top="1.0cm" margin- bottom="9.5cm" margin-right="1.0cm"/> <fo:region-before extent="1.0cm" precedence="true"/> <fo:region-after region-name="footer-last" extent="4.5cm" precedence="true"/> <fo:region-start extent="1.0cm" precedence="false"/> <fo:region-end extent="1cm" precedence="false"/>
<fo:region-body region-name="CONSUMOS"
margin-top="5cm" margin-bottom="9cm"
margin-left="0.1cm" margin-right="14cm"/>
<fo:region-body region-name="CONCEPTOS"
margin-top="5cm" margin-bottom="9cm"
margin-left="7.9cm" margin-right="0.2cm"/>
<fo:region-body region-name="SUSPENCION"
margin-top="25.3cm" margin-bottom="3.5cm"
margin-left="0.1cm" margin-right="14.5cm"/>
<fo:region-body region-name="COMPLEMENTARIA"
margin-top="25.9cm" margin-bottom="3.5cm"
margin-left="5.5cm" margin-right="0.2cm"/>
</fo:simple-page-master>
<!-- LAYOUT para primera y ULTIMA PAGINA-->
<fo:simple-page-master master-name="a4only" page-height="35.50cm" page- width="21.50cm" margin-top="1.0cm" margin-left="1.0cm" margin- bottom="1.0cm" margin-right="1.0cm">
<fo:region-body margin-left="0.2cm" margin-top="3.0cm" margin- bottom="9.0cm" margin-right="1.0cm"/> <fo:region-before extent="1.0cm" precedence="true"/> <fo:region-after region-name="footer-only" extent="4.5cm" precedence="true"/> <fo:region-start extent="1.0cm" precedence="false"/> <fo:region-end extent="1cm" precedence="false"/>
<fo:region-body region-name="CONSUMOS"
margin-top="5cm" margin-bottom="9cm"
margin-left="0.1cm" margin-right="14cm"/>
<fo:region-body region-name="CONCEPTOS"
margin-top="5cm" margin-bottom="9cm"
margin-left="7.9cm" margin-right="0.2cm"/>
<fo:region-body region-name="SUSPENCION"
margin-top="25.3cm" margin-bottom="3.5cm"
margin-left="0.1cm" margin-right="14.5cm"/>
<fo:region-body region-name="COMPLEMENTARIA"
margin-top="25.9cm" margin-bottom="3.5cm"
margin-left="5.5cm" margin-right="0.2cm"/>
</fo:simple-page-master>
<!-- DEFINICION DE MARCAS-->
<fo
<fo:repeatable-page-master-alternatives>
<fo:conditional-page-master-reference page-position="only" master-reference="a4only"/>
<fo:conditional-page-master-reference page-position="last" master-reference="a4last"/>
<fo:conditional-page-master-reference page-position="any" master-reference="a4any"/>
</fo:repeatable-page-master-alternatives>
</fo
<!-- DEFINICION DE AREAS (Todas las paginas)-->
<fo:flow-map flow-map-name="DETALLE">
<fo:flow-assignment>
<fo:flow-source-list>
<fo:flow-name-specifier flow-name-reference="D-CONSUMOS"/> </fo:flow-source-list> <fo:flow-target-list> <fo:region-name-specifier region-name-reference="CONSUMOS"/> </fo:flow-target-list> </fo:flow-assignment> <fo:flow-assignment> <fo:flow-source-list> <fo:flow-name-specifier flow-name-reference="D-CONCEPTOS"/> </fo:flow-source-list> <fo:flow-target-list> <fo:region-name-specifier region-name-reference="CONCEPTOS"/> </fo:flow-target-list> </fo:flow-assignment> <fo:flow-assignment> <fo:flow-source-list> <fo:flow-name-specifier flow-name-reference="D-SUSPENCION"/> </fo:flow-source-list> <fo:flow-target-list> <fo:region-name-specifier region-name-reference="SUSPENCION"/> </fo:flow-target-list> </fo:flow-assignment> <fo:flow-assignment> <fo:flow-source-list> <fo:flow-name-specifier flow-name-reference="D-COMPLEMENTARIA"/> </fo:flow-source-list> <fo:flow-target-list> <fo:region-name-specifier region-name-reference="COMPLEMENTARIA"/> </fo:flow-target-list> </fo:flow-assignment> </fo:flow-map>
</fo:layout-master-set>
<!-- Fin de definición de LAYOUT-->
<!-- ESCRITURA DEL DOCUMENTO GENERAL-->
<!-- CABECERA-->
<fo
<fo:block-container position="absolute" top="0.7cm" left="4.4cm" height="0.5cm" width="9.0cm"> <fo:block line-height="0.5cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="start" position="relative" top="0.4cm" left="4.4cm" height="0.5cm" width="9.0cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/NOMCLIE"/ </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="0.7cm" left="13.5cm" height="1.0cm" width="2.8cm"> <fo:block line-height="0.5cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="0.7cm" left="13.5cm" height="1.0cm" width="2.8cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/ IDSUPPLY"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="0.7cm" left="16.3cm" height="1.0cm" width="3.0cm"> <fo:block line-height="0.5cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="0.7cm" left="16.3cm" height="1.0cm" width="3.0cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/NROFACT"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="1.7cm" left="4.4cm" height="0.5cm" width="12.0cm"> <fo:block line-height="0.5cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="start" position="relative" top="1.7cm" left="4.4cm" height="0.5cm" width="12.0cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/DOMICEN"/> </fo:block>
</fo:block-container>
<fo:block-container position="absolute" top="1.7cm" left="16.5cm" height="0.5cm" width="3.0cm"> <fo:block line-height="0.5cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="1.7cm" left="16.5cm" height="0.5cm" width="1.96817cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/FVENCIM"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="2.5cm" left="4.2cm" height="0.5cm" width="5.0cm"> <fo:block line-height="0.5cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="2.5cm" left="4.2cm" height="0.5cm" width="6.92375cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/CONDFIS"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="2.5cm" left="9.5cm" height="0.5cm" width="3.3cm"> <fo:block line-height="0.5cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="2.5cm" left="9.5cm" height="0.5cm" width="3.3cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/CUIT"/> </fo:block>
</fo:block-container>
<fo:block-container position="absolute" top="2.5cm" left="13.2cm" height="0.5cm" width="3.5cm"> <fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="center" position="relative" top="2.5cm" left="13.2cm" height="0.5cm" width="3.5cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/IBRUTOS"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="2.2cm" left="16.9cm" height="0.56233cm" width="1.89788cm" display-align="before"> <fo:block line-height="0.50961cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" position="relative" top="2.2cm" left="16.9cm" height="0.56233cm" width="1.89788cm" color="#000000" font-family="Arial" font-size="8.0pt">hoja <fo
<fo:block-container position="absolute" top="3.4cm" left="4.0cm" height="0.5cm" width="2.5cm"> <fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="center" position="relative" top="3.4cm" left="12.8cm" height="0.5cm" width="2.5cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/PERFACT"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="3.4cm" left="6.8cm" height="0.5cm" width="2.5cm"> <fo:block line-height="0.5cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="3.4cm" left="6.8cm" height="0.5cm" width="2.5cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/FFACTUR"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="3.4cm" left="9.5cm" height="0.5cm" width="2.5cm"> <fo:block line-height="0.5cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="3.4cm" left="9.5cm" height="0.5cm" width="2.5cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/FULPBCO"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="3.4cm" left="12.3cm" height="0.5cm" width="2.5cm"> <fo:block line-height="0.5cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="3.4cm" left="12.3cm" height="0.5cm" width="2.5cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/FPVENCIM"/</fo:block> </fo:block-container>
<fo:block-container position="absolute" top="3.4cm" left="15cm" height="0.5cm" width="2.5cm"> <fo:block line-height="0.5cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="3.4cm" left="15cm" height="0.5cm" width="2.5cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/SECIMP"/> </fo:block> </fo:block-container>
</fo:static-content>
<!-- PIE DE PAGINA DE LA ULTIMA PAGINA-->
<fo:static-content flow-name="footer-last">
<!-- RECAUDADOR-->
<!-- ***** AVISO DE CORTE PARA EL TALON RECAUDADOR-->
<xsl:if test="SERVICIOS/PIE/AVISO/DEUDA">
<fo:block-container position="absolute" top="1.0cm" left="0.05cm" height="0.50cm" width="2.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="left" position="relative" top="1.0cm" left="0.05cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt"> <fo:inline> <xsl:text>Referencia : </xsl:text></fo:inline> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="1.0cm" left="1.5cm" height="0.50cm" width="2.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="1.0cm" left="1.5cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/AVISO/ REFERENCIA"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="1.5cm" left="0.05cm" height="0.50cm" width="2.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="left" position="relative" top="1.5cm" left="0.05cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt"> <fo:inline> <xsl:text>Deuda : </xsl:text></fo:inline> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="1.5cm" left="1.5cm" height="0.50cm" width="2.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="1.5cm" left="1.5cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/AVISO/ DEUDA"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="2.1cm" left="0.50cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="2.1cm" left="0.50cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt" text- decoration="underline"> <fo:inline> <xsl:text>Ultimo Pago </xsl:text></fo:inline> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="2.5cm" left="0.50cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="2.5cm" left="0.5cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/AVISO/ ULTIMOPAGO"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="2.1cm" left="2.50cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="2.1cm" left="0.50cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt" text- decoration="underline"> <fo:inline> <xsl:text>Fecha Corte </xsl:text></fo:inline> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="2.5cm" left="2.50cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="2.5cm" left="0.5cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/AVISO/ FECHACORTE"/> </fo:block> </fo:block-container> </xsl:if>
<!-- ***** FIN AVISO DE CORTE PARA EL TALON RECAUDADOR-->
<!-- ***** RESTO DEL TALON RECAUDADOR-->
<fo:block-container position="absolute" top="3.0cm" left="6.00cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="3.0cm" left="6.00cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/PERFACT"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="4.0cm" left="6.00cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50" white-space-collapse="false" linefeed- treatment="preserve" text-align="start" position="relative" top="4.0cm" left="8.5cm" height="0.50cm" width="1.50cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/FULPBCO"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="2.0cm" left="9.00cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="2.0cm" left="9.00cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/FFACTUR"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="3.0cm" left="9.00cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.46392cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="center" position="relative" top="3.0cm" left="9.00cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/FVENCIM"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="4.0cm" left="9.50cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50" white-space-collapse="false" linefeed- treatment="preserve" text-align="start" position="relative" top="4.0cm" left="8.5cm" height="0.50cm" width="1.50cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/ RECAUDADOR/IMPTOTAL"/> </fo:block> </fo:block-container>
<!-- Tabla de Subtotales que integran la factura-->
<fo:block-container position="absolute" top="1.50cm" left="13.2182cm" height="2.70624cm" width="4.42839cm" > <fo:block span="none"><!-- GENERATE TABLE START-->
<fo:table table-layout="fixed">
<fo:table-column column-width="3.0cm"/>
<fo:table-column column-width="2.81167cm"/>
<fo:table-footer>
<fo:table-row>
<fo:table-cell/><fo:table-cell border-top-style="solid" border-top- width="0.03513cm" border-top-color="#000000" display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="PIE/RECAUDADOR/ IMPTOTAL"/> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-footer> <fo:table-body> <xsl:for-each select="SERVICIOS/PIE/RECAUDADOR/RECAUDALIST/RECAUDA">
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="EMPRESA"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="IMPSUBT"/> </fo:block> </fo:table-cell> </fo:table-row> </xsl:for-each></fo:table-body> </fo:table> </fo:block></fo:block-container>
<!-- Código de barra ente recaudador-->
<fo:block-container position="absolute" top="3.0cm" left="13.20cm" height="1cm" width="6cm"> <fo:block line-height="0.46392cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" position="relative" top="3.0cm" left="13.20cm" height="1cm" width="5cm" color="#000000" font-family="BARRA" font-size="10.0pt"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/ RECAUDADOR/BARRAR"/> </fo:block>
<fo:block line-height="1.0cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="start" position="inherit" top="5.0cm" left="13.20cm" height="1cm" width="8cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/ RECAUDADOR/TEXTOBARRAR"/> </fo:block>
</fo:block-container>
<fo:block/>
<!-- ***** FIN RESTO DEL TALON RECAUDADOR-->
<!-- FIN PIE DE PAGINA PARA PAGINA FINAL-->
</fo:static-content>
<!-- PIE DE PAGINA DE LA ULTIMA PAGINA-->
<fo:static-content flow-name="footer-only">
<!-- RECAUDADOR-->
<!-- ***** AVISO DE CORTE PARA EL TALON RECAUDADOR-->
<xsl:if test="SERVICIOS/PIE/AVISO/DEUDA">
<fo:block-container position="absolute" top="1.0cm" left="0.05cm" height="0.50cm" width="2.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="left" position="relative" top="1.0cm" left="0.05cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt"> <fo:inline> <xsl:text>Referencia : </xsl:text></fo:inline> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="1.0cm" left="1.5cm" height="0.50cm" width="2.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="1.0cm" left="1.5cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/AVISO/ REFERENCIA"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="1.5cm" left="0.05cm" height="0.50cm" width="2.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="left" position="relative" top="1.5cm" left="0.05cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt"> <fo:inline> <xsl:text>Deuda : </xsl:text></fo:inline> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="1.5cm" left="1.5cm" height="0.50cm" width="2.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="1.5cm" left="1.5cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/AVISO/ DEUDA"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="2.1cm" left="0.50cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="2.1cm" left="0.50cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt" text- decoration="underline"> <fo:inline> <xsl:text>Ultimo Pago </xsl:text></fo:inline> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="2.5cm" left="0.50cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="2.5cm" left="0.5cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/AVISO/ ULTIMOPAGO"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="2.1cm" left="2.50cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="2.1cm" left="0.50cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt" text- decoration="underline"> <fo:inline> <xsl:text>Fecha Corte </xsl:text></fo:inline> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="2.5cm" left="2.50cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="2.5cm" left="0.5cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/AVISO/ FECHACORTE"/> </fo:block> </fo:block-container>
</xsl:if>
<!-- ***** FIN AVISO DE CORTE PARA EL TALON RECAUDADOR-->
<!-- ***** RESTO DEL TALON RECAUDADOR-->
<fo:block-container position="absolute" top="3.0cm" left="6.00cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="3.0cm" left="6.00cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/PERFACT"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="4.0cm" left="6.00cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50" white-space-collapse="false" linefeed- treatment="preserve" text-align="start" position="relative" top="4.0cm" left="8.5cm" height="0.50cm" width="1.50cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/FULPBCO"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="2.0cm" left="9.00cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="center" position="relative" top="2.0cm" left="9.00cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/FFACTUR"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="3.0cm" left="9.00cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.46392cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="center" position="relative" top="3.0cm" left="9.00cm" height="0.50cm" width="1.5cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="CABECERA/FVENCIM"/> </fo:block> </fo:block-container>
<fo:block-container position="absolute" top="4.0cm" left="9.50cm" height="0.50cm" width="1.5cm"> <fo:block line-height="0.50" white-space-collapse="false" linefeed- treatment="preserve" text-align="start" position="relative" top="4.0cm" left="8.5cm" height="0.50cm" width="1.50cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/ RECAUDADOR/IMPTOTAL"/> </fo:block> </fo:block-container>
<!-- Tabla de Subtotales que integran la factura-->
<fo:block-container position="absolute" top="1.50cm" left="13.2182cm" height="2.70624cm" width="4.42839cm" > <fo:block span="none"><!-- GENERATE TABLE START-->
<fo:table table-layout="fixed">
<fo:table-column column-width="3.0cm"/>
<fo:table-column column-width="2.81167cm"/>
<fo:table-footer>
<fo:table-row>
<fo:table-cell/><fo:table-cell border-top-style="solid" border-top- width="0.03513cm" border-top-color="#000000" display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/ RECAUDADOR/IMPTOTAL"/> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-footer> <fo:table-body> <xsl:for-each select="SERVICIOS/PIE/RECAUDADOR/RECAUDALIST/RECAUDA">
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="EMPRESA"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="IMPSUBT"/> </fo:block> </fo:table-cell> </fo:table-row> </xsl:for-each></fo:table-body> </fo:table> </fo:block></fo:block-container>
<!-- Código de barra ente recaudador-->
<fo:block-container position="absolute" top="3.0cm" left="13.20cm" height="1cm" width="6cm"> <fo:block line-height="0.46392cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" position="relative" top="3.0cm" left="13.20cm" height="1cm" width="5cm" color="#000000" font-family="BARRA" font-size="10.0pt"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/ RECAUDADOR/BARRAR"/> </fo:block>
<fo:block line-height="1.0cm" white-space-collapse="false" linefeed- treatment="preserve" text-align="start" position="inherit" top="5.0cm" left="13.20cm" height="1cm" width="8cm" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/ RECAUDADOR/TEXTOBARRAR"/> </fo:block>
</fo:block-container>
<fo:block/>
<!-- ***** FIN RESTO DEL TALON RECAUDADOR-->
<!-- FIN PIE DE PAGINA PARA PAGINA FINAL-->
</fo:static-content>
<!--PIE DE PAGINA PARA Todas menos PAGINA FINAL-->
<fo:static-content flow-name="footer-any">
<fo:block>
</fo:block>
</fo:static-content>
<fo:static-content flow-name="xsl-region-start">
<fo:block/>
</fo:static-content>
<fo:static-content flow-name="xsl-region-end">
<fo:block/>
</fo:static-content>
<!--CUERPO : DETALLE -->
<fo:flow flow-name="D-CONSUMOS">
<!-- TABLA PRINCIPAL DE CONSUMOS ELECTRICOS-->
<fo:table table-layout="fixed" width="100%" >
<fo:table-column column-width="8.82164cm"/>
<fo:table-header>
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt"> <fo:block text-align="left" white-space-collapse="false" linefeed- treatment="preserve" > <fo:inline> <xsl:text>Suministro Eléctrico. Identificación :</xsl:text></ fo:inline> </fo:inline> <fo:inline> <xsl:text> </xsl:text></fo:inline> <fo:inline> <xsl:text>Ref. de Pago : </xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="CABECERA/REQSEC"/> </fo:inline> <fo:inline> <xsl:text>.</xsl:text></fo:inline> </fo:inline> <fo:inline> <xsl:text>.</xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="CABECERA/SUPPLYS"/> </fo:inline> <fo:inline> <xsl:text>-</xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="CABECERA/FFACTUR"/> </fo:inline> </fo:block> <fo:block text-align="left" white-space-collapse="false" linefeed- treatment="preserve" > <fo:inline> </fo:inline> <fo:inline> <xsl:text>Tarifa: </xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN00001']/ LTARIFA"/> </fo:inline> <fo:inline> <xsl:text> - Pot. Cont : (</xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN00001']/ LUDMPOTC"/> </fo:inline> <fo:inline> <xsl:text>) </xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN00001']/ LPOTENC"/> </fo:inline> </fo:block> <fo:block text-align="left" white-space-collapse="false" linefeed- treatment="preserve" > <fo:inline> </fo:inline> <fo:inline> <xsl:text>Domicilio : </xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN00001']/ LDOMSUM"/> </fo:inline> </fo:block> <fo:block text-align="left" white-space-collapse="false" linefeed- treatment="preserve" > <fo:inline> <xsl:text> </xsl:text></fo:inline> </fo:block> <fo:block text-align="left" white-space-collapse="false" linefeed- treatment="preserve" > <fo:inline> <xsl:text> </xsl:text> </fo:inline> </fo:block> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-header> <!-- TERMINA CABECERA DE TABLA PRINCIPAL CONSUMOS ELECTRICOS-->
<fo:table-body> <!-- COMIENZA CUERPO DE TABLA PRINCIPAL CONSUMOS ELECTRICOS--> <xsl:for-each select="SERVICIOS/DETCONSUMO/DETCONSUMO/CONSUMOLIST/ CONSUMO[TCONSUM='TFGEN00001']"><!--CE--> <fo:table-row><!--CR--> <fo:table-cell display-align="before"> <!--CC--> <fo:block span="all"> <!--CB-->
<!-- Crea TABLA DE MEDIDORES-->
<fo:table table-layout="fixed" width="100%"> <!--MT-->
<fo:table-column column-width="8.7162cm"/>
<fo:table-body><!--MB-->
<xsl:for-each select="MEDIDORLIST/MEDIDOR"><!--ME-->
<fo:table-row><!--MR-->
<fo:table-cell display-align="before"><!--MC-->
<fo:block span="all"> <!--MB-->
<!-- Crea TABLA DE CONSUMOS POR MEDIDOR-->
<fo:table table-layout="fixed" width="100%"> <!--CMT--> <fo:table-column column-width="1.86273cm"/> <fo:table-column column-width="1.33554cm"/> <fo:table-column column-width="1.37069cm"/> <fo:table-column column-width="1.12467cm"/> <fo:table-column column-width="1.40583cm"/>
<fo:table-header><!--CMH-->
<fo:table-row><!--CMHR1-->
<fo:table-cell number-columns-spanned="5" display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt"> <fo:block text-align="left" white-space-collapse="false" linefeed- treatment="preserve" > <fo:inline> <xsl:text>Medidor </xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="NUMMED"/> </fo:inline> </fo:block> <fo:block text-align="left" white-space-collapse="false" linefeed- treatment="preserve" > <fo:inline> </fo:inline> <fo:inline> <xsl:text>Período de Consumo : </xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="MEDCONSLIST/MEDCONS/ PERCONS"/> </fo:inline> </fo:block> </fo:block> </fo:table-cell> </fo:table-row><!--CMHR1-->
<fo:table-row><!--CMHR2-->
<fo:table-cell display-align="before">
<fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:text>Tipo de Consumo</xsl:text></fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:text>Lec. Ant.</xsl:text></fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:text>Lec. Act.</xsl:text></fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:text>Cte.</xsl:text></fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:text>Consumo</xsl:text></fo:block> </fo:table-cell> </fo:table-row><!--CMHR2-->
</fo:table-header><!--CMH-->
<fo:table-footer> <!--CMF-->
<fo:table-row>
<fo:table-cell number-columns-spanned="5" display-align="before"> <fo:block padding-top="0.21087cm" line-height="0.5061cm" white-space- collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font-family="Arial" font-size="12.0pt"> <xsl:text> </xsl:text></fo:block> </fo:table-cell> </fo:table-row> </fo:table-footer> <!--CMF-->
<fo:table-body> <!--CMB-->
<xsl:for-each select="MEDCONSLIST/MEDCONS">
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="justify" color="#000000" font-family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="TIPOCON"/> </fo:block> </fo:table-cell>
<fo:table-cell display-align="before">
<fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="LECANT"/> </fo:block> </fo:table-cell>
<fo:table-cell display-align="before">
<fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="LECACT"/> </fo:block> </fo:table-cell>
<fo:table-cell display-align="before">
<fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="CTE"/> </fo:block> </fo:table-cell>
<fo:table-cell display-align="before">
<fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="CONSUMO"/> </fo:block> </fo:table-cell>
</fo:table-row>
</xsl:for-each>
</fo:table-body> <!--CMB-->
</fo:table><!--CMT-->
</fo:block> <!--MB-->
</fo:table-cell><!--MC-->
</fo:table-row><!--MR-->
</xsl:for-each><!--ME-->
</fo:table-body><!--MB-->
</fo:table><!--MT-->
</fo:block> <!--CB-->
</fo:table-cell><!--CC-->
</fo:table-row><!--CR-->
</xsl:for-each><!--CE-->
</fo:table-body><!--CB-->
</fo:table><!--CT-->
<!-- TABLA PRINCIPAL DE CONSUMOS AGUA-->
<xsl:if test="SERVICIOS/DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO/ TCONSUM='TFGEN20001'">
<!-- GENERATE TABLE START-->
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="8.89193cm"/>
<fo:table-header>
<fo:table-row>
<fo:table-cell border-top-style="dotted" border-top-width="0.03514cm" border-top-color="#000000" display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt"> <fo:block text-align="left" white-space-collapse="false" linefeed- treatment="preserve" > <fo:inline> <xsl:text>Servicio Sanitario.</xsl:text></fo:inline> </fo:block> <fo:block text-align="left" white-space-collapse="false" linefeed- treatment="preserve" > <fo:inline> </fo:inline> <fo:inline> <xsl:text>Loc.: </xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/ ALOCDIS"/> </fo:inline> <fo:inline> <xsl:text> - Catastro:</xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/ ACATAST"/> </fo:inline> <fo:inline> <xsl:text> - Cond.:</xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/ ACONDOM"/> </fo:inline> <fo:inline> <xsl:text> - Cód Serv. :</xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/ ACODSER"/> </fo:inline> </fo:block> <fo:block text-align="left" white-space-collapse="false" linefeed- treatment="preserve" > <fo:inline> </fo:inline> <fo:inline> <xsl:text>Cliente:</xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/ ANUMCTE"/> </fo:inline> <fo:inline> <xsl:text> - Propietario : </xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/ APROPIE"/> </fo:inline> </fo:block> <fo:block text-align="left" white-space-collapse="false" linefeed- treatment="preserve" > <fo:inline> </fo:inline> <fo:inline> <xsl:text>Sec.:</xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/ ASECCION"/> </fo:inline> <fo:inline> <xsl:text> - Mzna.:</xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/ AMANZANA"/> </fo:inline> <fo:inline> <xsl:text> - Parc.:</xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/ APARCEL"/> </fo:inline> <fo:inline> <xsl:text> - Leg.:</xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/ ALEGAJO"/> </fo:inline> <fo:inline> <xsl:text> - Cod.Fact.:</xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/ ACODFAC"/> </fo:inline> </fo:block> <fo:block text-align="left" white-space-collapse="false" linefeed- treatment="preserve" > <fo:inline> <xsl:text> </xsl:text></fo:inline> </fo:block> <fo:block text-align="left" white-space-collapse="false" linefeed- treatment="preserve" > <fo:inline> <xsl:text> </xsl:text></fo:inline> </fo:block> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-header> <fo:table-body> <xsl:for-each select="SERVICIOS/DETCONSUMO/DETCONSUMO/CONSUMOLIST/ CONSUMO[TCONSUM='TFGEN20001']">
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block span="none"><!-- GENERATE TABLE START-->
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="8.78649cm"/>
<fo:table-body>
<xsl:for-each select="MEDIDORLIST/MEDIDOR">
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block span="none"><!-- GENERATE TABLE START-->
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="1.79244cm"/>
<fo:table-column column-width="1.40583cm"/>
<fo:table-column column-width="1.33554cm"/>
<fo:table-column column-width="1.2301cm"/>
<fo:table-column column-width="1.26525cm"/>
<fo:table-header>
<fo:table-row>
<fo:table-cell number-columns-spanned="5" display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt"> <fo:block text-align="left" white-space-collapse="false" linefeed- treatment="preserve" > <fo:inline> <xsl:text>Medidor </xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="NUMMED"/> </fo:inline> </fo:block> <fo:block text-align="left" white-space-collapse="false" linefeed- treatment="preserve" > <fo:inline> </fo:inline> <fo:inline> <xsl:text>PerÃodo de Consumo: </xsl:text></fo:inline> <fo:inline> <xsl:value-of disable-output-escaping="no" select="MEDCONSLIST/MEDCONS/ PERCONS"/> </fo:inline> </fo:block> </fo:block> </fo:table-cell> </fo:table-row>
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:text>Tipo de Consumo</xsl:text></fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:text>Lec. Ant.</xsl:text></fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:text>Lec. Act.</xsl:text></fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:text>Cte.</xsl:text></fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:text>Consumo</xsl:text></fo:block> </fo:table-cell> </fo:table-row> </fo:table-header> <fo:table-footer>
<fo:table-row>
<fo:table-cell number-columns-spanned="5" display-align="before"> <fo:block padding-top="0.21087cm" line-height="0.5061cm" white-space- collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font-family="Arial" font-size="12.0pt"> <xsl:text> </xsl:text></fo:block> </fo:table-cell> </fo:table-row> </fo:table-footer> <fo:table-body>
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="MEDCONSLIST/MEDCONS/ TIPOCON"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="MEDCONSLIST/MEDCONS/ LECANT"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="MEDCONSLIST/MEDCONS/ LECACT"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="MEDCONSLIST/MEDCONS/ CTE"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="MEDCONSLIST/MEDCONS/ CONSUMO"/> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> </fo:block></fo:table-cell> </fo:table-row> </xsl:for-each></fo:table-body> </fo:table> </fo:block></fo:table-cell> </fo:table-row> </xsl:for-each></fo:table-body> </fo:table> </xsl:if> </fo:flow>
<fo:flow flow-name="D-CONCEPTOS">
<!--********* TABLA PRINCIPAL DE LOS CONCEPTOS ************-->
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="9.0cm"/>
<fo:table-column column-width="2.5cm"/>
<fo:table-footer>
<!--DEFINO Y TRAIGO LAS MARCAS PARA EL TOTAL DE LOS CONCEPTOS O EL TRANSPORTE-->
<fo:table-row>
<fo:table-cell
padding-before="2pt"
padding-after="2pt"
border-before-precedence="force"
number-columns-spanned="2"
display-align="center"
text-align="center"
block-progression-dimension="24pt"
<fo:block>
<fo:retrieve-table-marker retrieve-class-name="table- footer-continued" retrieve-position-within-table="last-ending"/> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-footer>
<!--MARCAS UTILIZADAS PARA EL TOTAL DE LOS CONCEPTOS O EL TRANSPORTE-- <fo:marker marker-class-name="table-caption-continued"/> <fo:marker marker-class-name="table-footer-continued"/>
<xsl:for-each select="SERVICIOS/DETCONCEPTOS/CONCEPTOLIST/CONCEPTO"/
<fo:table-row><!--CR--><!--CE-->
<fo:table-cell display-align="before"> <!--CC-->
<fo:marker marker-class-name="table-caption-continued"> (continued)</fo:marker> <fo:marker marker-class-name="table-footer-continued">
- Transporte...-</fo:marker>
<fo:block span="all"> <!--CB-->
<!-- CONCEPTOS ENERGIA-->
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="9.0cm"/>
<fo:table-column column-width="2.5cm"/>
<fo:table-footer>
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt" font-weight="bold"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN00001']/TEXTO"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt" font-weight="bold"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN00001']/IMPORTE"/> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-footer> <fo:table-body> <xsl:for-each select="SERVICIOS/DETCONCEPTOS/CONCEPTOLIST/ CONCEPTO[TIPSUBT='TFGEN00001']">
<fo:table-row>
<fo:table-cell number-columns-spanned="2" display-align="before"> <fo:block span="none"><!-- GENERATE TABLE START-->
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="9.0cm"/>
<fo:table-column column-width="2.5cm"/>
<fo:table-body>
<xsl:for-each select="CONCEPTODLIST/CONCEPTOD">
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="DDESCONC"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="IMPCONC"/> </fo:block> </fo:table-cell> </fo:table-row> </xsl:for-each></fo:table-body> </fo:table> </fo:block></fo:table-cell> </fo:table-row> </xsl:for-each></fo:table-body> </fo:table>
<!--FIN CONCEPTOS ENERGIA!-->
<xsl:if test="SERVICIOS/DETCONCEPTOS/CONCEPTOLIST/CONCEPTO/ TIPSUBT='TFGEN20001'">
<!-- CONCEPTOS SANITARIOS!-->
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="9.0cm"/>
<fo:table-column column-width="2.5cm"/>
<fo:table-footer>
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt" font-weight="bold"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN20001']/TEXTO"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt" font-weight="bold"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN20001']/IMPORTE"/> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-footer> <fo:table-body> <xsl:for-each select="SERVICIOS/DETCONCEPTOS/CONCEPTOLIST/ CONCEPTO[TIPSUBT='TFGEN20001']">
<fo:table-row>
<fo:table-cell number-columns-spanned="2" display-align="before"> <fo:block span="none"><!-- GENERATE TABLE START-->
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="9.0cm"/>
<fo:table-column column-width="2.5cm"/>
<fo:table-body>
<xsl:for-each select="CONCEPTODLIST/CONCEPTOD">
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="DDESCONC"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="IMPCONC"/> </fo:block> </fo:table-cell> </fo:table-row> </xsl:for-each></fo:table-body> </fo:table> </fo:block></fo:table-cell> </fo:table-row> </xsl:for-each></fo:table-body> </fo:table>
</xsl:if>
<!-- FIN CONCEPTOS SANITARIO!-->
<xsl:if test="SERVICIOS/DETCONCEPTOS/CONCEPTOLIST/CONCEPTO/ TIPSUBT='TFGEN20002'">
<!-- CONCEPTOS TGI!-->
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="9.0cm"/>
<fo:table-column column-width="2.5cm"/>
<fo:table-footer>
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt" font-weight="bold"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN20002']/TEXTO"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt" font-weight="bold"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN20002']/IMPORTE"/> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-footer> <fo:table-body> <xsl:for-each select="SERVICIOS/DETCONCEPTOS/CONCEPTOLIST/ CONCEPTO[TIPSUBT='TFGEN20002']">
<fo:table-row>
<fo:table-cell number-columns-spanned="2" display-align="before"> <fo:block span="none"><!-- GENERATE TABLE START-->
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="9.0cm"/>
<fo:table-column column-width="2.5cm"/>
<fo:table-body>
<xsl:for-each select="CONCEPTODLIST/CONCEPTOD">
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="DDESCONC"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="IMPCONC"/> </fo:block> </fo:table-cell> </fo:table-row> </xsl:for-each></fo:table-body> </fo:table> </fo:block></fo:table-cell> </fo:table-row> </xsl:for-each></fo:table-body> </fo:table> </xsl:if> <!-- FIN CONCEPTOS TGI!-->
<xsl:if test="SERVICIOS/DETCONCEPTOS/CONCEPTOLIST/CONCEPTO/ TIPSUBT='TFGEN20003'">
<!-- CONCEPTOS ALUMBRADO PUBLICO!-->
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="9.0cm"/>
<fo:table-column column-width="2.5cm"/>
<fo:table-footer>
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt" font-weight="bold"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN20003']/TEXTO"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt" font-weight="bold"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN20003']/IMPORTE"/> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-footer> <fo:table-body> <xsl:for-each select="SERVICIOS/DETCONCEPTOS/CONCEPTOLIST/ CONCEPTO[TIPSUBT='TFGEN20003']">
<fo:table-row>
<fo:table-cell number-columns-spanned="2" display-align="before"> <fo:block span="none"><!-- GENERATE TABLE START-->
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="9.0cm"/>
<fo:table-column column-width="2.5cm"/>
<fo:table-body>
<xsl:for-each select="CONCEPTODLIST/CONCEPTOD">
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="DDESCONC"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.3374cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="IMPCONC"/> </fo:block> </fo:table-cell> </fo:table-row> </xsl:for-each></fo:table-body> </fo:table> </fo:block></fo:table-cell> </fo:table-row> </xsl:for-each></fo:table-body> </fo:table>
</xsl:if>
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row><!--CR-->
<fo:table-cell display-align="before"> <!--CC-->
<!--MARCAS UTILIZADAS PARA EL TOTAL DE LOS CONCEPTOS O EL TRANSPORTE-- <fo:marker marker-class-name="table-caption-continued"> (continued)</fo:marker> <fo:marker marker-class-name="table-footer-continued">
<fo:block text-align="end" white-space-collapse="false" linefeed-treatment="preserve" > <xsl:text>Total : </xsl:text> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/ PIE/RECAUDADOR/IMPTOTAL"/> </fo:block>
</fo:marker>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:flow>
<fo:flow flow-name="D-COMPLEMENTARIA">
<!-- Información Complementaria **** HAY QUE PONER UN IF POR EL TIPO DE MENSAJE-->
<fo:block-container position="absolute" top="0cm" left="0.0cm" height="4.0cm" width="14.0cm" > <fo:block span="none"> <!--Tabla de mensajes Info Complementaria--> <fo:table table-layout="fixed"> <fo:table-column column-width="14.0cm"/> <fo:table-body> <xsl:for-each select="SERVICIOS/PIE/COMPLEMENTARIA/COMPLEMENTLIST/ MESSAGES/MESSAGES/MESSAGE_DATA">
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block padding-top="0.1933cm" line-height="0.46392cm" white-space- collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font-family="Arial" font-size="8.0pt"> <xsl:value-of disable-output-escaping="no" select="TEXT"/> </fo:block> </fo:table-cell> </fo:table-row> </xsl:for-each> </fo:table-body> </fo:table> </fo:block> </fo:block-container> </fo:flow>
<fo:flow flow-name="D-SUSPENCION">
<!-- **************Información SUSPENCION ***************-->
<xsl:if test="SERVICIOS/PIE/AVISO/MAVISOLIST/MAVISO">
<fo:block-container position="absolute" top="0cm" left="0.0cm" height="4.8cm" width="4.8cm" > <fo:block span="none"> <!--Tabla de mensajes Info Complementaria--> <fo:table table-layout="fixed"> <fo:table-column column-width="4.8cm"/> <fo:table-body> <xsl:for-each select="SERVICIOS/PIE/AVISO">
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block>
<fo:marker marker-class-name="continued">Continued</fo:marker> <fo:marker marker-class-name="total" /> </fo:block>
<fo:block padding-top="0.1933cm" line-height="0.30cm" white-space- collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font-family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="AVISOTEXT"/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:for-each>
</fo:table-body>
</fo:table>
<fo:table table-layout="fixed">
<fo:table-column column-width="0.80cm"/>
<fo:table-column column-width="1.00cm"/>
<fo:table-column column-width="1.00cm"/>
<fo:table-column column-width="1.00cm"/>
<fo:table-column column-width="1.00cm"/>
<fo:table-header>
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="5.0pt" text-decoration="underline"> <fo:inline text-decoration="underline"><xsl:text>Período</xsl:text></ fo:inline></fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="5.0pt" text-decoration="underline"> <fo:inline text-decoration="underline"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/AVISO/ MAVISOLIST/MAVISO/SERVICIO1"/> </fo:inline> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="5.0pt" text-decoration="underline"> <fo:inline text-decoration="underline"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/AVISO/ MAVISOLIST/MAVISO/SERVICIO2"/> </fo:inline> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="5.0pt" text-decoration="underline"> <fo:inline text-decoration="underline"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/AVISO/ MAVISOLIST/MAVISO/SERVICIO3"/> </fo:inline> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="5.0pt" text-decoration="underline"> <fo:inline text-decoration="underline"> <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/AVISO/ MAVISOLIST/MAVISO/SERVICIO4"/> </fo:inline> </fo:block> </fo:table-cell>
</fo:table-row>
</fo:table-header>
<fo:table-body>
<xsl:for-each select="SERVICIOS/PIE/AVISO/MAVISOLIST">
<fo:table-row>
<fo:table-cell display-align="before">
<fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="MAVISO/PERIODO"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="MAVISO/IMPORTE1"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="MAVISO/IMPORTE2"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="MAVISO/IMPORTE3"/> </fo:block> </fo:table-cell> <fo:table-cell display-align="before"> <fo:block line-height="0.25305cm" white-space-collapse="false" linefeed-treatment="preserve" text-align="end" color="#000000" font- family="Arial" font-size="6.0pt"> <xsl:value-of disable-output-escaping="no" select="MAVISO/IMPORTE4"/> </fo:block> </fo:table-cell> </fo:table-row> </xsl:for-each></fo:table-body> </fo:table> </fo:block> </fo:block-container> </xsl:if> </fo:flow>
</fo
</fo:root>
</xsl:template>
</xsl:stylesheet>