Question

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

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top