|
Igor Sukhov wrote: Your answers doesn't really help but only giving the frustration.
Sorry I guess I don't understand what your question is. I already said the XML looks fine to me if it were valid.
|
|
|
|
|
He's saying you should do his homework for him. Like many a boss, you should know exactly what it is that he needs to accomplish and do that work for him.
Logifusion[^]
|
|
|
|
|
He wasn't even the OP! I just now figured that out thanks to your post. hehe... some times I am so thick
|
|
|
|
|
|
|
Hello,every body,
please help to tell me how to save XML as string, (I use VC++ to develop)Pug XML Parser.thanks!!!
regards
angus
|
|
|
|
|
Don't cross post
"Just about every question you've asked over the last 3-4 days has been "urgent". Perhaps a little planning would be helpful?" Colin Angus Mackay in the C# forum
led mike
|
|
|
|
|
Hi all,
I'm creating an xslfo file for printing and I have to use margin-top and margin-bottom. But I must ignore the previous margin-bottom to keep the blocks together. This margin-bottom only for last block of the page and pages can have more than one block. I cannot figure out which block is the last one of the page.
Is there any way to ignore margin-top or margin-bottom?
(I must use more than one block on each page and I'm creating all blocks with same way.)
Thanks all..
|
|
|
|
|
Hi all,
I am using FOP to generate pdf documents... It runs out of memory. I saw that a lot of people complained about this on the net but no one realy gave any answers on how to solve this.
One piece said that it could be the layout of the xsl but i tried everything to minimize the amount of for-each statements, and so on.
Some of my documents have 100+ pages. Most of my data is in tables, Would this be an issue?
I'm still reading up on this, if i find something i'll let you know. until then any help would be great. I don't know if posting my xsl file would be of any help?
He who laughs last...
|
|
|
|
|
It may be the JVM running out of memory - I've experienced that with FOP - try adding something like "-Xmx256m" or "-Xmx512m" to the Java command line that runs FOP.
|
|
|
|
|
Thank you but then i run out of virtual memory...
so yet again i run out of memory.
Does anybody know if there is a command that forces the fop OR JVM to release the Memory and then go on?
He who laughs last...
-- modified at 8:27 Monday 17th July, 2006
|
|
|
|
|
How much RAM and virtual memory does your PC have?
BTW - I have generated up to 700 pages wih FOP, mostly using tables - so I don't think your data is likely to be the problem.
|
|
|
|
|
256 mb ram
i can set the virual memory.
Did it take long to generate that big pdf files?
mine takes 4ever...
He who laughs last...
|
|
|
|
|
NarutoFan#1 wrote: Did it take long to generate that big pdf files?
With that amount of RAM, yes....it'll be swapping like mad.
I've not used FOP for anything significant with less than 512MB, 1GB of RAM is preferable...
|
|
|
|
|
how big does your java.exe get in the taskmanager when you run fop?
He who laughs last...
|
|
|
|
|
I've just run my "big" FOP sample - it produces a 681 page document, which is probably 80% tables. Its virtual memory usage peaked at 323MB.
I also tried it on parts of the big sample. A 24 page sample took around 40MB to produce.
|
|
|
|
|
Thank you for your time...
Are there any "for-each" statements in your xsl?
He who laughs last...
|
|
|
|
|
Hmmmm - the fact that you say that implies it might not be FOP, but your XSLT engine - my PDF production process has two steps - firstly, transform XML files to XSL-FO files using XSLTPROC[^], then use FOP to convert the XSL-FO to PDF. Which step is failing for you?
[Edit]I've got one xsl:for-each in my XSL transform.[/edit]Last modified: 18 July 2006 02:41:26 --
|
|
|
|
|
oh okay, so it might be at the stage where the xml and xsl gets transformed into xsl-fo and not necessarily the part where it gets transformed into pdf by fop?
i send a xml file and xsl file to fop and i think fop converts it to xsl-fo for me and then to pdf, i never see the xsl-fo.
He who laughs last...
|
|
|
|
|
Yep, could be. If you look at this[^], it says there should be a file called xalan.bat in your FOP distribution that you can run to produce the XSL-FO files. Try that and see if that's where the memory usage occurs.
This[^] may also help, WRT memory problems.
|
|
|
|
|
Do you know where i'd be able to download fop source code? i'm going to look for it on the internet, but if you know where i can find it that would be great.
i want to try and step through the code to see if i can find any problem. It's a long shot but worth a try i suppose...
He who laughs last...
|
|
|
|
|
Wait, i found.
Thank you for your time.
Does anybody know how to step through the fop code as it gets executed?
He who laughs last...
|
|
|
|
|
I am having a XML file.
I wish to create a class in VB.NET, dynamically.
The name of all properties will be same as tag names in HTML file and value of that property will be value within tags.
Ex. Consider part of XML file as follows.
Kumar
27
.....and so on
Now when I create a class from it,
I should have someting like this
Lets say obj is object os class.
obj.Name
obj.Age
and value of obj.Name should be "Kumar", obj.Age--"27" and so on
Can any one help me out in this case?
Regards,
Amol
Every thing will come to you if you have faith.
|
|
|
|
|
hi,
i want to create an XML file through windows forms using visual studio.net 2005 . i hav provded n interface with text boxes nd combos the programs takis in values from then nd write them in the file .. but i can enter inly one data using this cuz wen i append this file it fivs an error that root document tag is being repeated .. so need help with appending an XML file
warm ragards BIa Ali
|
|
|
|
|
Can you tell us what you are using to create the xml? Basically your problem is that an xml document can only have one root node so - <root><node><root><node> is invalid. The valid way to store two nodes would be - <root><node><node>
|
|
|
|