Click here to Skip to main content
15,904,024 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: Fop problems Pin
Support12310-Jul-06 5:54
Support12310-Jul-06 5:54 
GeneralRe: Fop problems Pin
Dustin Metzgar10-Jul-06 6:05
Dustin Metzgar10-Jul-06 6:05 
GeneralRe: Fop problems Pin
Support12311-Jul-06 1:35
Support12311-Jul-06 1:35 
GeneralRe: Fop problems Pin
Dustin Metzgar11-Jul-06 2:06
Dustin Metzgar11-Jul-06 2:06 
GeneralRe: Fop problems Pin
Support12311-Jul-06 2:24
Support12311-Jul-06 2:24 
GeneralRe: Fop problems Pin
Dustin Metzgar11-Jul-06 2:40
Dustin Metzgar11-Jul-06 2:40 
GeneralRe: Fop problems Pin
Support12311-Jul-06 2:54
Support12311-Jul-06 2:54 
GeneralRe: Fop problems Pin
Dustin Metzgar11-Jul-06 3:26
Dustin Metzgar11-Jul-06 3:26 
Ah, now we're getting somewhere. First of all, I think you should download a newer version of FOP, because the one you have doesn't seem to have all the features you need. I'm currently working with 0.91beta, but there's a 0.92. Head out here to download it: http://xmlgraphics.apache.org/fop/download.html[^]

The next thing is that you changed the first template match and that's fine, but don't do this:
<xsl:apply-templates select="ClientLookUp"/>

It's just an unnecessary call and it's only going to confuse you as to how the template matching works. The first template you have was matching on the document root but wasn't actually going into the document element. It couldn't see Title and TableEntries because they were one level deeper than where it was looking.

Also, my version of FOP is giving your XSL the following error: For fo:simple-page-master, fo:region-before must be declared before fo:region-after.

So, in your ClientLookUp template, reverse the order of region-before and region-after:
<fo:region-body margin-top="2cm"/>
<fo:region-before extent="1.5cm"/>
<fo:region-after extent="1.5cm"/>

This at least gets your PDF to come out. I'm sure it's not going to look like you want it to, but at least this gives you something you can look at.




Logifusion[^]
GeneralRe: Fop problems Pin
Support12311-Jul-06 3:37
Support12311-Jul-06 3:37 
GeneralRe: Fop problems Pin
Support12311-Jul-06 5:47
Support12311-Jul-06 5:47 
GeneralRe: Fop problems Pin
Dustin Metzgar11-Jul-06 6:28
Dustin Metzgar11-Jul-06 6:28 
GeneralRe: Fop problems Pin
Support12311-Jul-06 6:38
Support12311-Jul-06 6:38 
GeneralRe: Fop problems Pin
Support12311-Jul-06 22:11
Support12311-Jul-06 22:11 
GeneralRe: Fop problems Pin
Dustin Metzgar12-Jul-06 3:33
Dustin Metzgar12-Jul-06 3:33 
GeneralRe: Fop problems [modified] Pin
Support12312-Jul-06 6:18
Support12312-Jul-06 6:18 
GeneralRe: Fop problems Pin
Dustin Metzgar12-Jul-06 6:49
Dustin Metzgar12-Jul-06 6:49 
GeneralRe: Fop problems Pin
Support12312-Jul-06 20:07
Support12312-Jul-06 20:07 
GeneralRe: Fop problems Pin
Support12318-Jul-06 6:01
Support12318-Jul-06 6:01 
GeneralRe: Fop problems Pin
Dustin Metzgar18-Jul-06 11:47
Dustin Metzgar18-Jul-06 11:47 
GeneralRe: Fop problems Pin
Support12311-Jul-06 5:49
Support12311-Jul-06 5:49 
QuestionCrystal report exported xml Pin
Naveed Kamboh10-Jul-06 3:06
Naveed Kamboh10-Jul-06 3:06 
QuestionPopulation of .NET property grid [modified] Pin
tom groezer9-Jul-06 20:17
tom groezer9-Jul-06 20:17 
QuestionCreating XPath from given node Pin
mhadamji7-Jul-06 1:48
mhadamji7-Jul-06 1:48 
AnswerRe: Creating XPath from given node Pin
Dustin Metzgar7-Jul-06 3:37
Dustin Metzgar7-Jul-06 3:37 
QuestionRe: Creating XPath from given node [modified] Pin
mhadamji7-Jul-06 5:29
mhadamji7-Jul-06 5:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.