Skip to main content
August 16, 2021
Question

The entity "nbsp" was referenced, but not declared

  • August 16, 2021
  • 1 reply
  • 0 views

Hello! I am using docx dynamic plug in and when I was passing white spaces it was throwing errors, so I did some research and replaced all the spaces with " " but now I am getting this error The entity "nbsp" was referenced, but not declared. Can anyone guide me please ?

Thanks 

1 reply

acaciob0002
August 16, 2021

Hi [mention:a876a9fad7294c2ab5da60995c7a6717:e9ed411860ed4f2ba0265705b8793d05] 

I'm assuming that you are generating the DOCX based on a XML, if that is the case, perhaps you could try to declare the nbsp in your XML. I'm not sure if you already tried that but it is something that you could try:


]>

Apart of that what was the initial error? I'm trying to understand the why the spaces would case error.

I hope that helps,

Acacio B.