Return-Path: X-Original-To: apmail-xmlgraphics-fop-users-archive@www.apache.org Delivered-To: apmail-xmlgraphics-fop-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8DB4A77FA for ; Wed, 31 Aug 2011 12:56:52 +0000 (UTC) Received: (qmail 55924 invoked by uid 500); 31 Aug 2011 12:56:52 -0000 Delivered-To: apmail-xmlgraphics-fop-users-archive@xmlgraphics.apache.org Received: (qmail 55871 invoked by uid 500); 31 Aug 2011 12:56:51 -0000 Mailing-List: contact fop-users-help@xmlgraphics.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: fop-users@xmlgraphics.apache.org Delivered-To: mailing list fop-users@xmlgraphics.apache.org Received: (qmail 55864 invoked by uid 99); 31 Aug 2011 12:56:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2011 12:56:51 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [74.86.71.183] (HELO mail2.ardentcreative.net) (74.86.71.183) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2011 12:56:44 +0000 Received: from 188-220-18-94.zone11.bethere.co.uk [188.220.18.94] by mail.ardentcreative.net with SMTP; Wed, 31 Aug 2011 13:56:21 +0100 From: "Theresa Jayne Forster" To: References: <4E5CF572.9040405@maden.org> <4E5CFDDE.2080804@maden.org> In-Reply-To: Subject: RE: XSL vs. FOP [was: Re: pagenumbering] Date: Wed, 31 Aug 2011 13:56:09 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0042_01CC67E5.BD722D50" X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQJQCgRG2Peq4ozOY3Y7xjUmWwZm7QHAbsNnAnIu3YEB1ecLAAF9ZcYuApmROrKT3qp24A== Content-Language: en-gb X-Declude-Sender: theresa@inbrand.co.uk [188.220.18.94] X-Declude-Spoolname: 295736867.eml X-Declude-RefID: X-Declude-Note: Scanned by Declude 4.6.35 "http://www.declude.com/x-note.htm" X-Declude-Scan: Outgoing Score [0] at 13:56:23 on 31 Aug 2011 X-Declude-Tests: Whitelisted X-Country-Chain: X-Declude-Code: 0 X-Declude-Recipcount: 1 X-HELO: InbrandDev X-AUTH: 12344321 X-Identity: IP : 188.220.18.94 | rDNS : | Host : xmlgraphics.apache.org X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_0042_01CC67E5.BD722D50 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit And my question was about the FO tag therefore a FOP question Ie how do I get the output I need when using the tag.. Kindest regards Theresa Forster Senior Software Developer From: Eric Douglas [mailto:edouglas@blockhouse.com] Sent: 31 August 2011 13:37 To: fop-users@xmlgraphics.apache.org Subject: RE: XSL vs. FOP [was: Re: pagenumbering] XSLFO is what you get when you combine XSLT with XML. XSLFO is an extension of XSLT and includes XSLT commands. XSLFO is as unrelated to FOP as XSLT when you're talking about it's creation for expected output. If you want only FOP related questions they should be about XSLFO commands and only as far as whether they're supported and whether they're producing the expected output. There is likely a better place for questions about how to generate XSLT or XSLFO which should produce particular output which don't question whether FOP is processing it correctly, and you're welcome to point people to such a place if you don't have an answer or don't feel like answering, though I personally wouldn't mind helping if I do have an answer. I use FOP with XML + XSLT with embedded code. I have had some issues with how FOP works which require looking at the XSLFO, so I actually split the process so I call the Java transform method twice. One passes the XSL on the Transformer create and the XML as input and the output is XSLFO I can write to a file if I need. The second transform uses no XSL and passes the XSLFO as input and the FOP handler on the output. If you don't want to 'misspend' any time answering questions that should include questions about how to write XSLT or XSLFO. Once someone has valid XSLFO and they're not getting the expected output then it's an FOP question. _____ From: Glenn Adams [mailto:glenn@skynav.com] Sent: Tuesday, August 30, 2011 11:41 PM To: fop-users@xmlgraphics.apache.org Subject: Re: XSL vs. FOP [was: Re: pagenumbering] Christopher, We may be applying different ontological models here. I label anything having to do with XSL-FO as FO related. I label anything having to do with XSLT as XSL related. For me, FO related != XSL related. In fact, there is no necessary logical connection between the two, except insofar as FO borrows/reuses certain constructs from XSL(T), the only one of which I know of is the number to string conversion properties, which, coincidentally, have to do with the current subject matter: page number generation. In any case, by model, page number properties are FO related, not XSL related. Because FOP supports both XSL(T) [indirectly} and FO, it certainly covers both areas, but as far as I'm concerned the XSL(T) portion of it is a convenience function, unrelated to its core functionality. Given the amount of traffic (mis)spent on issues related to the XSL(T) features of FOP, I often wish it did not support this convenience function. But that's neither here nor there. G. On Tue, Aug 30, 2011 at 9:12 AM, Christopher R. Maden wrote: On 08/30/2011 10:52 AM, Glenn Adams wrote: > actually, this is an FO issue, not XSL, since it is FOP that > generates page numbers via XSL encompasses both Formatting Objects (sometimes "XSL-FO") and XSL Tranformations (XSLT). An FO issue *is* an XSL issue. It is FOP that generates page numbers, but what Theresa needed was the FO instruction, which is agnostic about the software that consumes it (whether FOP, RenderX, Antenna House, or anything else). The XSL List () covers all of XSL, including XSL-FO. We've previously had discussions on this list about allowing XML+XSLT as input to FOP, and the potential user confusion that results as to what FOP actually does. For similar reasons, when I reply to questions here, I try to make it clear what parts are specific to FOP, and which questions are about XML, XSLT, or FO, and orthogonal to FOP's operation specifically. > the correct answer is that you need to use the initial-page-number > property on fo:page-sequence to specify a different starting number > than is generated by "auto"; > > see http://www.w3.org/TR/2006/REC-xsl11-20061205/#initial-page-number > and and > http://www.w3.org/TR/2006/REC-xsl11-20061205/#fo_page-sequence for > details; Yes, and I apologize for not taking the time to look up the references that Theresa needs. ~Chris [Emotional content notice (since plain text is really bad at communicating this): I want to be very clear that I am not attacking or criticizing Glenn or Theresa. And certainly, I've known Glenn by his work for far too long to accuse him of anything remotely resembling ignorance. I have simply attempted to be somewhat detailed and pedantic here for maximal clarity to everyone who might read this.] -- Chris Maden, text nerd "The present tendency and drift towards the Police State gives all free Americans pause.." - Alabama Supreme Court, 1955 (Pike v. Southern Bell Tel. & Telegraph, 81 So.2d 254) --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org _____ No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1392 / Virus Database: 1520/3866 - Release Date: 08/29/11 ------=_NextPart_000_0042_01CC67E5.BD722D50 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

And my question was about the FO <fo:page-number/> tag = therefore a FOP question

Ie how do I get the output I need when using the = tag….

 

 

 

Kindest regards

 


Theresa Forster

Senior Software Developer

From:= Eric = Douglas [mailto:edouglas@blockhouse.com]
Sent: 31 August 2011 = 13:37
To: fop-users@xmlgraphics.apache.org
Subject: = RE: XSL vs. FOP [was: Re: = pagenumbering]

 

XS= LFO is what you get when you combine XSLT with = XML.

XS= LFO is an extension of XSLT and includes XSLT = commands.

XS= LFO is as unrelated to FOP as XSLT when you're talking about it's = creation for expected output.

If= you want only FOP related questions they should be about XSLFO commands = and only as far as whether they're supported and whether they're = producing the expected output.

Th= ere is likely a better place for questions about how to generate XSLT or = XSLFO which should produce particular output which don't question = whether FOP is processing it correctly, and you're welcome to point = people to such a place if you don't have an answer or don't feel like = answering, though I personally wouldn't mind helping if I do have an = answer.

 

I = use FOP with XML + XSLT with embedded code.  I have had some issues = with how FOP works which require looking at the XSLFO, so I actually = split the process so I call the Java transform method twice.  One = passes the XSL on the Transformer create and the XML as input and the = output is XSLFO I can write to a file if I need.  The second = transform uses no XSL and passes the XSLFO as input and the FOP handler = on the output.

 

If= you don't want to 'misspend' any time answering questions that should = include questions about how to write XSLT or XSLFO.  Once someone = has valid XSLFO and they're not getting the expected output then it's an = FOP question.

 


From:= Glenn = Adams [mailto:glenn@skynav.com] =
Sent: Tuesday, August 30, 2011 11:41 PM
To: fop-users@xmlgraphics.ap= ache.org
Subject: Re: XSL vs. FOP [was: Re: = pagenumbering]

Christopher,

 

We may be applying different ontological models here. =

 

I = label anything having to do with XSL-FO as FO = related.

 

I = label anything having to do with XSLT as XSL = related.

 

For me, FO related !=3D XSL = related.

 

In fact, there is no necessary logical connection = between the two, except insofar as FO borrows/reuses certain constructs = from XSL(T), the only one of which I know of is the number to string = conversion properties, which, coincidentally, have to do with the = current subject matter: page number = generation.

 

In any case, by model, page number properties are FO = related, not XSL related.

 

Because FOP supports both XSL(T) [indirectly} and FO, = it certainly covers both areas, but as far as I'm concerned the XSL(T) = portion of it is a convenience function, unrelated to its core = functionality.

 

Given the amount of traffic (mis)spent on issues = related to the XSL(T) features of FOP, I often wish it did not support = this convenience function. But that's neither here nor = there.

 

G.

On Tue, Aug 30, 2011 at 9:12 AM, Christopher R. Maden = <crism@maden.org> = wrote:

On 08/30/2011 10:52 AM, Glenn Adams = wrote:
> actually, this is an FO issue, not XSL, since it is FOP = that
> generates page numbers via = <fo:page-number>

XSL encompasses both Formatting Objects = (sometimes “XSL-FO”) and XSL
Tranformations (XSLT). =  An FO issue *is* an XSL issue.

It is FOP that generates = page numbers, but what Theresa needed was the
FO instruction, which = is agnostic about the software that consumes it
(whether FOP, = RenderX, Antenna House, or anything else).

The XSL List (<URL: = http://www.mulberrytech.com/xsl/xsl-list/ >) = covers
all of XSL, including XSL-FO.

We’ve previously = had discussions on this list about allowing XML+XSLT as
input to FOP, = and the potential user confusion that results as to what
FOP actually = does.  For similar reasons, when I reply to questions here,
I = try to make it clear what parts are specific to FOP, and = which
questions are about XML, XSLT, or FO, and orthogonal to = FOP’s operation
specifically.

> the correct answer is = that you need to use the initial-page-number
> property on = fo:page-sequence to specify a different starting number
> than is = generated by "auto";
>
> see http://www.w3.org/TR/2006/REC-xsl11-20061205/#initial-p= age-number
> and and
> http://www.w3.org/TR/2006/REC-xsl11-20061205/#fo_page-s= equence for
> details;

Yes, and I apologize for not = taking the time to look up the references
that Theresa = needs.

~Chris

[Emotional content notice (since plain text = is really bad at
communicating this): I want to be very clear that I = am not attacking or
criticizing Glenn or Theresa.  And = certainly, I’ve known Glenn by his
work for far too long to = accuse him of anything remotely resembling
ignorance.  I have = simply attempted to be somewhat detailed and pedantic
here for = maximal clarity to everyone who might read this.]
--
Chris Maden, = text nerd  <URL: http://crism.maden.org/ >
“The present = tendency and drift towards the Police State gives all
 free = Americans pause..” — Alabama Supreme Court, = 1955
 (Pike v. Southern Bell Tel. & Telegraph, 81 So.2d = 254)

-------------------------------------------------------------= --------
To unsubscribe, e-mail: fop-users-un= subscribe@xmlgraphics.apache.org
For additional commands, e-mail: = fop-users-help@xmlg= raphics.apache.org

 


No virus found in this = message.
Checked by AVG - www.avg.com
Version: 10.0.1392 / = Virus Database: 1520/3866 - Release Date: = 08/29/11

------=_NextPart_000_0042_01CC67E5.BD722D50--