Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
srowe3 #1
How to traverse an XML document?
I'm trying to use an XML document to qualify conditional text IDs that may be
assigned to a section of text. To do that I need to read the child nodes for a
given parent node in the XML, and assign those child node values to an array.
The DW8 document API does not appear to support such JavaScript XML DOM
functions as loadXMLDoc(), nor do functions like dom.getSelectedNode() support
xpath expressions. The childNodes object pertains only to the immediate
children of the document object, and does not behave properly as
xmlDOM.getElementsByTagName("TopicSku").childNodes .
How do I traverse an XML document using the DW8 extension API?
Thanks,
-Scott
srowe3 Guest
-
Cannot traverse XML returned from web service
I'm consuming a .NET web service that returns standard SOAP xml messages. After binding "resultXML" to event.results, the variable displays its... -
How To Traverse Nodes of Selected Text
In Code View, when a user selects/highlights some text and executes my custom action i would like to get to the text's top level element. a... -
glob and Traverse Directory
weberw@adelphia.net wrote: What did you try, and how did that fail to meet your requirements? Please do not multipost!... -
Traverse a directory
I want to print out a listing of folders and their contents with indentation. I don't want to print folder 3. Example of output. Folder 1... -
Traverse directories
RoundKill wrote: You can use php's __FILE__ constant. This is relative to the current script being excuted and does change with includes. So... -
srowe3 #2
Re: How to traverse an XML document?
Oh, wait. I wasn't using getElementsByTagName("TopicSku").childNodes correctly. It works with xmlDOM.getElementsByTagName("TopicSku")[iter].childNodes. I'm back on track again.
-Scott
srowe3 Guest



Reply With Quote

