Copy link to clipboard
Copied
Hey guys,
I'm having trouble getting access to the tagName property in Extendscript.
basically, I want to get the name of an XML node.
<nodeName>data</nodeName>
where I want the property that returns "nodeName". In Javascript, this is done with the tagName property. Is there no way to do this with Extendscript?
In ExtendScript, it is implement through a method, localName():
var xml = <nodeName>0</nodeName>;
xml.localName();
The (Adobe) JavaScript Tools Guide.pdf has a description of all the attributes and methods of the XML class.
Xavier
Copy link to clipboard
Copied
In ExtendScript, it is implement through a method, localName():
var xml = <nodeName>0</nodeName>;
xml.localName();
The (Adobe) JavaScript Tools Guide.pdf has a description of all the attributes and methods of the XML class.
Xavier
Copy link to clipboard
Copied
perfect. thanks!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now