the xslt do that 
Jack Krupansky-2 wrote
> 
> The bottom line is that you will need to have your own code that will
> detect 
> the "choice" tag and map it to the desired choice, and you will have to do 
> that before you "strip" html.
> 
> So, given:
> 
>                                     <choice>
>                                         <orig>C</orig>
>                                         <reg>c</reg>
>                                     </choice>astors
> 
> Your code will have to remove "<choice>...</choice>" and replace it with
> the 
> element content of the "<orig>" or "<reg>" element - but not both.
> 
The xsl sheet remove the <choice>...</choice> and replace it with the <reg>
element content.


Otherwise, "Strip" HTML (either in PHP or Solr) will preserver the white
> space between "</reg>" and "</choice>", which was causing the "c" to be
> separate from "astors".  . Definitely true, i forgot.

I will try your council, monday; i'll be back :)

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Strip-html-tp3987051p3987275.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to