need clarifications on XPath vs pattern match

Didier PH Martin martind at
Mon Dec 13 17:51:34 GMT 1999


I got a comment on my transformation chapter that brought me some doubts.
The comment says about the following sentence:

"XPath is not based on XML notation but more as a string notation which
resemble a file system path. It is intended, for instance, to be used as a
string appended to a URL used to access an XML document or as a value for
the XSLT template match attribute"

"That’s a bad example because the match attribute is a pattern and patterns
are defined in XSLT, not in XPath."

I always thought that the match attribute was taking XPath expression has
value. I am wrong to think that? Am I wrong also to think that XPointer is
using XPath expressions?

Didier PH Martin
mailto:martind at

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list