Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Re: trying to build an xpath query...

Thread Tools

Re: trying to build an xpath query...

Michael Dahlquist
Posts: n/a
I spoke too soon. In your example, you say:

<xsl:template match="*" mode="after-b">
****<xsl:text>element: </xsl:text>
****<xsl:value-of select="name()"/>

I need to perform a transform on all the nodes in this group. I can't
use <xsl:apply-templates/>, since I need to transform siblings; and all
the sibling queries I'm making are transforming the entire document. Can
I reuse the key in an <xsl:apply-templates match="?"/> statement?

Thanks for your help -


*** Sent via Developersdex ***
Don't just participate in USENET...get rewarded for it!
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Memory leak" in javax.xml.xpath.XPath Marvin_123456 Java 4 07-29-2005 03:49 PM
SWsoft Acronis Disk Director Suite 9.0 Build 508, Acronis OS Selector 8.0 Build 917, Acronis Partition Expert 2003 Build 292, Acronis Power Utilities 2004 Build 502, F-SECURE.ANTI vIRUS.PROXY v1.10.17.WINALL, F-SECURE.ANTI vIRUS v5.50.10260 for CITRI vvcd Computer Support 0 09-25-2004 01:38 AM
Re: trying to build an xpath query... Michael Dahlquist XML 0 07-09-2003 08:07 PM
Problem selecting a node with XPATH if attribute value contains backslashes - how to force XPATH string to be treated as literal? Alastair Cameron XML 1 07-08-2003 07:24 PM
trying to build an xpath query... Michael Dahlquist XML 0 07-01-2003 08:21 PM