XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Go to previous topicPrev TopicGo to next topicNext Topic
Rinaudo StephSubject: Name Element
Author: Rinaudo Steph
Date: 22 Jan 2002 03:46 AM

In my example , I have two elements name: one is UsageOne and the other is UsageTwo.
I'd like to match this two element and apply a template on it.
I try to match the beginning of the element but I don't manage to use the function start-with (and may be is there an other way)

Thanks for answering

Minollo I.Subject: Re: Name Element
Author: Minollo I.
Date: 22 Jan 2002 08:46 AM
Not sure I understand the question; do you want to create a template that
matches on both elements? If that's the case, I would guess the simplest
solution is to do:
{xsl:template match="UsageOne|UsageTwo"}


Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.