lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fiedzia <fied...@gmail.com>
Subject solrconfig.xml and xinclude
Date Wed, 21 Jul 2010 12:21:21 GMT

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.

Mime
View raw message