i’m trying to create a string which i want to have exaclty this form:
<atom:link rel="name" type="html" href="http://www/data/name/1"/>
I’m trying this:
String astring = "<atom:link rel="+"name"+" "+"type="+"html"+" "+"href="+"http://www/data/name/"+id+"/>"
And i take this:
<atom:link rel=name type=html href=http://www/data/name/1/>
Any ideas about this?
double quotes must be escaped with a backslash inside a String literal: