Data Formatting in ios
<p>I am doing a application which have a sharing note option to Ever-Note,i have done this,but my problem is ,the content of the note has to be static that means</p>

<pre><code> NSString * ENML = [[[NSString alloc] initWithString: @"&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n&lt;!DOCTYPE en-note SYSTEM \"http://xml.evernote.com/pub/enml2.dtd\"&gt;\n&lt;en-note&gt;"]autorelease];
</code></pre>

<p>this is the code i used to share a note to evernote,if i add note in </p>

<pre><code>`NSString * ENML = [[[NSString alloc] initWithString: @"&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n&lt;!DOCTYPE en-note SYSTEM \"http://xml.evernote.com/pub/enml2.dtd\"&gt;\n&lt;en-note&gt; this is my note this is my note"]autorelease];` 
</code></pre>

<p>it will share it to evernote
But my need is i have a textview which the user can create note dynamically with textview and i need something like that to do my need,</p>

<pre><code>NSString * ENML = [[[NSString alloc] initWithString: @"&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n&lt;!DOCTYPE en-note SYSTEM \"http://xml.evernote.com/pub/enml2.dtd\"&gt;\n&lt;en-note&gt;textview.text"]autorelease];
</code></pre>

<p>but its not working.How can i do this?.please help me.
regards nipin</p>
