xsl-list
[Top] [All Lists]

Sibling or Node manipulation

2005-09-27 13:04:41
I have the following XML 

<customersRepInfo>
  <criLine>Your Name (Print):</criLine>
  <criLine>Your Signature:</criLine>
  <criLine>Date:</criLine>
  <criLine>Your Job Title:</criLine>
  <criLine>Telephone Number:</criLine>
</customersRepInfo>

How can I get the "Date:" line to aligned across from
(horizontal to) the "Your Signature:" line my output
PDF file? 

I have this tried

<xsl:template match="customersRepInfo">
 <xsl:for-each select="criLine">
    <fo:block space-before="3mm" font-size="4.8mm">
         <!--xsl:apply-templates/-->
         <xsl:value-of select="preceding-sibling::*
[2]."/>&#160;&#160;<!--This doesn't display the
"Telephone Number:" line--->
         <!--<xsl:value-of select="."/>--> <!--Displays all
the lines in same order as XML--->
         <fo:leader leader-length="3in"
leader-pattern="rule"/>
    </fo:block>
  </xsl:for-each>
</xsl:template>

but without the solution that I want.


Thanks in advance for your help!

~S.E.



                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

--~------------------------------------------------------------------
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>
--~--



<Prev in Thread] Current Thread [Next in Thread>