Hi Stefan,
In my experience the easiest way is via XmlCursor. The API's are
pretty straight forward but let the list know if you need a hand.
-Jacob Danner
On 5/11/07, Stefan Offermann <[EMAIL PROTECTED]> wrote:
Hello,
I successfully made a xmlbean for rss-documents, an example for the
output is:
<rss>
<channel>
<item>
<title>My title</title>
</item>
</channel>
</rss>
Now I want to add a namespace for some extensions to the rss-standard,
the output I want to generate should look like this:
<rss xmlns:id2="http://www.idisplays.info">
<channel>
<item>
<title>My title</title>
<id2:source>My source</id2:source>
</item>
</channel>
</rss>
How do I do this? I think I have not enough knowlegde about namespaces
in xml...
Can I alter my rss.xsd with an extension to add the source-tag as a
child of the item-tag? Or can I use XmlCursor or execQuery to reach my
goal? I am a bit confused about all possibilities.
Thanks in advance, Stefan Offermann
--
Stefan Offermann
Institut für Geoinformatik
Westfälische Wilhelms-Universität
Robert-Koch-Str. 26-28
D-48149 Münster
Fon: +49 (0)251 83-31961
Mail: [EMAIL PROTECTED]
Web: http://www.ifgi.de
http://ifgi.uni-muenster.de/~offermann/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]