|
1.
I need to do any
changes in XML data file using Castor so
first I need
to unmarshal XML source using mapping file
then save it
to bean
and then
marshal it back to the new XML file. The structure of XML and java files
is similar to "Addressbook" example.
Everything is OK, but....
if I have any attributes in source file after transformation theese
attributes becomes elements. How can I avoid that
problem?
2. The same task but
another question: how to transfer stylesheet information like:
<?xml:stylesheet type="text/xsl" href="index.xsl"?>
from the source XML to
target XML using marshalling/unmarshalling.
WBR,
Viktor
Stein |
