I am not sure about solrj but you can use any XML parsing library to achieve this. Take a look here: http://www.tutorialspoint.com/java_xml/java_xml_parsers.htm
On Fri, 8 Jan 2016, 08:06 Bob Lawson <bwlawson...@gmail.com> wrote: > I want to programmatically make changes to schema.xml using java to do > it. Should I use Solrj to do this or is there a better way? Can I use > Solrj to make the rest calls that make up the schema API? Whatever the > answer, can anyone point me to an example showing how to do it? Thanks! > > -- Regards, Binoy Dalal