I am using angularjs http to get an xml from the server, i am using node
module xml2json to convert it to a json object. I get the document returned
properly but it doesn't look right because it has html tags in the xml
document. If anyone knows how to convert the returned json properly that
would be great,
var x2js = new X2JS();
var dom = x2js.xml_str2json(escapchr);
<my_data>
<p class="justify">El
<strong>
<em>
Content Tour 2015
</em>
</strong>
<strong>
Distributors
</strong>
</p>
</my_data>
I am still trying to figure this computer programming stuff out, i have
only been coding a few months, so please excuse my bad code and kind of
dumb questions, but if anyone knows how to parse the json or xml to html, i
will be very grateful.
--
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.