How would you do the transform of the content to convert the entities? With a pre-proccess? We have lot of xml with the content insert (and the content has the entities) and will be dificult add the DTD to the content...

Thanks

- Raul
El 03/02/15 a las 17:15, Michael Sokolov escribió:
If the entities are in the content, you would need to add the DTD to the content, not to the stylesheet. Or you could transform the content converting the entities.

-Mike

On 02/03/2015 10:41 AM, Raul wrote:
Hi all!

I'm trying to use Solr with the DIH and xslt processing. All is fine till i put xml with html entity in the content (like $euro;) where i get a

Caused by: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException


i put in the xsl the dtd declaration of the entity but i don't get lucky:

<?xml version='1.0' encoding='UTF-8'?>

<!DOCTYPE stylesheet [

  <!ENTITY laquo  "&#171;">
  <!ENTITY raquo  "&#187;">
  <!ENTITY hellip "&#8230;">
  <!ENTITY euro   "&#8364;">

]>
<xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
....

Do you know how i can proccess??

Thanks in advance




--
Raúl Pampliega Mayoral
Proyecto Ediciones Digitales
e-mail: rpampli...@renr.es
Recursos en la Red, S.L.U.
Editorial Prensa Ibérica

La Información incluida en este email es CONFIDENCIAL, siendo para uso 
exclusivo del destinatario arriba mencionado. Si Ud lee este mensaje y no es el 
destinatario indicado, le informamos que está totalmente prohibida cualquier 
utilización, divulgación, distribución y/o reproducción de esta comunicación, 
total o parcial, sin autorización expresa en virtud de la legislación vigente. 
Si ha recibido este mensaje por error, le rogamos nos lo notifique 
inmediatamente por esta vía y proceda a su eliminación junto con sus ficheros 
anexos sin leerlo ni grabarlo.

Reply via email to