سؤال

Is there a way to import another file into standalone.xml file, like for exemple import in Spring configuration files ?

هل كانت مفيدة؟

المحلول

If nothing else you can make use of external entities:

<!DOCTYPE domain [
  <!ENTITY section1 SYSTEM "section1.xml">
]>

and then use &section1; to include it at the appropriate place.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top