- From: Eric van der Vlist <vdv@dyomedea.com>
- Date: Fri, 12 Jan 2001 22:31:07 +0100
- To: xmlschema-dev@w3.org
Robert Braddock wrote: > > > > without violating this property, I appreciate if people design without > > > global elements (I just use global complexTypes where I had global elements > > > before). > > > > That's quite a constraint, though, especially where multiple namespaces > > are involved since types behave differently than elements in this > > context. > > I don't see what you mean here. My schemas just reference types through their > schema's namespace, just like global elements would be referenced. I do this > specifically for the multiple namespace case. Could you explain? Sure ;) When you write: <xsl:element ref="ns:elt/> the element will belong to the namespace prefixed by "ns". When you write: <xsl:element name="elt" type="ns:type"/> The element is either from the target namespace of your current schema or unqualified. Eric > > Robert Braddock -- ------------------------------------------------------------------------ Eric van der Vlist Dyomedea http://dyomedea.com http://xmlfr.org http://4xt.org http://ducotede.com ------------------------------------------------------------------------
Received on Friday, 12 January 2001 16:29:06 UTC