这是一个Photoshop 的xml.js 库的一个对象方法,我不会英语,用 有道翻译 的又看不懂..
请有空的人能教教我怎么用吗?
我只能用点赞汇报大家了,谢谢...
replace() xmlObj.replace (name, value); name An element or attribute name, with or without the 0-based position index of a specific element, or the wildcard string “*”. ? If no position index is supplied, replaces the value of all matching elements. ? If the wildcard is supplied, replaces the value of all contained elements. When anelement contain subelements, those are removed, and only the replacementvalueremains.value An XML object or any value that can be converted to a String with toString(). Replaces one or more property values in this node.If the named element does not exist, appends the given value as a text element. Returns this XML object. setChildren() xmlObj.
守着一只汪
海绵宝宝撒
随时随地看视频慕课网APP
相关分类