You might also want to simplify your life (?) a bit by redefining the default namespace:

<taxonomy xmlns="http://greenwood.com/metadata/fragment";>

then you don't have to make any changes to the child elements (at least in their serialized form). Of course if you're processing in an XML-aware environment like MarkLogic, you'll have to do something to change their namespaces.

-Mike


Jason Hunter wrote:
My expectation here is that not only will <taxonomy> be in the
namespace "http://greenwood.com/metadata/fragment"; but so will all the
child elements.

For that to happen you'll need to use the mf prefix on them, such as <mf:booktitle>. Do that for all the elements you want in that namespace.

The Namespace spec explains everything:
http://www.w3.org/TR/xml-names/

-jh-

_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to