some help..

2002-06-24 Thread vinod . nayak
Hi all, I have aXML file like this.. root node1 attr1="efhg" attr2="efhef"/ node2 attr2="erfje" attr3="efjef"/ /root Is there any method/function in XSL to check whether any of the attributes in the node exists.. Regards, Vinod Nayak i-flex solutions ltd. Voice: (91)-228 43 00, x

Re: some help..

2002-06-24 Thread huzhl
you can use the "@" symbol to test the attribut, xsl:template match="node1" xsl:if test="@attr1" /*test whether has the attribute attr1 or not*/ /*do your operation at here*/ /xsl:if /xsl:template - Original Message - From: [EMAIL PROTECTED] To:

RE: Hi

2002-06-24 Thread Max Dcosta
Try this within your page sequence master fo:page-sequence-master master-reference=mainPage fo:static-content flow-name=xsl-region-before fo:blockHeader Appears Here/fo:block /fo:static-content fo:static-content

Re: Please remove me from the mailing list!

2002-06-24 Thread Jeremias Maerki
You have to do that yourself. See http://xml.apache.org/mail.html Cheers, Jeremias Märki

RE: Hi

2002-06-24 Thread Durai Murugan
This seems works fine. Thank you Max. Regards Durai --- Max Dcosta [EMAIL PROTECTED] wrote: Try this within your page sequence master fo:page-sequence-master master-reference=mainPage fo:static-content flow-name=xsl-region-before fo:blockHeader

Re:Hi

2002-06-24 Thread Durai Murugan
This seems works fine. Thank you Max. Regards Durai --- Max Dcosta [EMAIL PROTECTED] wrote: Try this within your page sequence master fo:page-sequence-master master-reference=mainPage fo:static-content flow-name=xsl-region-before fo:blockHeader

RE: keep line-breaks in PDF

2002-06-24 Thread Hahn Kurt (CHA)
Thanks a lot, I translated the CR to #x2028; which worked without any problems. Kurt -Message d'origine- De : J.Pietschmann [mailto:[EMAIL PROTECTED] Envoyé : vendredi, 21. juin 2002 23:42 À : [EMAIL PROTECTED] Objet : Re: keep line-breaks in PDF Hahn Kurt (CHA) wrote: I'm generating

Re: some help..

2002-06-24 Thread Markus Wiese
you might also try something like: xsl:template match="[EMAIL PROTECTED]|[EMAIL PROTECTED]" !-- do your operation here -- /xsl:template the brackets "perform" the test. the "|" serves as logical OR, but to make sure your XML definitly contains the node with some attribute, put some

What kind of TIFF does FOP support

2002-06-24 Thread Rodolphe VAGNER
Hello, I have to create document with TIFF illustrations. It seems that some TIFF formats are supported and thers are not ( a black area replace the illustration). Can some one tells me what kind of TIFF FOP supports ? thanks

RE: What kind of TIFF does FOP support

2002-06-24 Thread Max Dcosta
most renderers may support uncompressed tiffs... pls correct me if i am wrong. -Original Message- From: Rodolphe VAGNER [mailto:[EMAIL PROTECTED] Sent: Monday, June 24, 2002 3:47 PM To: [EMAIL PROTECTED] Subject: What kind of TIFF does FOP support Hello, I have to create document with

RE: What kind of TIFF does FOP support

2002-06-24 Thread Max Dcosta
I would like to recall this msg posted earlier by J. Pietschmann Jimi.jar doesn't understand all possible compressions allowed in TIFF. Use uncompressed or RLE compressed TIFFs. Cheers, Max -Original Message- From: Max Dcosta [mailto:[EMAIL PROTECTED] Sent: Monday, June 24, 2002

Re: What kind of TIFF does FOP support

2002-06-24 Thread Rodolphe VAGNER
In fact the first tests I've done seem to indicate the contrary : my uncompressed file is a black area and my CCITT Gr4 or 3, and LWZ compressed files are well rendered. It's bizarre, isn'it ? What about jimy ? where can I find doc on it ? - Original Message - From: Max Dcosta [EMAIL

Weird behaviour of Apache fop

2002-06-24 Thread Michiel Verhoef
Hi all, Currently we have a weird problem: when converting an XML file (or rather, an XML-ified HML source) to a FO file and converting this resulting FO file to a PDF all things are fine. However, when we try to convert the XML with the exact same XSL script into a PDF we get errors: [INFO]:

illegal character

2002-06-24 Thread Xiao Yang
Hello, I am using FOP to transform some bio into pdf format. FOP generates an error when it encounters an illegal character such as the apostrophe '. Where can I find a list of illegal characters that FOP does not accept? I need to replace the illegal character with their numeric entity

Re: Weird behaviour of Apache fop

2002-06-24 Thread Oleg Tkachenko
Your xsl stylesheet is so bizarre... What are you using all these CDATA sections for? Why are you using ![CDATA[fo:block/fo:block]] instead of just fo:block/fo:block ? Actually your xsl stylesheet works if and only if transformation result (fo document) is serialized and then reparsed again,

RE: Weird behaviour of Apache fop

2002-06-24 Thread Michiel Verhoef
Well, that was another thing. I used to write simply fo:block etc. but then the stylesheet gave loads of errors. the funny thing is: this is the first time I actually ran into this sort of problem (i've been using fop for over a year now) so I was really stupified. I'll change the stylesheet

Please Help

2002-06-24 Thread Max Dcosta
Dear Guys, Can you pls help me by telling me how to get an output like this: Room Number:255 xxx:123 Room Type: Deluxe I am calling the values from an xml file (like the code used below) but i want to know how to indent just these dynamically called

Re: illegal character

2002-06-24 Thread Oleg Tkachenko
Xiao Yang wrote: I am using FOP to transform some bio into pdf format. FOP generates an error when it encounters an illegal character such as the apostrophe '. Where can I find a list of illegal characters that FOP does not accept? I need to replace the illegal character with their numeric

RE: Please Help

2002-06-24 Thread Argyn Kuketayev
try fo:table -Original Message- From: Max Dcosta [mailto:[EMAIL PROTECTED] Sent: Monday, June 24, 2002 10:19 AM To: [EMAIL PROTECTED] Subject: Please Help Dear Guys, Can you pls help me by telling me how to get an output like this: Room Number: 255 xxx:

RE: Please Help

2002-06-24 Thread Max Dcosta
is there a way without using tables. Is there anything which will help me push that xsl:value-of select value to the right. max -Original Message- From: Argyn Kuketayev [mailto:[EMAIL PROTECTED] Sent: Monday, June 24, 2002 7:51 PM To: '[EMAIL PROTECTED]' Subject: RE: Please Help try

RE: Please Help

2002-06-24 Thread Argyn Kuketayev
-Original Message- From: Max Dcosta [mailto:[EMAIL PROTECTED] Sent: Monday, June 24, 2002 10:22 AM To: '[EMAIL PROTECTED]' Subject: RE: Please Help is there a way without using tables. Is there anything which will help me push that xsl:value-of select value to the right. I

RE: Please Help

2002-06-24 Thread Jeff_Mitchell
Max- Why the reluctance to use tables? Is it a design issue, speed issue, technical issue? Generally, tables are the textbook answer to this kind of question. If your specific project has requirements that make tables inappropriate, there may be other solutions. -Jeff Mitchell

RE: Please Help

2002-06-24 Thread Max Dcosta
yes jeff, i agree with you. I will use tables. Thank you so much. Max -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, June 24, 2002 8:04 PM To: [EMAIL PROTECTED] Subject: RE: Please Help Max- Why the reluctance to use tables? Is it a design

RE: Please Help

2002-06-24 Thread Jeff_Mitchell
Max- No problem. But the thanks goes to Argyn, since he beat me to the punch. Good luck on your project. -Jeff Max Dcosta

RE: Please Help

2002-06-24 Thread Max Dcosta
yes yes, thank you Argyn, You guys are a great help. God bless you guys. cheers, Max -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, June 24, 2002 8:21 PM To: [EMAIL PROTECTED] Subject: RE: Please Help Max- No problem. But the thanks goes to

Joke Dehond/Inventive Designers is out of the office.

2002-06-24 Thread Joke_Dehond
I will be out of the office starting 19/06/2002 and will not return until 01/07/2002. I will be out of the office and will have no access to my email. I will respond to your message when I return. Regards, Joke Dehond

Re: fo:marker - how to show the broken secion on the next page

2002-06-24 Thread Chuck Paussa
Argyn, (This is a work-around until markers are fixed.) What you need to do is put one marker at the beginning of the block and another at the end. FOP complains about this with a warning but still processes it. You can then use fo:retrieve-marker retrieve-class-name=className

Re: Weird behaviour of Apache fop

2002-06-24 Thread J.Pietschmann
Michiel Verhoef wrote: Hi all, Currently we have a weird problem: when converting an XML file (or rather, an XML-ified HML source) to a FO file and converting this resulting FO file to a PDF all things are fine. However, when we try to convert the XML with the exact same XSL script into a PDF we

Re: Hi

2002-06-24 Thread J.Pietschmann
Durai Murugan wrote: I would like to know, how to set fonts for our special requirements in the output. Read docs/html-docs/fonts.html from the FOP distribution. J.Pietschmann

Re: What kind of TIFF does FOP support

2002-06-24 Thread J.Pietschmann
Rodolphe VAGNER wrote: In fact the first tests I've done seem to indicate the contrary : my uncompressed file is a black area and my CCITT Gr4 or 3, and LWZ compressed files are well rendered. It's bizarre, isn'it ? What about jimy ? where can I find doc on it ? Ok, here it goes. The Jimi home

Re: Why changes encoding of Symbol font ?

2002-06-24 Thread J.Pietschmann
Nguyen Nam wrote: Helllo , Could somone tell why does Fop v.0.23 change the encoding of the Symbol Font ? Where did you get the 0.23 version? Seriously: Because it was not conforming to the standard. Many Symbol characters becomes so invalid with this version wherase they are valid in the version

Memory usage w/ FOP

2002-06-24 Thread Philip S. Constantinou
Hi - If I'm using an XSL Transformer and an XML ByteArrayOutputStream to create a FO formatted document which is rendered as PDF or printed, what is a good assumption to make about the memory utilization? Is the entire merged FO document stored in memory or can the FO processor stream out the PDF

Re: Memory usage w/ FOP

2002-06-24 Thread J.Pietschmann
Philip S. Constantinou wrote: Hi - If I'm using an XSL Transformer and an XML ByteArrayOutputStream to create a FO formatted document which is rendered as PDF or printed, what is a good assumption to make about the memory utilization? Is the entire merged FO document stored in memory or can the FO

Re: Memory usage w/ FOP

2002-06-24 Thread Philip S. Constantinou
This really helps... One of the things that I need to do is a mail merge creating thousands of one page letters. If the pages are simple with no table of contents/references/page numbers. Is it safe to assume that the FO processor will use roughly the same memory printing 10 letters as 1000?

Re: Memory usage w/ FOP

2002-06-24 Thread J.Pietschmann
Philip S. Constantinou wrote: This really helps... One of the things that I need to do is a mail merge creating thousands of one page letters. If the pages are simple with no table of contents/references/page numbers. Is it safe to assume that the FO processor will use roughly the same memory