Internal Hyperlink

2004-11-26 Thread Sven Waibel
Hi,


i need in my xsl an expression like that: id={concat(@id,../@id)}
because i must combine the unique one with not unique one, so i get a unique 
combination.

I hope i expressed myself not so confused.

Thanks and best regards,
Sven


So looks my xml/xsl at the moment:

XML:

case id is always unique.
auto id is not always unique.
--
case id=1
auto id=91
/auto
auto id=92
/auto
auto id=91
/auto
/case



case id=2
auto id=81
/auto
/case


XSL:
--
template match=case
..
fo:block id=[EMAIL PROTECTED]auto/fo:block
...
...
fo:basic-link internal-destination=[EMAIL PROTECTED]
Hyperlink: Jump with this link to auto...
/fo:basic-link
...
...


/template


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



resetting image cache during processing

2004-11-26 Thread Agar, Robert
hi all,

Is it safe to call FopImageFactory.resetCache() during processing?  We need to 
reduce the memory usage as much as possible, so I was considering calling it 
every time a page rendered info event is logged.  Or does this sound like a 
really bad idea?

cheers
Rob


**
This message is sent in strict confidence for the addressee only.  It may
contain legally privileged information. The contents are not to be disclosed
to anyone other than the addressee. Unauthorised recipients are requested
to preserve this confidentiality and to advise the sender immediately of any
error in transmission.
This footnote also confirms that this email message has been swept for the
presence of computer viruses, however we cannot guarantee that this message
is free from such problems.
**


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Internal Hyperlink

2004-11-26 Thread Andreas L. Delmelle
 -Original Message-
 From: Sven Waibel [mailto:[EMAIL PROTECTED]


Hi Sven,

 i need in my xsl an expression like that: id={concat(@id,../@id)}
 because i must combine the unique one with not unique one, so i
 get a unique combination.

In these cases (esp. when the id's are all numerics), I have found it much
safer to insert a dash in between them, so:

id={concat(../@id,'-',@id)}

would make sure that the concatenation of 1 and 11 (1-11) is actually
different than the concatenation of 11 and 1 (11-1).


Hope this helps! (If not, I have misunderstood the problem, so feel free to
ask again... :-) )

Greetz,

Andreas


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: starting a new page

2004-11-26 Thread Andreas L. Delmelle
 -Original Message-
 From: Osman ?nar Eren [mailto:[EMAIL PROTECTED]


Hi,

 in the following body after the first template is applied, i want
 to start the second template in a new page.


Since you leave us guessing... the template probably currently looks like:

xsl:template match=elementlist
  fo:block ...

Adding this:

  xsl:if test=(key = 'pasif') and (position() = 1)
xsl:attribute name=break-beforepage/xsl:attribute
  /xsl:if

should be sufficient.

HTH!

Greetz,

Andreas


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]