XPath help req'd! Pattern-matching
#7
Hmm, I'm a little dubious be I'll give you the benefit of the doubt!
Using C# and the System.Xml namespace. I need the solution to work inside an XSL template though, with a for-each..
Cheers for yr help
Using C# and the System.Xml namespace. I need the solution to work inside an XSL template though, with a for-each..
Cheers for yr help
Trending Topics
#8
Scooby Regular
Unless you see a method that can do it for you you won't be able to do it with the API, which is why I asked which language; if you want to pattern match on nodes and the API doesn't afford you the luxury then the problem becomes language specific.
Does't matter, C# I can't help you with
Good luck,
Steve.
Does't matter, C# I can't help you with
Good luck,
Steve.
#9
I don't want to do it with the API though, just doing a straight XSLT transformation - it's the same on Java, C#, whatever! Looking for a means of doing the pattern matching using XPath - but it doesn't seem to work that way. Ah well....
Cheers
Cheers
#11
//*[starts-with(name(),'PREMIUMCLASS-')]
howzat!?
there are some good xpath examples here
xpathvisualizer is also a very handy tool.
[Edited by netclectic2 - 5/7/2002 3:33:09 PM]
howzat!?
there are some good xpath examples here
xpathvisualizer is also a very handy tool.
[Edited by netclectic2 - 5/7/2002 3:33:09 PM]
Thread
Thread Starter
Forum
Replies
Last Post