L
Luke Guest
Hi,
I'm trying to implement a parser using the XercesC parser under Windaz. I
have a simple structure which is defined using my dtd file. I also require
the use of special sequences of characters so I have tried to define an
entity:
<!ENTITY CONTROL_CODE_CHAR "ÿ"> <!-- 255 -->
This doesn't work, so I have tried this:
<!ENTITY CONTROL_CODE_CHAR "ÿ"> <!-- 255 -->
Which doesn't hang the parser, but does *not* give me the yalet character.
I have a line in my xml file:
....
<ITEM>&CONTROL_CODE_CHAR; ERROR!</ITEM>
....
This gives me the text " ERROR!" which is wrong, how do I get this character
to be processed properly?
I'm using this line inside my xml file:
<?xml version="1.0" encoding="windows-1252"?>
FYI, I will also need to build up more control codes using this as a base.
Thanks,
Luke.
I'm trying to implement a parser using the XercesC parser under Windaz. I
have a simple structure which is defined using my dtd file. I also require
the use of special sequences of characters so I have tried to define an
entity:
<!ENTITY CONTROL_CODE_CHAR "ÿ"> <!-- 255 -->
This doesn't work, so I have tried this:
<!ENTITY CONTROL_CODE_CHAR "ÿ"> <!-- 255 -->
Which doesn't hang the parser, but does *not* give me the yalet character.
I have a line in my xml file:
....
<ITEM>&CONTROL_CODE_CHAR; ERROR!</ITEM>
....
This gives me the text " ERROR!" which is wrong, how do I get this character
to be processed properly?
I'm using this line inside my xml file:
<?xml version="1.0" encoding="windows-1252"?>
FYI, I will also need to build up more control codes using this as a base.
Thanks,
Luke.