xsl-list
[Top] [All Lists]

Re: [xsl] block and templates.

2006-09-21 11:53:48
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



















      

      
              
___________________________________________________________________________ 
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le 
sujet ! 
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et 
vos expériences. 
http://fr.answers.yahoo.com 


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>