Re: embedded FOP - logging
This section should help you: http://xml.apache.org/fop/embedding.html#basic-logging Glen --- Johannes Stuermer <[EMAIL PROTECTED]> wrote: > How do I tell FOP to only log ERROR messages and not > messages that fall into > the INFO category? > > Thanks > > > -Original Message- > From: J.Pietschmann [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 27, 2004 12:04 PM > To: [EMAIL PROTECTED] > Subject: Re: iteration in xsl > > > Varadharajan Sethuraman wrote: > > I just want to know the *iteration functionality* > in xsl. > > for example similar to the following ... > > *for(int i=0;i<10;i++){* > > You most likely wont need it. Check your XSLT book > (you > have a book, haven't you?) for the position() and > count() > XPath functions. > If you decide to ask on the XSL list, state your > original > problem, like "how do I get FO list items enumerated > similar > to HTML ?", rather than the derived one. This is > more > likely to get you a sensible answer. > > J.Pietschmann > > - > 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] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
embedded FOP - logging
How do I tell FOP to only log ERROR messages and not messages that fall into the INFO category? Thanks -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 27, 2004 12:04 PM To: [EMAIL PROTECTED] Subject: Re: iteration in xsl Varadharajan Sethuraman wrote: > I just want to know the *iteration functionality* in xsl. > for example similar to the following ... > *for(int i=0;i<10;i++){* You most likely wont need it. Check your XSLT book (you have a book, haven't you?) for the position() and count() XPath functions. If you decide to ask on the XSL list, state your original problem, like "how do I get FO list items enumerated similar to HTML ?", rather than the derived one. This is more likely to get you a sensible answer. J.Pietschmann - 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]
Re: iteration in xsl
Varadharajan Sethuraman wrote: I just want to know the *iteration functionality* in xsl. for example similar to the following ... *for(int i=0;i<10;i++){* You most likely wont need it. Check your XSLT book (you have a book, haven't you?) for the position() and count() XPath functions. If you decide to ask on the XSL list, state your original problem, like "how do I get FO list items enumerated similar to HTML ?", rather than the derived one. This is more likely to get you a sensible answer. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Open source font models
Hi, > Pierrick, > > from my point of view I would be interested in seeing the TTFReader and > PFMReader modified to consider several maps, beside just unicode. I think such > functionality would be very good for FOP. Thanks for your support : it was my first question ;-) > Changes to layout that you mention in your other post will likely get a -1 > from me. I think they will distract from FOP's main objective of getting a > working layout that meets the requirements of the XSL-FO spec. I dont believe > the layout features you describe are in the XSL-FO spec. They aren't and thus your -1 is understandable. But... aren't the FOP developpers over-confident in font "native" capabilities ? Sorry, no offence there : I just want to point out the fact that font management by a JVM (the underlying OS in fact) can be... very poor. For example : can you get proper arabic PDF outputs from FOP ? As far as I've seen, there is no glyph substitution. can you get proper vocalized arabic from Mozilla on Windows 98 (http://bugzilla.mozilla.org/show_bug.cgi?id=180112) ? As far as I've seen, they is no negative advance for vowels. ... In other terms, shall we *all* suffer from this poor font management by OSes ? Are Pango or the nearly defunct ;-( GNU Classpath font project (http://www.brawer.ch/software/fonts/) our only bottles in the sea ? What I'd want is the opportunity to have a full programmatic language for font layouts : I mean an open, non patented, if possible human-radable one :-) Well... did I say an XSL-like language that could be embeded in an SVG-font ? Sorry :-) At least, a way to elegantly (write-)access to Java generated GlyphVectors would be a minimum IMHO. But... I am maybe just paranoiac ? If so, don't hesistate to tell me : I am not a dangerous one :-) > You could always > write to the XSL working group to voice your requirements Of course and this is definitely my goal on the long term. I hope our discussions and your experience will be a good backup. Thank you for your intesrest. Best regards, p.b. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: iteration in xsl
Varadharajan Sethuraman wrote: Hi All, I just want to know the *iteration functionality* in xsl. for example similar to the following ... *for(int i=0;i<10;i++){* ** *}* or how do i achieve that functionality ... *is there any workaround?* kindly let me know ... This is a pure XSL question, which would be answered more thoroughly on the xsl list: http://www.mulberrytech.com/xsl/xsl-list/ You can use xsl:for-each to cycle through all nodes in a node set determined by the select attribute. However, xsl is not a procedural lanaguage and as such you are often better off using a series of xsl:templates and xsl:apply-templates to achieve what you want. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: iteration in xsl
I just want to know the iteration functionality in xsl. for example similar to the following ... for(int i=0;i<10;i++){ } This can be done in XSLT but it involves invoking a template recursively and passing a counter which you decrement to zero or increment to a target. The is a "for-each" keyword which help do counting stuff as well. Here's some money well spend (IMHO)... "XSLT Cookbook" by Sal Mangano from the O'Reilly series, ISBN 0-596-00372-2 Tons of useful techniques and code sample has save me many an wasted afternoon guessing. smime.p7s Description: S/MIME cryptographic signature
RE: iteration in xsl
There's no direct functionality, but the workaround is to use recursion. 0 -Original Message-From: Varadharajan Sethuraman [mailto:[EMAIL PROTECTED]Sent: Tuesday, April 27, 2004 9:17 AMTo: FOP-USER; xercesSubject: iteration in xsl Hi All, I just want to know the iteration functionality in xsl. for example similar to the following ... for(int i=0;i<10;i++){ } or how do i achieve that functionality ... is there any workaround? kindly let me know ... Regards Varadharajan S Do you Yahoo!?Win a $20,000 Career Makeover at Yahoo! HotJobs
iteration in xsl
Hi All, I just want to know the iteration functionality in xsl. for example similar to the following ... for(int i=0;i<10;i++){ } or how do i achieve that functionality ... is there any workaround? kindly let me know ... Regards Varadharajan S Do you Yahoo!?Win a $20,000 Career Makeover at Yahoo! HotJobs
Re: Open source font models
Pierrick Brihaye wrote: Hi, It's neither a feature nor a bug. It's simply a gap in the implementation IMO. It really depends on your requirements. If you only have these obsolete fonts that FOP doesn't understand, it is surely worth trying to fix this. You may simply have to determine how much work it will be and if you (!) think it is worth it. We're certainly not going to turn a fix like that down. The problem is that the fonts are licensed : there are free to use but can't be modified :-( Otherwise, it could have been quite easy to reprocess them in a font utility and, at first, merge them :-) Remember also that Batik can handle them just because they considered several maps : Pierrick, from my point of view I would be interested in seeing the TTFReader and PFMReader modified to consider several maps, beside just unicode. I think such functionality would be very good for FOP. Changes to layout that you mention in your other post will likely get a -1 from me. I think they will distract from FOP's main objective of getting a working layout that meets the requirements of the XSL-FO spec. I dont believe the layout features you describe are in the XSL-FO spec. You could always write to the XSL working group to voice your requirements, and you never know the features might be added in a future release of the spec. Thanks, Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AWT, background-image
[EMAIL PROTECTED] wrote: Do you know what is the class I can modify to implement this? If you are using 0.20.5, then that code is frozen and any changes you submit will be unlikely to make it into the code base. Development is focused on CVS Head. Whichever version of the code you are looking to modify then the class that you'll need to take a look at is: org.apache.fop.render.awt.AWTRenderer Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]