[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: determining whether an XPATH points to an element

Subject: RE: determining whether an XPATH points to an element or attribute
From: Edward.Middleton@xxxxxxxxxxx
Date: Wed, 23 Jan 2002 17:44:37 +0900
RE:  determining whether an XPATH points to an element
Sorry I was a bit unclear.

I am generating a XSLT stylesheet from an XML file that looks like this.

<path>//tagname</path>
<path>//@attributename</path>

some point to attributes and some pointing to elements.
I want to generate the following template match rule for an XPATH pointing to a element

<xsl:template match="//tagname">
	<TagOperation>
</xsl:template>

and

<xsl:template match="//@attributename">
	<AttributeOperation>
</xsl:template>

for an XPATH pointing to an attribute.

Sorry for the confusion


Edward

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.