Hello All..

I am trying to figure out how to add multiple nodes to a single element (I
hope I said that right!). 

This is my XML file before:

<PHIMPORT>
        <IMPORTINFORMATION>
                <DETAIL>
                        <FIELD1>TEST</FIELD1>
                        <FIELD2>TEST2</FIELD2>
                </DETAIL>
        </IMPORTINFORMATION>
</PHIMPORT>

This is what I want the result to be:

<PHIMPORT>
        <IMPORTINFORMATION>
                <DETAIL>
                        <FIELD1>TEST</FIELD1>
                        <FIELD2>TEST2</FIELD2>
                </DETAIL>
                <DETAIL>
                        <FIELD1>TEST</FIELD1>
                        <FIELD2>TEST2</FIELD2>
                </DETAIL>
                <DETAIL>
                        <FIELD1>TEST</FIELD1>
                        <FIELD2>TEST2</FIELD2>
                </DETAIL>
                ..
        </IMPORTINFORMATION>
</PHIMPORT>

Any thoughts?????

Thanks,

A. Frank Sharpless
Manager, Application Development
Paperhost.Com, Inc.
[EMAIL PROTECTED]
770.998.9172.611


_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to