<element name="foo" type="xsd:string"/>
for this to work I need xsd to be an alias for http://www.w3.org/2001/ XMLSchema.
To work around this, I added a DomElement::addNS($uri, $alias) method to Dom. Adding the namespace 'manually' as an attribute on an element does not work.
I know this isn't part of the Dom spec, but it's incredibly useful. Does anyone (Rob, Chegru) mind me adding it to HEAD?
George
George Schlossnagle
-- Vice President of Engineering -- OmniTI Computer Consulting -- http://www.omniti.com