I am working on android project and in some portion of task I need to create xml document file. I need to create attribute containing colon like this
<APPLICAD_EXPORT xsi:noNamespaceSchemaLocation="file:///c:/temp/applicad-export.xsd"> I can create xml file sucessfully, but the problem is that I cannot add colon for the attribute APPLICAD_EXPORT.
so far I did like this for getting colon for attribute prefix
serializer.attribute(null, "xsi:noNamespaceSchemaLocation", "file:///c:/temp/applicad-export.xsd"); but it shows error saying Specification mandate value for attribute xsi
I guess there may be some way to achieve this but I couldn't figured it out.
No comments:
Post a Comment