xsl-list
[Top] [All Lists]

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

2003-01-13 10:26:15
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



<Prev in Thread] Current Thread [Next in Thread>