xsl-list
[Top] [All Lists]

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

2007-09-25 05:14:40
  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 Bréchemier

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
(...)

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--