Alexander,

Can the second file be seperated in a general part (part that's needed by
first mapping) and a other
part, that needs part one and the first mapping stuff?

Did you try the XML document reference inclusion? In that way a document can

include a other document / text literly.

In the example below, the mappingA file is include in mappingB as if it was
written
in mappingB. These references are solved, before the xml file is interpeted.


file 'mappingB.xml':
----------------------------------------------------------------------------
----
<!DOCTYPE project [
    <!ENTITY mappingA      SYSTEM  "file:/yourpath/mappingA.xml">
]>


<!--  The inclusion of mapping A into Mapping B  -->
&mappingA;


<!--  The mapping B goes here  -->
<mapping>

</mapping>
----------------------------------------


Tjeerd


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: dinsdag 16 april 2002 11:37
To: [EMAIL PROTECTED]
Subject: [castor-dev] Date: Tue, 16 Apr 2002 11:36:32 +0200


I have the following problem:
I have organized my mappingFiles like the packages in java. So for each
package one mapping-File. If I need one mappingFile from another package I
can put the include-tag into the mapping file. But how can I process if I
need the mappingFile (let's call it firstMappingFile.xml) in the other
MappingFile (secondMappingFile.xml) and the otherway round. So I must have a
include of the secondMappingFile in my firstMappingFile and a include of the
firstMappingFile in my secondMappingFile. But so I get a
StackOvervlowException (logical). But how can I solve this problem? Or is
there any suggestion of organizing MappingFiles?

thanks
Bachlechner Alexander
EconomyLineSoftware GmbH
Tirol/Austria
----------------------------------------------------------- If you wish to
unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a
subject of: unsubscribe castor-dev 

This e-mail and any attachment is for authorised use by the intended recipient(s) 
only.  It may contain proprietary material, confidential information and/or be subject 
to legal privilege.  It should not be copied, disclosed to, retained or used by, any 
other party.  If you are not an intended recipient then please promptly delete this 
e-mail and any attachment and all copies and inform the sender.  Thank you.

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to