Click here to Skip to main content
16,005,467 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Stupid Task List.... Pin
Tom Archer2-May-02 7:57
Tom Archer2-May-02 7:57 
GeneralFTP And sockets Pin
Aaron Schaefer2-May-02 5:52
Aaron Schaefer2-May-02 5:52 
GeneralBuilding C++ Application Pin
Stew2-May-02 5:48
Stew2-May-02 5:48 
GeneralRe: Building C++ Application Pin
Anders Molin2-May-02 8:40
professionalAnders Molin2-May-02 8:40 
GeneralString to valid XML tag Pin
Braulio Dez2-May-02 5:37
Braulio Dez2-May-02 5:37 
GeneralRe: String to valid XML tag Pin
Niklas L2-May-02 5:53
Niklas L2-May-02 5:53 
GeneralRe: String to valid XML tag Pin
Braulio Dez2-May-02 6:06
Braulio Dez2-May-02 6:06 
GeneralRe: String to valid XML tag Pin
Niklas L2-May-02 6:48
Niklas L2-May-02 6:48 
Yes, the tag names and attribute names are different. You are not allowed to use special characters there. In attribute values and text data however you can just pass in anything you like. Calling pXMLDoc->createProcessingInstruction("xml", "version='1.0' encoding='UTF-8'"); will give a coding of your choice. (just tried it)

As for tag names and attribute names, I suspect yuo have to 'destroy' data to get where you want, i.e. replacing e.g. '>' and '<' and all other 'illegal' characters with '_'.
GeneralMemory Leaks Pin
dazinith2-May-02 5:25
dazinith2-May-02 5:25 
GeneralRe: Memory Leaks Pin
Ravi Bhavnani2-May-02 5:29
professionalRavi Bhavnani2-May-02 5:29 
GeneralRe: Memory Leaks Pin
Tom Archer2-May-02 5:37
Tom Archer2-May-02 5:37 
GeneralRe: Memory Leaks Pin
Ravi Bhavnani2-May-02 5:45
professionalRavi Bhavnani2-May-02 5:45 
GeneralRe: Memory Leaks Pin
Tom Archer2-May-02 5:55
Tom Archer2-May-02 5:55 
GeneralRe: Memory Leaks Pin
Ravi Bhavnani2-May-02 6:05
professionalRavi Bhavnani2-May-02 6:05 
GeneralRe: Memory Leaks Pin
Paresh Solanki2-May-02 6:43
Paresh Solanki2-May-02 6:43 
GeneralRe: Memory Leaks Pin
Tom Archer2-May-02 5:42
Tom Archer2-May-02 5:42 
GeneralRe: Memory Leaks Pin
Niklas L2-May-02 5:44
Niklas L2-May-02 5:44 
GeneralRe: Memory Leaks Pin
dazinith2-May-02 5:51
dazinith2-May-02 5:51 
GeneralRe: Memory Leaks Pin
Niklas L2-May-02 6:00
Niklas L2-May-02 6:00 
GeneralRe: Memory Leaks Pin
Ravi Bhavnani2-May-02 6:03
professionalRavi Bhavnani2-May-02 6:03 
GeneralRe: Memory Leaks Pin
dazinith2-May-02 6:05
dazinith2-May-02 6:05 
GeneralRe: Memory Leaks Pin
dazinith2-May-02 6:20
dazinith2-May-02 6:20 
GeneralRe: The VC++ way to point out memory leak for you! Pin
Maxwell Chen2-May-02 7:04
Maxwell Chen2-May-02 7:04 
GeneralRe: The VC++ way to point out memory leak for you! Pin
Anders Molin2-May-02 8:45
professionalAnders Molin2-May-02 8:45 
GeneralRe: The VC++ way to point out memory leak for you! Pin
Maxwell Chen2-May-02 17:10
Maxwell Chen2-May-02 17:10 

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.