[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] [XPath] matching elements which satisfy a specific content model


Subject: Re: [xsl] [XPath] matching elements which satisfy a specific content model
From: Tobias Reif <tobiasreif@xxxxxxxxxxxxx>
Date: Mon, 13 Jan 2003 18:26:15 +0100

Américo Albuquerque wrote:

Yes, but all other Xpath functions and patterns are namespace aware.


... as is this proposed one.
(Sure it is!)

eg (p-s-e-u-d-o code and syntax:)

[... declare all prefix<=>URI mappings here, as usual]
... match="mixed:group[
             content-model(../, 'wooden:table(?),tablular:table(+)')
           ]"

BTW, it doesn't matter at all if the syntax is inspired by DTD; the proposal is about simple syntax for simple content models in general, and all code is pseudo-code. The exact syntax is not part of the motivation.

Tobi
--

Vim users               donate.
http://iccf-holland.org/donate.html

Web developers           check.
http://www.pinkjuice.com/check/


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list




Current Thread
Keywords