I am trying to apply style sheet to result xml by passing argument  like
stylesheet=tabular.xml . but it complained
that stylesheet may be empty.. when i checked the source code for XMLwriter
.. its lookin under /admin

 private static final char[] XML_START1="<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n".toCharArray();
  private static final char[] XML_STYLESHEET="<?xml-stylesheet
type=\"text/xsl\" href=\"/admin/".toCharArray();
  private static final char[] XML_STYLESHEET_END=".xsl\"?>\n".toCharArray();

the problem is my tomcat context is  /solr so if i copy under /solr/admin it
wont work. i had to create a dummy webapp called admin and it worked.. I can
build dist jar by modifying this code but can any one tell why it is looking
under the /admin/ but not under context/admin.


thanks

Ismail

Reply via email to