Hi,
 Is there any way of forcing namespace definitions to appear at the top of a file rather than inline.
 
  The reason I need this is that I have a schema like definition called OASIS CAM that processes files by examples and uses rules to enable cross field validation etc.
 
 As the example contains the namespaces that the rule also use there is a need to get the namespace definitions to be at the root node so they can be accessible to the entire file.
 
  In Java I handle this by reading the entire file but we are trying to create CAM files from XSD and we could really do with the namespaces on the root node without having to put dummy attributes out.
 
Martin