我用TXMLdocument时,在根节点下添加结点,程序会给该结点自动添加属性。具体如下:
根节点:
<WFS_Capabilities xmlns="http://www.opengis.net/wfs" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs WFS-capabilities.xsd" version="1.0.0">
然后我在根节点下添加<Service>结点,程序自动给它添加了xmlns=""的属性,变成
<Service xmlns="">,是怎么回事?我不想要那个属性,怎么办?