Hi Jimmy,

I want to convert the xml data to JSON objects so that I can use it in my 
anguar application. Using angular.element i am not able to use that.



On Thursday, 11 June 2015 18:07:35 UTC+5:30, jimmy collazos wrote:
>
> You can use `angular.element()` for parse XML:
>
> angular.element('<test>demo</test>').text() // return 'demo'
> angular.element('<test title="demo"></test>').attr('title') // return 
> 'demo'
>
> 2015-06-11 14:28 GMT+02:00 Shaktidhar Kumar <[email protected] 
> <javascript:>>:
>
>> Hi,
>>
>> I want to parse data from external xml file to my angular application. I 
>> am not getting exactly how to achive this.
>> Can anyone tell me how to do that?
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "AngularJS" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/angular.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
> :::::::::::::::: J i m m y  C o l l a z o s :::::::::::::::::::::
> ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
>  

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to