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]



from pdf open an external non pdf file

2004-06-23 Thread Neeru . Bhardwaj




Hi,

I want to create an external link (action type open file in pdf) to a SAS
XPT file using FOP.
When I click on the link created it's being opened as a web link.
Can anyone help me with this.

Thanks

-neeru

--
Le présent message, ainsi que les pièces ou annexes qui s'y trouvent
éventuellement jointes, s'adressent exclusivement à celles des personnes
qu'ils désignent comme destinataires. Constituant de ce fait une
correspondance privée à caractère confidentiel, leur contenu est protégé
par le secret des correspondances émises, transmises ou reçues par la voie
des télécommunications. Si ce message électronique vous est parvenu
fortuitement, veuillez avoir l'obligeance de le détruire, puis d'en aviser
l'expéditeur dans les meilleurs délais.

The Information in this e-mail belongs to Sanofi-Synthelabo, is intended
for the use of the individual or entity to which it is addressed, and may
contain information that is privileged, confidential, or exempt from
disclosure under applicable law. If you are not the intended recipient, you
are hereby notified that any disclosure, copying, distribution, or use of,
or reliance on, the contents of this e-mail is prohibited.  If you have
received this e-mail in error, please notify us immediately by replying
back to the sending e-mail address, and delete this e-mail message from
your computer.
--


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



Re: AW: Problem with servlet

2002-06-26 Thread Neeru . Bhardwaj

Thanks for your help. I got the following from my websphere administrator.

We've tried to do the changes as mentioned at the end of your e-mail
(changing jars and updating admin.config), but the IBM admin server can't
restart.

If we remove xml4j.jar  and the others and replace them by the ones
specified, the IBM admin server can't restart because of the lack of ibm
xml classes only found in xml4j.jar, and not available in Xerces-1.2.3.jar
or Xalan-2.0.0.

We've tried to use xml4j.jar with Xerces123 and Xalan200, but problems
appears in the running of the server.

ANy suggestions?

Thanks again for your help.

-Neeru




   
J.Pietschman   
   
n   To: [EMAIL PROTECTED]  
 
[EMAIL PROTECTED]cc:   

oo.de   Subject: Re: AW: Problem with 
servlet 

   
06/21/2002  
   
05:23 PM
   
Please  
   
respond to  
   
fop-user
   

   

   




[EMAIL PROTECTED] wrote:
 I made the changes but still getting the same error.
 It's driving me crazy. ANy help will be greatly appreciated.

Usually, WebSphere 3.5 comes with an ancient XML tool set.
You have to put Xerces-1.2.3.jar and Xalan-2.0.0.jar into the
classpath before the old tools.
If you have admin access, remove xml4j.jar, a perhaps existing
old xerces.jar, lotusxsl.jar from the WebSphere lib and edit the
startup scripts so that the newer Xerces and Xalan jars are
used.
If you have user rights only, start the admin client, go
to your application server entry, open the environment
windoe and add a CLASSPATH environment variable with the
newer Xerces and Xalan jars .
Better yet, upgrade to 4.0.

J.Pietschmann







Re: AW: Problem with servlet

2002-06-21 Thread Neeru . Bhardwaj

I made the changes but still getting the same error.
It's driving me crazy. ANy help will be greatly appreciated.
Thanks

-Neeru



 
Michael Heinen  
 
Michael.HeinenTo: '[EMAIL PROTECTED]' 
[EMAIL PROTECTED] 
@nexum.de cc:  
 
   Subject: AW: Problem with 
servlet 
06/21/2002  
 
03:20 AM
 
Please respond  
 
to fop-user 
 

 

 




The problem could be that WebSphere has an old version of xerces in its
classpath.
Did you change the static classpath of websphere ?

Try to delete the old xerces entry in the admin.config file of websphere
and
add two new entries at the beginning for the fop versions of xerces and
xalan. I got it to work by this.

Michael Heinen
Software Developer
nexum GmbH
strategy - media - technology
Kalscheurener Str. 19
50354 Hurth


-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 20. Juni 2002 21:43
An: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Betreff: Problem with servlet



I am having problem running the example servletFop. I have websphere3.5 and
have the fop.jar, batik.jar, avalon-framework-4.0.jar, logkit-1.0.jar and
xalan-2.0.0.jar in the lib directory. I am attaching the error.
Thanks for help
-Neeru

(See attached file: err.rtf)





Problem with servlet

2002-06-20 Thread Neeru . Bhardwaj

I am having problem running the example servletFop. I have websphere3.5 and
have the fop.jar, batik.jar, avalon-framework-4.0.jar, logkit-1.0.jar and
xalan-2.0.0.jar in the lib directory. I am attaching the error.
Thanks for help
-Neeru

(See attached file: err.rtf)

err.rtf
Description: RTF file


Re: Problem with servlet

2002-06-20 Thread Neeru . Bhardwaj

Yes, I have xerces-1.2.3.jar.
Thanks

-Neeru



   
Oleg
   
TkachenkoTo: [EMAIL PROTECTED]  
 
[EMAIL PROTECTED]cc:   

onn.com Subject: Re: Problem with servlet  
   

   
06/20/2002  
   
04:36 PM
   
Please  
   
respond to  
   
fop-user
   

   

   




[EMAIL PROTECTED] wrote:
 I am having problem running the example servletFop. I have websphere3.5
and
 have the fop.jar, batik.jar, avalon-framework-4.0.jar, logkit-1.0.jar and
 xalan-2.0.0.jar in the lib directory. I am attaching the error.

Hey, what about xerces?

--
Oleg Tkachenko
Multiconn International Ltd






Fo:basic link

2002-06-19 Thread Neeru . Bhardwaj

Is it possible to sepcify a destination page in basic-link
external-destination. I am trying to link to an external pdf file and want
to goto a specifi page.
Thanks

-Neeru



Re: Page X of Y Problem

2002-05-13 Thread Neeru . Bhardwaj

Thanks for the info.
But when I use
driver.render(input.getParser(), input.getInputSource());
input.getParser() returns a null value.
Thanks

-Neeru




J.Pietschman   

n   To: [EMAIL PROTECTED]  
  
[EMAIL PROTECTED]cc:   
 
oo.de   Subject: Re: Page X of Y Problem   



05/10/2002  

04:28 PM

Please  

respond to  

fop-user









[EMAIL PROTECTED] wrote:
 I am using FOP 0.20.3 for converting xml to pdf. When I am running the
java
 code locally in Visual age I don't get any errors, but when I try to
 run it as servlet I get the Root element must be root, not none.

  //   driver.render(input.getParser(), input.getInputSource());
   driver.render(createParser(), input.getInputSource());

Use the line commmented out. You should not fiddle with
working code unless you know what you are doing or
someone who knows what happens tells you to do so.

BTW it's basic netiquette to start a new thread with
a new, meaningful subject for a new question.


J.Pietschmann






RE: Page X of Y Problem

2002-05-10 Thread Neeru . Bhardwaj

Hi Abhijat,

Here's the code and xsl. I am using the example servlet code.
Thanks

-Neeru
(See attached file: test-fod.xsl)(See attached file: ServletCreatePdf.java)



 
Abhijat Upadhyay
 
abhijat.upadhyay@To: '[EMAIL PROTECTED]' 
[EMAIL PROTECTED]  
patni.comcc:   
 
  Subject: RE: Page X of Y 
Problem   
05/10/2002 06:11
 
AM  
 
Please respond to   
 
fop-user
 

 

 




hi neeru !!

it wud be great if u cud fwd ur xsl and servlet code... so that the problem
can
be analyzed...
___
Abhijat Upadhyay
Software Engineer
Patni Computer Systems Limited
Electronic Sadan - 3, TTC Industrial Area,
Mahape, Navi Mumbai - 400 701
Tel: 91 22 761 1090 / 1105 ext. 2221
Fax: 91 22 761 9602
http://www.patni.com
World-Wide Partnerships. World-Class Solutions.

This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to whom
this
message was originally addressed. Any review, e-transmission dissemination
or other use of or taking of any
action in reliance upon this information by persons or entities other than
the intended recipient is prohibited. If you have received this e-mail in
error kindly delete this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify us
immediately at [EMAIL PROTECTED] and delete this mail.



test-fod.xsl
Description: Binary data


ServletCreatePdf.java
Description: Binary data