Re: [xsl] apply-templates vs value-of in leader line

Subject: Re: [xsl] apply-templates vs value-of in leader line
From: "Eric Bréchemier" <eric.brechemier@xxxxxxxxx>
Date: Tue, 25 Sep 2007 14:14:15 +0200
  Hello Jennifer,

I cannot reproduce your incorrect output... First of all, if you use
"xml" output method, you should get FO elements in the results, not
just plain text.

Can you post a (short) complete stylesheet, including the output
method? Which XSLT processor are you using?

Kind Regards,

Eric Brichemier

On 9/24/07, Jennifer Phan wrote:
>  Hello,
> I'm having trouble getting the format correct in my FO style sheet.
> Currently I am showing my data using "value-of switch[2]" I need to
> instead use "apply-templates select="switch[2]", if don't use the
> apply-templates the "value" element is not pulled in and I have an
> empty parenthesis. But when I use apply-templates all the text
> stretches across and the leader line and switch[3] starts on a new
> line. Below are examples of my problem. If anyone could explain why
> this is I appreciate it.
>
> With value-of - (this is how I want it to look, but need the () to be
> filled with the text in the value element)
> 1.  switch 2 is used in accordance with  ()
> specifications.....................ISO
>
> (...)
>
> With apply-templates
> 1.  switch          2     is    used   in      accordance       with
> all     specifications
>
.............................................................................
...................................I
>   SO
> (...)

Current Thread