[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Sibling or Node manipulation

Subject: Re: Sibling or Node manipulation
From: JBryant@xxxxxxxxx
Date: Tue, 27 Sep 2005 15:21:46 -0500
Re:  Sibling or Node manipulation
One way is to use a table that has one row and two cells, one cell for the 
date and one for the "Your Signature" block.

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)




siarom egrub <egrubs@xxxxxxxxx> 
09/27/2005 03:04 PM
Please respond to
xsl-list@xxxxxxxxxxxxxxxxxxxxxx


To
Mulberry <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
cc

Subject
 Sibling or Node manipulation






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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.