tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Wilson <paulalexwil...@gmail.com>
Subject Re: Using namespaces within XML documents produced from JSPXs
Date Thu, 29 Sep 2011 08:43:55 GMT
On 29 September 2011 09:28, Konstantin Kolinko <knst.kolinko@gmail.com>wrote:
>
> The following will work for you:
>
> <foo:xyz xmlns:foo="path/to/foo/ns">
>   <foo:p/>
>  <bar:q xmlns:bar="path/to/bar/ns" />
> </foo:xyz>


Unfortunately (this is the first thing I tried), the client won't accept the
namespace being bound on the element itself, and requires that it be bound
on the XML's root tag. Looks like I'm stuck.

Thanks for your help, much appreciated!
Paul

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message