Get node value in XML using jQuery
var text = '<AssetImageModel xmlns="http://schemas.datacontract.org/2004/07/ErgonFileService.Model" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><AssetId>00000000-0000-0000-0000-000000000000</AssetId><AssetImageId>b74af53a-91e6-83f5-26f9-e1719ad5fd05</AssetImageId><ImagePath i:nil="true"/><IsDeleted>false</IsDeleted><Modified>false</Modified><Version>0</Version></AssetImageModel>'
var xml = $.parseXML(text);
console.log($(xml).find('AssetImageId').text())
Also in JavaScript:
- how to check if map is map javascript
- javascript date get day of week abbreviation
- formating decimal hours as hours and minute javascript
- vue.js use scss in balise style
- postfix date javascript
- swagger editor
- jquery check if screen size
- getusermedia example
- alert user javascript
- mac os chrome opne debug new tab
- javascript function from string
- How do you wait for 5 seconds in JavaScript?
- if else jquery click function
- redirect to page in javascript
- file origin does not match viewer's pdf.js
- reactjs start project
- join three array javascript
- w3schools json
- minecraft color codes
- js throttle function
- append to top javascript
- how to print NODE_PATH
- oauth2 spring boot react google example
- socket.io client send data node js server