fo:flow must contain block-level children

2005-03-01 Thread Neeru . Bhardwaj




I get the following error
  fo:flow must contain block-level children
when I don't have the matching elements in my xml by using the following
code generates the error.

fo:page-sequence master-reference=page3
fo:flow flow-name=body3
  xsl:apply-templates select=CodeDecode
  /xsl:apply-templates
   /fo:flow
/fo:page-sequence

If I replace the above code with the code below I get an extra blank page
and I want to suppress this blank page

fo:page-sequence master-reference=page3
fo:flow flow-name=body3
  fo:block
  xsl:apply-templates select=CodeDecode
  /xsl:apply-templates
  /fo:block
   /fo:flow
/fo:page-sequence

Thanks

-Neeru

--
Le présent message ainsi que ses éventuelles pièces jointes est
exclusivement destiné au(x) destinataire(s), personnes physiques ou
morales, qu'il désigne.
Il constitue de ce fait une correspondance à caractère privé et peut
contenir des informations confidentielles.
Si ce message vous est parvenu par erreur, nous vous remercions d'en aviser
immédiatement l'expéditeur par retour de courrier électronique puis de le
détruire, ainsi que ses éventuelles pièces jointes, sans en conserver de
copie.


This message, including any attachment, is intended for the use of the
individual or entity to which it is addressed.
It is therefore to be considered as a private correspondence which may
contain confidential information.
If you are not the intended recipient, please advise the sender immediately
by reply e.mail and delete this message and any attachment thereto without
retaining a copy.
--


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



Re: fo:flow must contain block-level children

2005-03-01 Thread Glen Mazza
The problem I think is with your XSLT--you should not
output an fo:page-sequence if you have no block-level
children to generate to begin with.

I'm not an XSLT guru, but I don't think it is that
hard to do.  Would anyone have a sample?

Thanks,
Glen


--- [EMAIL PROTECTED] wrote:

 
 
 
 
 I get the following error
   fo:flow must contain block-level children
 when I don't have the matching elements in my xml by
 using the following
 code generates the error.
 
 fo:page-sequence master-reference=page3
 fo:flow flow-name=body3
   xsl:apply-templates select=CodeDecode
   /xsl:apply-templates
/fo:flow
 /fo:page-sequence
 
 If I replace the above code with the code below I
 get an extra blank page
 and I want to suppress this blank page
 
 fo:page-sequence master-reference=page3
 fo:flow flow-name=body3
   fo:block
   xsl:apply-templates select=CodeDecode
   /xsl:apply-templates
   /fo:block
/fo:flow
 /fo:page-sequence
 
 Thanks
 
 -Neeru
 

--
 Le présent message ainsi que ses éventuelles pièces
 jointes est
 exclusivement destiné au(x) destinataire(s),
 personnes physiques ou
 morales, qu'il désigne.
 Il constitue de ce fait une correspondance à
 caractère privé et peut
 contenir des informations confidentielles.
 Si ce message vous est parvenu par erreur, nous vous
 remercions d'en aviser
 immédiatement l'expéditeur par retour de courrier
 électronique puis de le
 détruire, ainsi que ses éventuelles pièces jointes,
 sans en conserver de
 copie.
 
 
 This message, including any attachment, is intended
 for the use of the
 individual or entity to which it is addressed.
 It is therefore to be considered as a private
 correspondence which may
 contain confidential information.
 If you are not the intended recipient, please advise
 the sender immediately
 by reply e.mail and delete this message and any
 attachment thereto without
 retaining a copy.

--
 
 

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


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