Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Predefined entities
Message
 
 
Information générale
Forum:
ASP.NET
Catégorie:
XML
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01486898
Message ID:
01486908
Vues:
39
>>>Hi,
>>>
>>>I have a XML file being used by an .NET application. The XML file contains HTML code. The HTML code uses " " (if UT does not show this correctly it should be "epershand" + "nbsp" + "semicolon"). But the .NET application gives error "reference to undeclared entity 'nbsp'". How do I show this entity in the XML so that .NET will not give an error? I suspect that the concept of "predefined entity" should be used but I don't know how.
>>>
>>>I would appreciate any help.
>>
>>How exactly you're using this XML? It sounds to me you need to use some strandard EnCode function with this XML file.
>>
>>Check EnCode XML
>
>I replaced the
>
>
>nbsp;
>
>
>with
>
>
>#160;
>
>
>and all works fine now.
>
>I tried several ways to show the nbsp and #160 but UT does not like it. Forget about i.

I see - good. (In the samples we have & in front)
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform