Fwd: Re: XML Schemas patterns

Florent Georges wrote:

  Sorry, there was a typo in the list's address when I sent my
response.  Here is my email:

> Date: Thu, 17 May 2007 23:53:03 +0200 (CEST)
> De: Florent Georges
> Objet: Re: XML Schemas patterns
> À: Michael Kay, 'Andrew Welch'
> Cc: 'xmlschema-dev@w3.org
> 
> Michael Kay wrote:
> 
>   Hi
> 
>   Thanks for your responses.
> 
> > > >   Speaking of this, does anyone know a good, established
> > > > reference 
> > > > about different styles of schema, different schema patterns?
> 
> > > Here's one:
> 
> > > http://www.xfront.com/GlobalVersusLocal.html
> 
> > > Not sure it meets of the requirements you mention, but its not
> bad.
> 
>   Sounds promising.  Thank you Andrew.  I also found the following
> article (though I didn't read it yet):
> 
>
http://developers.sun.com/jsenterprise/nb_enterprise_pack/reference/techart/design_patterns.html
> 
> > But it was written before anyone had any awareness of the
> > impact on schema-aware queries and stylesheets. This
> > changes the rules, for example it becomes much more
> > important to define global elements and types so that you
> > can use their names in function signatures.
> 
>   The above article is more recent (Nov. 2006), but it doesn't seem
> to
> take those problems into account (although again I didn't read it
> yet).
> 
>   In the same field of ideas, I found useful to use global elements
> and
> use them through @ref instead of declaring sub-elements by @name +
> @type, as the qualified name is then reliable in XPath expressions
> even
> in basic XSLT 2.0 processors (or in match patterns).
> 
>   Regards,
> 
> --drkm





















      _____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 

Received on Thursday, 17 May 2007 21:56:06 UTC