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

RE: why no indent here

Subject: RE: why no indent here
From: Roelof Wobben <rwobben@xxxxxxxxxxx>
Date: Mon, 12 Dec 2011 13:35:18 +0000
RE:  why no indent here
Learned another thing.

Last question.

Can it be that by using utf-8 a space is shown as B


> From: bbosgoed@xxxxxxx
> Date: Mon, 12 Dec 2011 14:16:22 +0100

> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  why no indent here
> Roelof,
> Check the xpath expression in your xsl file, do they really match the
elements you think they should match.
> Op 12 dec 2011, om 13:25 heeft Roelof Wobben het volgende geschreven:
> > <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()" />
> > </div>
> > </div>
> > </xsl:template>
> In this template you're in the context of entry.
> So the <xsl:apply-templates select="data/section/entry/body/text()"/> is
matching nothing.
> Just do <xsl:apply-templates select="body"/>
> And I would change the template to
> <xsl:template match="body">
> <xsl:call-template name="make-verbatim">
> <xsl:with-param name="text" select="text()"/>
> </xsl:call-template>
> </xsl:template>

Current Thread


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.
First Name
Last Name
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.