It works fine for & but not for other special charaters like > , < etc I need a solution to parse special characters other than & I will get data like ><, where I have to set the exact value to that node.
Arrun
Posts
-
problem with &amp; -
problem with &amp;No its not converting > and < its converting only & If I pass > then only & gets converted and resultant node value is >
-
problem with &amp;I am creating a XML file by using IXMLDOMNode and I am setting value to the node by using the function put_nodeValue(). But whenever I pass & it gets converted to & Similarly if I pass > it gets converted to > How to overcome this problem Is there any escape seqeuence that should be added before passing value to the put_nodeValue(). Pls help
-
Yet another special character problemActually my problem is I am reading a CSV file and conveting it into XML, when one of the comma seperated value is &. I read it and set the value to the XML using IXMLDomNode's put_nodeValue() function in VC++. But the resulting output is &. Similarly when I pass > its converted to > How to over come this problem, the put_nodeValue() function is converting & to & Is there any escape sequence to be added so that & is read as & Thanks in Advance
-
Yet another special character problemHi When I pass & to the function putnodeValue() under the IXMLDom, its converting it to &. The same thing happens for &gr; also, when &gr; is passed the value set is &gr. How to avoid this, I want the exact value to be set which I am passing. Pls help
-
Problem Writing & URGENT PLS HELPI have downloaded a XML_PARSER code from this site but whenever a & is found its automatically converting it into & even if > its converting to > How to avoid this Pls help me
-
Problem with windows 98 and MFCI did a project in VC++ 6.0 in windows XP but when I run the same exe in windows 98, the default font type and size of the modal dialog box changes. (The font in the caption bar of the main frame and child frame is the default) Wut is the problem? Should i give default font type and size in DoModal() function?
-
Is child frame presentHow to check whether a child frame is opened or not from CMainFrame class I want to display a message while closing the main frame if any child frame is opened. I used "GetActiveView()->GetDocument()" but it throws an assertion failure error.
-
Dynamic double dimensionso how should I allocate and delete dynamic memory when the width and height are different. help me with some code.
-
Dynamic double dimensionIt works fine when the height and width are equal or if the height is less than width The error occurs only when the height is greater than the width. BoundsChecker displays an error message "Dynamic memory overrun"
-
Dynamic double dimensiondelete[] ImagePro is not working I get assertion in "delete ImagePro;"
-
Dynamic double dimensionI am using the following code to allocate dynamic double dimensional array double **ImagePro; try { ImagePro = new double*[width]; for(int i = 0; i < height; i++) { ImagePro[i] = new double[width]; } } catch(CMemoryException* ex) { ImagePro = NULL; ex->ReportError(); return FALSE; } and for deletion for(int i = 0; i < height; i++) { delete ImagePro[i]; } delete ImagePro; return TRUE; My problem is whenever the height is greater than width I get assertion error message Pls Help
-
Intensity problemThanx for ur reply I checked it with 8 bit bmp but when I reduce or increase the pixel values the color change not the intensity eg: If I use yellow color square and stretch it by two units and divide the pixel value by 2, the color changes to green and not to light yellow. Pls help
-
Density samplingWhat is density sampling? How can it be used in image resizing? Pls help
-
Intensity problemThanx for ur reply Intensity means value of each pixel eg: If I stretch a yellow color square of one unit to two units then after stretching it should be light yellow and if I stretch further more it should me even more lighter. Is there any density filter which can be used instead of bilinear interpolation?
-
Intensity problemHow to get the same intensity after stretching an image eg: Let intensity of a square of 1 unit = 1 x I1 If I stretch the square to 2 units then the intensity = 2 x I2 Both these intensities should be equal 1xI1 = 2xI2 = k(constant) It should work ways (ie) the intensity should decrease while stretching and increase while shrinking. I am using bilinear interpolation for stretching but the intensities aren;t equal. Is there any algorithm or filter to alter the intensity of an image. Pls Help
-
Bilinear interpolationThanks a lot Is there any algorithm or filter which I could use to reduce the intensity? It should work both ways (stretching and shrinking).
-
Bilinear interpolationHow to get the same intensity after stretching an image eg: Let intensity of a square of 1 unit = 1 x I1 If I stretch the square to 2 units then the intensity = 2 x I2 Both these intensities should be equal 1xI1 = 2xI2 = k(constant) I am using bilinear interpolation for stretching but the intensities arent equal. Is there some other method for stretching so that I ll get same intensity in both the images. Pls Help
-
Problem in stretching an imageThanks for ur reply Yes I am calculating it with floating point numbers and translating it back to integers. Is there a problem with that? or should I use density filter to get the same intensity
-
Problem in stretching an imageHi I am doing a image prcessing project in VC++, I am using bilinear interpolation for stretching the images but the image intensity varies before stretching and after stretching. for eg: If the image intensity for a square of 1 unit = 1xI1. If I stretch the image to 2 units then the intensity should be 2xI2 both the intensities should be equal ie 1xI1 = 2xI2 = k(constant) Pls help