[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: why no indent here
<xsl:template match="section/entry">
<div class="post"> <h3><xsl:value-of select="title"/> </h3> <div class="post-inner"> <xsl:apply-templates select="data/section/entry/body/text()" /> none of the entry elements in your source document have a data element as child so select="data" is already an empty sequence, so select="data/section/entry/body/text()" is necessarily empty. It looks like you intended select="body/text()" or more simply just select="body" David
This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|