> Please tell me what is wrong in the above fragment. or atleast tell me another > way of creating my own node and adding contents to it in template file. const unsigned char* content = "sample data"; ********* ************* You might want to start from reading some C/C++ book. Also google.com helps a lot. Aleksey