[thelist] XSLT XML output to XML

David Johansson thelist at dlade.net
Sat Apr 14 11:42:38 CDT 2007


Jon Molesa wrote:
> David,
> 	Much appreciated.  I'm reading through all the suggestions.  I
> posted over on comp.xml as well.  Anyway, I'll be trying all these
> shortly.  I may have not been clear though.  I'm only wanting to ignore
> those transactions that have <slot:key>gncInvoice</slot:key>, not all
> transaction with a slot:key.

Ah, sorry, I didn't get that. In that case, update the match to 
something like this:
<xsl:template match="gnc:transaction[.//slot:key[normalize-space(.) = 
'gncInvoice']]"></xsl:template>

/David




More information about the thelist mailing list