Re: Editing Text in the Intermediate Format

2008-06-04 Thread Andreas Delmelle
On Jun 4, 2008, at 12:36, Martin Edge wrote: Hi Martin When printing, each individual document is tracked via the barcode that I print - and which case I need to (after FOP has decided what fits into what page) rewrite the barcode place holders with the correct configuration for the Doc

RE: Editing Text in the Intermediate Format

2008-06-04 Thread Martin Edge
ge- From: Andreas Delmelle [mailto:[EMAIL PROTECTED] Sent: Wednesday, 4 June 2008 7:32 PM To: fop-users@xmlgraphics.apache.org Subject: Re: Editing Text in the Intermediate Format On Jun 4, 2008, at 03:42, Martin Edge wrote: > My latest problem is the Intermediate file is 800Mb.. and when

Re: Editing Text in the Intermediate Format

2008-06-04 Thread Andreas Delmelle
On Jun 4, 2008, at 03:42, Martin Edge wrote: My latest problem is the Intermediate file is 800Mb.. and when loading into XmlDocument's Load method.. I run out of memory.. Guess I'll have to try and figure out how the heck you read/modify files of this size in c# Fun fun! Any tips? :) I

RE: Editing Text in the Intermediate Format

2008-06-04 Thread Martin Edge
[mailto:[EMAIL PROTECTED] Sent: Wednesday, 4 June 2008 5:47 PM To: fop-users@xmlgraphics.apache.org Subject: Re: Editing Text in the Intermediate Format Jeremias Maerki wrote: > Sure: Stream processing. But I don't know if you have SAX (or something > similar) on .NET. Yes .Net does

Re: Editing Text in the Intermediate Format

2008-06-04 Thread Chris Bowditch
Jeremias Maerki wrote: Sure: Stream processing. But I don't know if you have SAX (or something similar) on .NET. Yes .Net does have a SAX equivalent: XmlReader. Which IMHO is not as elegant as a ContentHandler but can be used instead of XmlDocument to process large XML Files. On 04.06.20

Re: Editing Text in the Intermediate Format

2008-06-04 Thread Jeremias Maerki
Sure: Stream processing. But I don't know if you have SAX (or something similar) on .NET. On 04.06.2008 03:42:39 Martin Edge wrote: > My latest problem is the Intermediate file is 800Mb.. and when loading into > XmlDocument's Load method.. I run out of memory.. > > Guess I'll have to try and fig

RE: Editing Text in the Intermediate Format

2008-06-03 Thread Martin Edge
- From: Martin Edge [mailto:[EMAIL PROTECTED] Sent: Wednesday, 4 June 2008 12:27 AM To: fop-users@xmlgraphics.apache.org Subject: RE: Editing Text in the Intermediate Format Sorry - also should have added XmlDocument thisDocument = new XmlDocument(); thisDocument.Load(myXML); don't use: th

Re: Editing Text in the Intermediate Format

2008-06-03 Thread Andreas Delmelle
On Jun 3, 2008, at 15:30, Jeremias Maerki wrote: On 03.06.2008 15:22:04 Martin Edge wrote: Hm... I'm editing the Intermediate file directly.. but It's possible I suppose it applies to that as well.. Will give stripping it entirely of spaces.. if that's the solution, shouldn't we add logic to

RE: Editing Text in the Intermediate Format

2008-06-03 Thread Martin Edge
ECTED] Sent: Wednesday, 4 June 2008 12:23 AM To: fop-users@xmlgraphics.apache.org Subject: RE: Editing Text in the Intermediate Format Looks like PreserveWhiteSpace flag in the XmlDocument object seems to be doing the trick so far. (in c#) -Original Message- From: Jeremias Maerki [mailto:[

RE: Editing Text in the Intermediate Format

2008-06-03 Thread Martin Edge
espace in the first place. You should really find out if you can disable pretty-printing when serializing the modified XML. > > > -Original Message- > From: Andreas Delmelle [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 3 June 2008 8:41 PM > To: fop-users@xmlgraphics.apach

Re: Editing Text in the Intermediate Format

2008-06-03 Thread Jeremias Maerki
n the first place. You should really find out if you can disable pretty-printing when serializing the modified XML. > > > -Original Message- > From: Andreas Delmelle [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 3 June 2008 8:41 PM > To: fop-users@xmlgraphics.apache.org

Re: Editing Text in the Intermediate Format

2008-06-03 Thread Jeremias Maerki
Andreas, I think, adressed most of your points already. I'll just try to complement... On 03.06.2008 10:44:37 Martin Edge wrote: > Hey Guys, > > Is there any information available on how the Intermediate Format works? Not really, except if you read Java source code. It's not a designed format bu

RE: Editing Text in the Intermediate Format

2008-06-03 Thread Martin Edge
e file size it might take some time though? -Original Message- From: Andreas Delmelle [mailto:[EMAIL PROTECTED] Sent: Tuesday, 3 June 2008 8:41 PM To: fop-users@xmlgraphics.apache.org Subject: Re: Editing Text in the Intermediate Format On Jun 3, 2008, at 10:57, Martin Edge wrote: &

Re: Editing Text in the Intermediate Format

2008-06-03 Thread paul womack
Martin Edge wrote: Hey Guys, The file definitely is XML parsable.. and it’s output using XmlDocument in c# .NET. XML parseable is a low hurdle! It also needs to represent the correct semantics for FOP... BugBear - To unsub

Re: Editing Text in the Intermediate Format

2008-06-03 Thread Andreas Delmelle
On Jun 3, 2008, at 10:57, Martin Edge wrote: I don't half wonder whether the Intermediate parser is a little dodgey? I'm pretty sure I'm not doing anything silly, but I get the intermediate file I generate, process that to PCL, I can see it fine. I simply open the .AT file, paste into Vi