|
Subject: Re: [xsl] selecting elements by attributes when working with namespaces From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Tue, 22 Jul 2008 18:33:13 +0200 |
Ahh, sorry, I should have said that I'm using v 1.0. I can't use the for-each-group.
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:ttaf="http://www.w3.org/2006/04/ttaf1" exclude-result-prefixes="ttaf">
<xsl:template match="ttaf:p">
<dt>
<xsl:value-of select="ttaf:span[@style = 'defaultSpeaker']"/>
</dt>
<dd>
<xsl:for-each select=". | key('start-p', generate-id(.))">
<xsl:value-of select="text()[last()]"/>
<xsl:if test="position() != last()">
<xsl:text> </xsl:text>
</xsl:if>
</xsl:for-each>
</dd>
</xsl:template>Martin Honnen http://JavaScript.FAQTs.com/
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] selecting elements by att, Joelle Tegwen | Thread | Re: [xsl] selecting elements by att, Joelle Tegwen |
| Re: [xsl] selecting elements by att, Joelle Tegwen | Date | Re: [xsl] FO table-body empty valid, Karl Stubsjoen |
| Month |