Khisanth Magus Posted January 30, 2007 Share Posted January 30, 2007 I"m sure that the answer to this is going to be either a simple "its not possible", or something that will make me want to bang my head on the desk for not realizing myself.I am working in exporting Java classes to XML. It is working well enough, but I ran into something. Is there a way to import one xml file into another xml file? Essentially I have 2 different types of java classes I want to export. One class has a list of the other class inside of it. So, instead of defining all of the information again in the castor mapping, I want to import the xml from the one file to be used in its parent file.I hope this made some sense...basically I just want to import one XML file so what is in that file is usable in another XML file. Link to comment Share on other sites More sharing options...
boen_robot Posted January 30, 2007 Share Posted January 30, 2007 You can create an XSLT file that would copy-of the contents of the imported file, after first having the contents of the main file.Oh... let's just say: learn XSLT. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now