Is your data-config.xml file located in your Solr "conf" directory?
You have "solr/" at the front of your path, so is the included file really
in "conf/solr"?
Otherwise, this should work.
Make sure you only have a single XML element in the included file.
-- Jack Krupansky
-----Original Message-----
From: stockii
Sent: Friday, April 12, 2013 3:31 AM
To: solr-user@lucene.apache.org
Subject: XInclude in data-config.xml
hello.
is it possible to include some entities with XInclude in my data-config.xml?
i tried with this line:
<xi:include href="solr/entity.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
in my "entity.xml" is something like:
<entity name="name" query="SELECT * FROM table"></entity>
some ideas, why does not work?
this blog sounds good for me =(
http://www.raspberry.nl/2010/10/30/solr-xml-config-includes/
--
View this message in context:
http://lucene.472066.n3.nabble.com/XInclude-in-data-config-xml-tp4055487.html
Sent from the Solr - User mailing list archive at Nabble.com.