Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old August 3rd, 2013, 03:44 PM
Registered User
Join Date: Aug 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default New guy struggling with xslt

Hi All,

Please bare with me im a network engineer rather than a coder, but have had to turn my hand to this for a project im working on, any chance someone could help me with what I hope will be a simple XSLT question. Given the snippet of xml shown below

I need to find a way to select only the wav file dynamically each time and ignore the other two currently I have the following but clearly it just selects the first one.
<xsl:for-each select="resources/audio/file">
	  <xsl:value-of select="name"/>
Is it possible to do something like
<xsl:if test="@name = '*.wav'">
Really sorry but im out of my depth here and getting really frustrated as nothing I try works.

Any help would be greatly appreciated

Similar Threads
Thread Thread Starter Forum Replies Last Post
Still struggling swissroll BOOK: Professional DotNetNuke Module Programming ISBN: 978-0-470-17116-5 1 December 10th, 2010 10:52 AM
new guy cant get variables to work dolamitejenkins Python 0 September 18th, 2010 01:51 PM
Struggling With Email jack_hilary ASP.NET 3.5 Professionals 9 May 15th, 2010 12:19 AM
Hi,I am a fresh guy here.I have a stuff problem Alex.Xiong Visual C++ 0 June 5th, 2007 09:08 PM
Struggling with Configuration RPG SEARCH ASP.NET 1.0 and 1.1 Basics 3 September 29th, 2004 03:06 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.