Image in XML attribute
XML / XSL
2
Posts
2
Posters
0
Views
1
Watching
-
can any one please help me out to insert the another image in the form of base64 inside the aatribute <> I have a xml format like above and I want to inset the image in place of existing image . Please help
Firstly you need to convert your image to base64 - I'll presume you know how to do this. To insert the new value, you need to navigate to the relevant element using the XML DOM[^] API. Then (presuming you're using Microsoft's MSXML) you would use the IXMLDOMElement::setAttribute[^] method with a name of "image" and the value set to the base64 encoded image string.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p