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

Re: xsl templates match does not work

Subject: Re: xsl templates match does not work
From: josh higgins <doopsterus@xxxxxxxxx>
Date: Wed, 6 Apr 2005 09:22:36 -0700 (PDT)
how yahoo personals work
I am calling it as follows.  The table heading show up
but the data from the xml sheet does not show up.  If
I hard code the path to the xml data it work though. 
Don't understand.

 <xsl:template match="/">
  <fo:root
xmlns:fo="http://www.w3.org/1999/XSL/Format">
  
   <fo:layout-master-set>
     <fo:simple-page-master master-name="simple"
                   page-height="11in" 
                   page-width="8.5in"
                   margin-top=".5in" 
                   margin-bottom=".5in" 
                   margin-left=".5in" 
                   margin-right=".5in">
     <fo:region-body margin-top="1.18in"/>
       <fo:region-before extent="1.18in"/>
       <fo:region-after extent=".59in"/>
     </fo:simple-page-master>
   </fo:layout-master-set>
 
 
   <fo:page-sequence master-reference="simple">
   	<fo:flow flow-name="xsl-region-body">
		
	<!--		<xsl:call-template name="mailingAddr"/>
			<xsl:call-template name="summary"/>
			<fo:block font-family="monospace"
					  white-space-collapse="false" 
					  linefeed-treatment="treat-as-space"  
					  white-space-treatment="preserve">
		 		<xsl:call-template name="detail"/>	
			</fo:block>
			<xsl:call-template name="returnAddress"/>
   	-->
			<fo:block>
				<xsl:call-template name="summaryTable"/>
			</fo:block>
   	</fo:flow>
   </fo:page-sequence>
  </fo:root> 
 </xsl:template>



--- David Carlisle <davidc@xxxxxxxxx> wrote:
> 
> 
> You  have a template called summaryTable but you
> don't show how (or if)
> that template is executed.
> 
> that has
> 
> 					<xsl:apply-templates select="total_due"/>
> 
> which will work if total_due selects a total_due
> eleemnt which it will
> if total_due is a child of the current node, ie the
> current node is
> a row node.
> 
> I would guess that is not the case in your styleseet
> but that has to be
> a guess since you don't show the relevant bits.
> 
> David
> 
>
________________________________________________________________________
> This e-mail has been scanned for all viruses by
> Star. The
> service is powered by MessageLabs. For more
> information on a proactive
> anti-virus service working around the clock, around
> the globe, visit:
> http://www.star.net.uk
>
________________________________________________________________________
> 
> 


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Personals - Better first dates. More second dates. 
http://personals.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.