org.xml.sax.SAXParseException: Content is not allowed in prolog
i post my 3 files tks----- Original Message ----- From: "Jeremias Maerki" <[EMAIL PROTECTED]>
To: <[email protected]> Sent: Thursday, February 07, 2008 9:51 AM Subject: Re: Apache errors You'll have a much easier time if you just run the XSLT transformation without FOP. Then you can inspect the generated XSL-FO. That should help you figure out the problem. On the command-line you can use the -foout option instead of -pdf to just generated the XSL-FO file. BTW, posting an XSLT alone usually doesn't help because without knowing how the XML looks like, most people won't even look at it because they can't run it. Given the error message, you probably need to make sure in your XSLT that you don't generate any table-cells if you don't have content for them. As a dirty hack you can try to use the -r (relaxed validation) option on the command-line. That will overlook empty table-cells. But empty table-cells are illegal so you should avoid them using XSLT means. That's why it's a dirty hack. Good luck! On 07.02.2008 12:57:50 Cristian Ferrero wrote:
Hi again...i can' t complete my xsl - fo conversion because a couple of errors that i can't get wich is the reason, i made my xsl with XSL FAST, then i fix a few things that Apache fop needs , by still have a couple of errors and i can't get the reason... first is a warning : ADVERTENCIA: Mismatch: table-cell (http://www.w3.org/1999/XSL/Format) vs. root ( http://www.w3.org/1999/XSL/Format) another is an error : GRAVE: Exception javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: Error(Unknown location): fo:table-cell is missing child elements. Required Content Model: marker* (%block;)+ at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115) at org.apache.fop.cli.Main.startFOP(Main.java:166) at org.apache.fop.cli.Main.main(Main.java:197) i attach my xsl...really thanks...
Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
<?xml version="1.0" encoding="UTF-8"?>ENERGIA005POLIMETAL S.A0000-000000011010;ANCHORADE;BEND;DESCHUTES;OREGON;654331232;05022008IVA RESPONSABLE INSCRIPTO30-61651206-2ALCANZADO20061002/11/200602/11/200624/11/2004E:21/10/2007r30-I:340r466/7E:21/10/2007r30-I:340r466/7110041001050208 TFGEN000011004100T3-BT456KwhCALLE 106 NRO PUERTA 146, PARQUE INDUSTRIAL SUR , SALTAABB A1R 9615502 (electricidad)26/11/2007 - 30/11/2007Activa - Punta6076411200.00408000.5926/11/2007 - 30/11/2007Activa - Valle6246631200468000.5926/11/2007 - 30/11/2007Activa - Resto2015211312001176000.5926/11/2007 - 30/11/2007Reactiva1394149512001212000.5926/11/2007 - 30/11/2007Pot. Reg. Punta77250805200,12003920.5926/11/2007 - 30/11/2007Pot. Reg. Valle146054300,12004760.5926/11/2007 - 30/11/2007Pot. Reg. Resto65210684100,12003840.59ABB A1R 9615503. (electricidad)26/11/2007 - 30/11/2007Activa - Punta6076411200.00408000.5926/11/2007 - 30/11/2007Activa - Valle6246631200468000.5926/11/2007 - 30/11/2007Activa - Resto2015211312001176000.5926/11/2007 - 30/11/2007Reactiva1394149512001212000.5926/11/2007 - 30/11/2007Pot. Reg. Punta77250805200,12003920.5926/11/2007 - 30/11/2007Pot. Reg. Valle146054300,12004760.5926/11/2007 - 30/11/2007Pot. Reg. Resto65210684100,12003840.59TFGEN20002009671000010444Polimetal S.A.C00604100001GALILEO 999UO (agua potable)26/11/2007 - 30/11/2007Metros Cubicos20045674550,10004741TFGEN20000129774.25Subtotal Suministro de ElectricidadUNOUNOCargo Fijo Mensual (12/365 X 30 dias a 182.0048 $/mes)179,51DOSDOSEnergÃa Activa Punta (40800 kWh a 0.118 $/Kwh)4561,44TRESTRESEnergÃa Activa Valle (46800 kWh a 0.0882 $/kWh)4127,66CUATROCUATROEnergÃa Activa Resto (117600 Kwh a 0.1398 $/Kwh)11407,20CINCOCINCOMáxima Cap. Suministro (a 6.3758 $/KW mes)3056,19SEISSEISIVA RESPONABLE INSCRIPTO (27%)6299,66SIETESIETEImpuesto Nacional Ley 23681 (0.6%)139,.99OCHOOCHOIncidencia Alumbrado Publico (18.747 kWh a 0.1398 $/Kwh)2,62TFGEN000129.51Subtotal a nombre y por cuenta y orden de SPASSAUNOUNOServicios Sanitarios21,47DOSDOSIntereses por pago fuera de término (2006/08)Tasa de Fiscalización y control (2%)TRESTRESIVA RESPONSABLE INSCRIPTO (27%)6.18CUATROCUATROIVA RESPONSABLE INSCRIPTO (27%)6,18TFGEN2000210Subtotal a nombre y por cuenta y orden de Munic. de SaltaUNOUNOTasa General de Inmbuebles10TFGEN200034,43Subtotal a nombre y por cuenta y orden de LSAL UTEUNOUNOOperación y Mantenimiento Red Alumbrado Público3,45DOSIntereses por pago fuera de términoIntereses por pago fuera de término (2006/08)0,21TRESIVA RESPONSABLE INSCRIPTOIVA RESPONSABLE INSCRIPTO (21%)0,77 REGINS15000MSGTYPNo registra pagos desde el 21/09/2006 a la fecha de emisión LAH16000MSGTYPCodigo de Pago Banelco 1004100Electricidad29774,25SPASSA29,51TGI10,00LUZSAL UTE4,43Ref. pago 0.1004100.01-19/10/2006 dv:4510041000119102006000208878
<?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet xmlns:fox="http://xml.apache.org/fop/extensions" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:saxon="http://icl.com/saxon" extension-element-prefixes="saxon" > <xsl:template match="IMPFACT"> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master master-name="pagemaster1" page-height="845.0pt" page-width="598.0pt" margin-top="10.0pt" margin-left="10.0pt" margin-bottom="10.0pt" margin-right="10.0pt"> <fo:region-body margin-left="28.0pt" margin-top="143.0pt" margin-bottom="28.0pt" margin-right="28.0pt"/> <fo:region-before extent="143.0pt" precedence="true"/> <fo:region-after extent="28.0pt" precedence="true"/> <fo:region-start extent="28.0pt" precedence="false"/> <fo:region-end extent="28.0pt" precedence="false"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-name="pagemaster1" master-reference="pagemaster1"> <xsl:attribute name="force-page-count">no-force</xsl:attribute> <fo:static-content flow-name="xsl-region-before"> <fo:block-container position="absolute" top="25.0pt" left="86.0pt" height="19.0pt" width="148.0pt"> <fo:block line-height="9.6pt" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" position="relative" top="25.0pt" left="86.0pt" height="19.0pt" width="148.0pt" 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="25.0pt" left="403.0pt" height="19.0pt" width="71.0pt"> <fo:block line-height="9.6pt" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" position="relative" top="25.0pt" left="403.0pt" height="19.0pt" width="71.0pt" 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="25.0pt" left="481.0pt" height="19.0pt" width="58.0pt"> <fo:block line-height="9.6pt" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" position="relative" top="25.0pt" left="481.0pt" height="19.0pt" width="58.0pt" 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="53.0pt" left="88.0pt" height="19.0pt" width="318.0pt"> <fo:block line-height="9.6pt" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" position="relative" top="53.0pt" left="88.0pt" height="19.0pt" width="318.0pt" 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="53.0pt" left="483.0pt" height="19.0pt" width="56.0pt"> <fo:block line-height="9.6pt" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" position="relative" top="53.0pt" left="483.0pt" height="19.0pt" width="56.0pt" 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="79.0pt" left="305.0pt" height="19.0pt" width="86.0pt"> <fo:block line-height="9.6pt" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" position="relative" top="79.0pt" left="305.0pt" height="19.0pt" width="86.0pt" 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="79.0pt" left="411.0pt" height="19.0pt" width="61.0pt"> <fo:block line-height="9.6pt" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" position="relative" top="79.0pt" left="411.0pt" height="19.0pt" width="61.0pt" 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="109.0pt" left="89.0pt" height="18.0pt" width="51.0pt"> <fo:block line-height="9.6pt" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" position="relative" top="109.0pt" left="89.0pt" height="18.0pt" width="51.0pt" 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="109.0pt" left="145.0pt" height="18.0pt" width="48.0pt"> <fo:block line-height="9.6pt" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" position="relative" top="109.0pt" left="145.0pt" height="18.0pt" width="48.0pt" 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="109.0pt" left="306.0pt" height="18.0pt" width="49.0pt"> <fo:block line-height="9.6pt" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" position="relative" top="109.0pt" left="306.0pt" height="18.0pt" width="49.0pt" 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="109.0pt" left="412.0pt" height="18.0pt" width="59.0pt"> <fo:block line-height="9.6pt" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" position="relative" top="109.0pt" left="412.0pt" height="18.0pt" width="59.0pt" 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="79.0pt" left="89.0pt" height="19.0pt" width="197.0pt"> <fo:block line-height="9.6pt" white-space-collapse="false" linefeed-treatment="preserve" text-align="start" position="relative" top="79.0pt" left="89.0pt" height="19.0pt" width="197.0pt" 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:static-content> <fo:static-content flow-name="xsl-region-after"> <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> <fo:flow flow-name="xsl-region-body"> <fo:block/> <fo:block-container position="absolute" top="4pt" left="2pt" height="752.0pt" width="536.0pt" border-width="1.0pt"> <fo:block span="none" white-space-collapse="false" font-family="Helvetica" font-size="12pt" text-align="start" position="relative" top="44pt" left="27pt" height="752.0pt" width="536.0pt"><fo:instream-foreign-object xmlns:xlink="http://www.w3.org/1999/xlink"><svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="600" height="600" viewBox="0 0 1000 1000"> <g id="test-body-content"><text x="0" y="250" style="opacity:.1; font-family:Arial; font-size:200pt; fill:rgb(200,200,200)">XSLfast</text><text x="50" y="420" style="opacity:.1; font-family:Arial; font-size:200pt; fill:rgb(200,200,200)">DEMO</text></g></svg></fo:instream-foreign-object></fo:block></fo:block-container><fo:block span="all"><!-- GENERATE TABLE START--> <fo:table table-layout="fixed" width="100%"> <fo:table-column column-width="251.0pt"/> <fo:table-header> <fo:table-row> <fo:table-cell display-align="before"> <fo:block line-height="7.199999999999999pt" 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> <xsl:value-of disable-output-escaping="no" select="CABECERA/IDSUPPLY"/> </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> <xsl:value-of disable-output-escaping="no" select="CABECERA/IDSUPPLY"/> </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> <fo:table-body> <xsl:for-each select="SERVICIOS/DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN00001']"> <fo:table-row> <fo:table-cell display-align="before"> <fo:block span="all"><!-- GENERATE TABLE START--> <fo:table table-layout="fixed" width="100%"> <fo:table-column column-width="248.0pt"/> <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="53.0pt"/> <fo:table-column column-width="38.0pt"/> <fo:table-column column-width="39.0pt"/> <fo:table-column column-width="32.0pt"/> <fo:table-column column-width="40.0pt"/> <fo:table-header> <fo:table-row> <fo:table-cell number-columns-spanned="5" display-align="before"> <fo:block line-height="7.199999999999999pt" 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="7.199999999999999pt" 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="7.199999999999999pt" 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="7.199999999999999pt" 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="7.199999999999999pt" 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="7.199999999999999pt" 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 line-height="14.399999999999999pt" 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> <xsl:for-each select="MEDCONSLIST/MEDCONS"> <fo:table-row> <fo:table-cell display-align="before"> <fo:block line-height="7.199999999999999pt" 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="7.199999999999999pt" 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="7.199999999999999pt" 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="7.199999999999999pt" 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="7.199999999999999pt" 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> </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> </fo:block><fo:block span="none"><!-- GENERATE TABLE START--> <fo:table table-layout="fixed" width="100%"> <fo:table-column column-width="253.0pt"/> <fo:table-header> <fo:table-row> <fo:table-cell border-top-style="solid" border-top-width="1.0pt" border-top-color="#000000" display-align="before"> <xsl:if test="SERVICIOS/DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO/TCONSUM='TFGEN20001'"><fo:block line-height="7.199999999999999pt" 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> </xsl:if> </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="250.0pt"/> <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="51.0pt"/> <fo:table-column column-width="40.0pt"/> <fo:table-column column-width="38.0pt"/> <fo:table-column column-width="32.0pt"/> <fo:table-column column-width="36.0pt"/> <fo:table-header> <fo:table-row> <fo:table-cell number-columns-spanned="5" display-align="before"> <fo:block line-height="7.199999999999999pt" 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="7.199999999999999pt" 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="7.199999999999999pt" 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="7.199999999999999pt" 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="7.199999999999999pt" 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="7.199999999999999pt" 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 line-height="14.399999999999999pt" 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="7.199999999999999pt" 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="7.199999999999999pt" 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="7.199999999999999pt" 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="7.199999999999999pt" 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="7.199999999999999pt" 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> </fo:block></fo:flow> </fo:page-sequence> </fo:root> </xsl:template> </xsl:stylesheet>
nueva.xml
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
