SSブログ

調べもの:removeAttributeとremobeAttributeNode [XMLマスター]

初出:2009-03-07 15:23:32
XMLマスターの調べもの。
違いがよくわからなかったので調べました。要は引数が属性名の文字列か属性インスタンスってことか?

「removeAttribute - Google 検索」
http://www.google.co.jp/search?sourceid=navclient&hl=ja&ie=UTF-8&rlz=1T4GFRC_jaJP217JP218&q=removeAttribute
「removeattributeNode - Google 検索」
http://www.google.co.jp/search?sourceid=navclient&hl=ja&ie=UTF-8&rlz=1T4GFRC_jaJP217JP218&q=removeattributeNode

「Document Object Model Core」
http://www.w3.org/TR/DOM-Level-2-Core/core.html
「DOM1(コア)」
http://www.doraneko.org/misc/dom10/19981001/level-one-core.html

「XmlElement.RemoveAttribute メソッド」
http://msdn.microsoft.com/ja-jp/library/system.xml.xmlelement.removeattribute(VS.71).aspx
「XmlElement.RemoveAttributeNode メソッド」
http://msdn.microsoft.com/ja-jp/library/system.xml.xmlelement.removeattributenode(VS.71).aspx
「XmlAttribute クラス」
http://msdn.microsoft.com/ja-jp/library/system.xml.xmlattribute(VS.71).aspx
「XmlElement メソッド」
http://msdn.microsoft.com/ja-jp/library/system.xml.xmlelement_methods(VS.71).aspx



「element.removeAttribute - MDC」
https://developer.mozilla.org/ja/DOM/element.removeAttribute


(2011.03.06追加)
「Document Object Model Core」
http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-745549614

違いは、パラメータに何を指定するか、と区別した方が覚えやすそうだ。
void removeAttribute(String name)
Attr removeAttributeNode(Attr oldAttr)

タグ:XML DOM
nice!(0)  コメント(0)  トラックバック(0) 
共通テーマ:パソコン・インターネット

nice! 0

コメント 0

コメントを書く

お名前:[必須]
URL:
コメント:
画像認証:
下の画像に表示されている文字を入力してください。

トラックバック 0