Thank you Jeremias i did what you advice to me and now appears the error :

javax.xml.transform.TransformerConfigurationException: javax.xml.transform.Trans formerConfigurationException: javax.xml.transform.TransformerException: org.xml. sax.SAXParseException: The element type "fo:table-cell" must be terminated by th
e matching end-tag "</fo:table-cell>".


im new at this, my xsl is made under XSLFAST , where i can see the pdf results with xml ...but with apache appears errors like this for example...i need work with apache because i have to run xml to pdf conversion from java aplication..exists really any application 100% compatible with apache fop where i can design my template and just run it with apache or i have to desist and make my xsl "manually"..

i attach my xsl and my xml too.....thanks and sorry if i make dummy questions---



----- Original Message ----- From: "Jeremias Maerki" <[EMAIL PROTECTED]>
To: <fop-users@xmlgraphics.apache.org>
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"?>

<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:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:saxon="http://icl.com/saxon"; extension-element-prefixes="saxon">

<xsl:decimal-format name="FN8" grouping-separator=',' decimal-separator='.'/><xsl:template match="IMPFACT">
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"; xmlns:barcode="http://barcode4j.krysalis.org/ns";>
<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>
<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:table-row>
<fo:table-cell border-top-style="solid" border-top-width="1.0pt" border-top-color="#000000" display-align="before">
<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>

Attachment: nueva.xml
Description: Binary data

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to