logo       

Generating XML with namespace?: msg#00104

lang.groovy.user

Subject: Generating XML with namespace?


I've seen the recent message regarding MarkupBuilders, still I don't
quite get it. I want to generate (textual) XML with a namespace.
Something like

<my:root xmlns:my="http://www.example.com/mynamespace";>
<child/>
...
</my:root>



I've had a look at <http://groovy.codehaus.org/GroovyMarkup> and
<http://wiki.codehaus.org/groovy/TreeBasedSyntax>, but they were more
confusing than helpful to me as they presuppose too much that I don't
yet understand.

Michael

--
Michael Schuerig The usual excuse for our most unspeakable
mailto:michael-q5aiKMLteq4b1SvskN2V4Q@xxxxxxxxxxxxxxxx public acts is that
they are necessary.
http://www.schuerig.de/michael/ --Judith N. Shklar



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise