![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||||
| |||||
|
|
I'm a relative newcomer to xml but I'm delighted in what I've been able to achieve so far. I have a transform that merges two documents that provides a simple, elegant solution to a business problem. The documents now need to support different language versions - English and German - and the first set of documents have been returned from the translators. The german versions contain a variety of entities such as ä First, can I confirm that such characters are called character entities? |
|
So my first problem: "Reference to undeclared entity auml" when I try to load the document. I've resolved this by including: !DOCTYPE article [ !ENTITY % HTMLlat1 PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent" %HTMLlat1; ] in my two documents. |
|
1. Why are DTDs a security risk? |
|
2. Is there a schema equivalent of <!ENTITY % HTMLlat1 PUBLIC....... ? |
|
3. Are there other ways to convince the XslCompiledTransform class to process these documents? |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |