I am getting exception "Invalid name character ':' (code 58)) in name ("xmlns:xsi"), index #5" for the following statement. If I'm doing this wrong, what is the correct syntax to get the output like: xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

writer.writeAttribute("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance");

0

There are 0 best solutions below