> This is the first time I come across this problem, since I > always use the default namespace and everything works well. > So this means in an XML file, when I declare default > namespace in root element but no namespace prefix in > attribute, then the attribute is with no namespace?
Yes. I recall Michael Kay mentioning the 'why' on either the Mulberry XSL or the XQuery-talk list, but it must have been too vague for me to remember. It must have been something like people either being too lazy to type the prefix, or the fact that attributes don't really live without a parent element, so their namespace is already kind of determined by the parent, and you only really need prefixes on foreign attributes (like XLink ones).. Something like that.. :-P Kind regards, Geert drs. G.P.H. (Geert) Josten Consultant Daidalos BV Hoekeindsehof 1-4 2665 JZ Bleiswijk T +31 (0)10 850 1200 F +31 (0)10 850 1199 mailto:[email protected] http://www.daidalos.nl/ KvK 27164984 P Please consider the environment before printing this mail. De informatie - verzonden in of met dit e-mailbericht - is afkomstig van Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend. _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
