Click here to Skip to main content
16,011,870 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: XSLT HTML > XML Transform Pin
malharone22-Jul-05 10:53
malharone22-Jul-05 10:53 
GeneralRe: XSLT HTML > XML Transform Pin
DavidNohejl22-Jul-05 11:03
DavidNohejl22-Jul-05 11:03 
Generalxml and crystal report Pin
yitong13-Jul-05 20:42
yitong13-Jul-05 20:42 
GeneralXML to DataGrid Pin
Anonymous12-Jul-05 9:50
Anonymous12-Jul-05 9:50 
GeneralRe: XML to DataGrid Pin
rudy.net15-Jul-05 18:38
rudy.net15-Jul-05 18:38 
GeneralXML and &amp Pin
wopa12-Jul-05 5:33
wopa12-Jul-05 5:33 
GeneralRe: XML and &amp Pin
DavidNohejl12-Jul-05 6:38
DavidNohejl12-Jul-05 6:38 
GeneralRe: XML and & Pin
wopa12-Jul-05 19:53
wopa12-Jul-05 19:53 
Sorry but this was my first post.
so here for clarifacation

...
//creating the the DOM document (mXmlDom)
//and select the root (mRoot4Write)
...
_bstr_t theValue("X"); //!!! the ASCII value

IXMLDOMNodePtr plastNode = mXmlDom->createNode(nodetyp,_bstr_t("T"),_bstr_t(""));
plastNode = mRoot4Write->appendChild(plastNode);
IXMLDOMNodePtr pNode = mXmlDom->createTextNode(theValue);
pNode = plastNode->appendChild(pNode);
pNode.Release();
plastNode.Release();

_variant_t varFile = "c:\\temp\\test.xml";
mXmlDom->save(varFile);

...
//release the interfaces
..

The expected content:
<?xml version="1.0" encoding="iso-8859-1"?>
<ROOT><T>&#88;</T></ROOT>

!!!!!!!!!!!
But the content of the file is:

<?xml version="1.0" encoding="iso-8859-1"?>
<ROOT><T>&amp;#88;</T></ROOT>

WHYConfused | :confused:





GeneralRe: XML and &amp; Pin
wopa12-Jul-05 20:02
wopa12-Jul-05 20:02 
GeneralRe: XML and &amp; Pin
DavidNohejl13-Jul-05 2:07
DavidNohejl13-Jul-05 2:07 
GeneralRe: XML and &amp; Pin
wopa13-Jul-05 2:46
wopa13-Jul-05 2:46 
GeneralRe: XML and &amp; Pin
DavidNohejl13-Jul-05 3:14
DavidNohejl13-Jul-05 3:14 
GeneralHelp in Xpath Pin
12-Jul-05 4:16
suss12-Jul-05 4:16 
GeneralRe: Help in Xpath Pin
Christian Graus12-Jul-05 13:36
protectorChristian Graus12-Jul-05 13:36 
GeneralRe: Help in Xpath Pin
satishrg13-Jul-05 8:29
satishrg13-Jul-05 8:29 
GeneralRe: Help in Xpath Pin
Christian Graus13-Jul-05 12:25
protectorChristian Graus13-Jul-05 12:25 
GeneralProblem msxml4.dll in IIS6 in windows 2003 server Pin
manuel.alvarez11-Jul-05 21:26
manuel.alvarez11-Jul-05 21:26 
Generaltrouble in spreadsheetML Pin
firebolt7711-Jul-05 0:21
firebolt7711-Jul-05 0:21 
GeneralHelp in Xpath Pin
satishrg8-Jul-05 9:32
satishrg8-Jul-05 9:32 
GeneralRe: Help in Xpath Pin
Javier Lozano11-Jul-05 8:58
Javier Lozano11-Jul-05 8:58 
GeneralRe: Help in Xpath Pin
satishrg12-Jul-05 4:27
satishrg12-Jul-05 4:27 
GeneralRe: Help in Xpath Pin
Javier Lozano12-Jul-05 5:01
Javier Lozano12-Jul-05 5:01 
GeneralRe: Help in Xpath Pin
satishrg12-Jul-05 6:31
satishrg12-Jul-05 6:31 
GeneralRe: Help in Xpath Pin
DavidNohejl12-Jul-05 6:31
DavidNohejl12-Jul-05 6:31 
GeneralRe: Help in Xpath Pin
12-Jul-05 6:59
suss12-Jul-05 6:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.