[Home] [By Thread] [By Date] [Recent Entries]

  • To: xml-dev@l...
  • Subject: Regex for XPath schema type?
  • From: Amy Lewis <amyzing@t...>
  • Date: Mon, 17 Dec 2001 15:03:19 -0500
  • User-agent: Mutt/1.3.24i

Heyas,

I'm building a schema, which is supposed to contain some XPaths as data
types (that is, certain attributes in instance documents based on this
schema are expected to contain XPaths, which point into yet-another
document ...).

So, I would like to have a data type for XPath.  I started down the
path of writing the <pattern> ... and then wondered ... has anyone
already done this?

Is it possible to do, in fact, given that at some points an XPath can
contain almost anything?

I know that given time, I can turn the BNF in the spec into a regex
(using XSDL pattern facet notation), but I'm hoping that someone may
already have done so.  Web searches haven't turned up anything
promising as yet.

Amy!
-- 
Amelia A. Lewis          alicorn@m...          amyzing@t...
There's someone in my head, but it's not me.
		-- Pink Floyd

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member