I am trying to export some config options common to all cores into single
file,
which would be included using xinclude. The only problem is how to include
childrens of given node.


common_solrconfig.xml looks like that:
<?xml version="1.0" encoding="UTF-8" ?>
<config>
 <lib dir="/solr/lib" />
</config


solrconfig.xml looks like that:
<?xml version="1.0" encoding="UTF-8" ?>
<config>
<!-- xinclude here -->
</config>


now all of the following attemps have failed:

<xi:include href="/solr/common_solrconfig.xml" 
xmlns:xi="http://www.w3.org/2001/XInclude";></xi:include>
<xi:include href="/solr/common_solrconfig.xml" xpointer="config/*" 
xmlns:xi="http://www.w3.org/2001/XInclude";></xi:include>
<xi:include href="/solr/common_solrconfig.xml" xpointer="xpointer(config/*)" 
xmlns:xi="http://www.w3.org/2001/XInclude";></xi:include>

<xi:include href="/solr/common_solrconfig.xml" xpointer="element(config/*)"
xmlns:xi="http://www.w3.org/2001/XInclude";></xi:include>


-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/solrconfig-xml-and-xinclude-tp984058p984058.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to