[Doc-SIG] Re: [Docutils-develop] master plan for interpreted text?

Mark Nodine Mark.Nodine@mot.com
Tue, 04 Feb 2003 11:57:44 -0600


David Goodger wrote:
> > But if `something`:type: is valid for any "type",
> 
> It's not.  "type" has to be one of a pre-defined set of roles for which
> there is parser and doctree support.  Each role will have an associated
> method or function that understands the role's semantics.

I'm confused.  There seems to be parser and doctree support, since it winds
up in the pseudo-XML as::

  <interpreted position="prefix" role="role">

Can't the role be any string consisting of [a-zA-Z0-9_.-]+ ?

	--Mark