[thelist] XSLT XML output to XML

Jon Molesa rjmolesa at consoltec.net
Sat Apr 14 13:37:03 CDT 2007

On the other hand.  I believe after a closer look you're example worked
perfectly.  What I have now are Payments that were associated with those
invoices.  ARGH!

These are identified by:

<slot:value type="string">P</slot:value>

I'm going to try adding a similar structure as before, but with this

Thank you so much for your help.

* Jon Molesa <rjmolesa at consoltec.net> wrote:

> Again David I appreciate your knowledge.  I think we're headed in the
> right direction.  I'll admit that I'm clueless about what is happening
> here.  But you did mention the XML in your first response so I'll
> include it now.
> <!-- ignore this whole transaction -->
> <!-- there are many more elements, but i don't think they're important
> for what I want to do-->
> <gnc:transaction version="2.0.0">
>   <trn:slots>
> 	<slot>
> 		<!-- if this is present in the transaction -->
>       <slot:key>gncInvoice</slot:key>
>     </slot>
>   </trn:slots>
> </gnc:transaction>
> I think what you've given me still includes the transaction that
> includes gncInvoice just without the gncInvoice node.
> I was trying to be brief in my question but I don't think I gave enough
> information to allow you to help me.  Thanks again and I'm looking
> forward to your response.
> * David Johansson <thelist at dlade.net> wrote:
> > 
> > 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>
> -- 
> Jon Molesa
> rjmolesa at consoltec.net
> if you're bored or curious
> http://rjmolesa.com
> -- 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> For unsubscribe and other options, including the Tip Harvester 
> and archives of thelist go to: http://lists.evolt.org 
> Workers of the Web, evolt ! 

Jon Molesa
rjmolesa at consoltec.net
if you're bored or curious

More information about the thelist mailing list