Subject: Re: [xsl] block and templates. From: Luke Jones <ljones@xxxxxxxxxxxxxxxxxx> Date: Thu, 21 Sep 2006 13:54:47 -0500 |
Input looks something like this. <para> <line number="3"> <t>This is the first sentence in a paragraph.</t> </line> <line number="4"> This is the second line in a paragraph. </line> </para> Thanks. On Thu, 2006-09-21 at 20:26 +0200, Florent Georges wrote: > Luke Jones wrote: > > > <xsl:value-of select="./line"/> > > Unless you have embedded lines, this will match nothing. > > > <xsl:apply-templates /> > > This will match all child elements as well as all child text nodes. > In particular, if you have text nodes with spaces and line return > characters (often used to indent XML documents), these nodes will be > selected (unless you used xsl:strip-space). > > But all that are guesses. What does your input look like? > > Regards, > > --drkm > > > > > > > > > > > > > > > > > > > > > > > > ___________________________________________________________________________ > DC)couvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! > Yahoo! Questions/RC)ponses pour partager vos connaissances, vos opinions et vos expC)riences. > http://fr.answers.yahoo.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] block and templates., Florent Georges | Thread | Re: [xsl] block and templates., Florent Georges |
Re: [xsl] block and templates., Florent Georges | Date | Re: [xsl] block and templates., Florent Georges |
Month |