Groups | Blog | Home
all groups > dotnet xml > may 2004 >

dotnet xml : need help/cheat sheet on xsl match commands


darrel
5/21/2004 2:46:16 PM
I'm struggling to keep track of all the ways to format a match value. Can
anyone recommend a decent overview or cheat-sheet?

Here's the particular one I'm stuck on:

I want to match any 'page' tag with the attribute of the subSite param.

I've tried this:

//page[@subSite=$subSite]

but that's not working.


darrel
5/21/2004 2:59:54 PM

Nevermind. ;o)

I think this will work nicely:

http://www.w3schools.com/xpath/xpath_syntax.asp

-Darrel

Daniel Cazzulino [MVP XML]
5/26/2004 11:17:45 AM
You may want to have this one at hand:
http://www.mulberrytech.com/quickref/XSLTquickref.pdf
It's an amazing summary of all of XSLT and XPath.

--
Daniel Cazzulino [MVP XML]
Clarius Consulting SA
http://weblogs.asp.net/cazzu
http://aspnet2.com

[quoted text, click to view]


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.690 / Virus Database: 451 - Release Date: 24/05/2004

AddThis Social Bookmark Button