Subject: RE: [xsl] accessing multiple xml documents from within one template From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Fri, 16 Jan 2009 23:30:58 -0000 |
Use *[name()=$fieldname], and if it's too slow then find a faster processor. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Stefan Hunziker [mailto:stefan.stanjasele@xxxxxxxxx] > Sent: 16 January 2009 23:01 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Re: [xsl] accessing multiple xml documents from > within one template > > I have a solution now for accessing both trees, I have to > step through the reportDef using xsl:for-each. But now I have > the next problem: > > In $fieldname there is the desired tag, eg "title". Can I get > the title element of my current book node without looping > through the whole node and comparing with name(.)=$fieldname? > The given sample is a simplification, the real book node in > my application has maybe 100 elements and with maybe 1000 > books this would be a little bit too time consuming. > > any ideas?
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] accessing multiple xml do, Stefan Hunziker | Thread | Re: [xsl] accessing multiple xml do, Stefan Hunziker |
Re: [xsl] accessing multiple xml do, Stefan Hunziker | Date | Re: [xsl] accessing multiple xml do, Stefan Hunziker |
Month |