• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
html question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

html question


  • Subject: html question
  • From: email@hidden
  • Date: Mon, 19 May 2008 06:27:48 -0400 (EDT)
  • Importance: Normal

Hi,
I want to convert string to its corresponding values.I found a method in
NSAttributedString  initWithHtml,i think it will convert HTML to
attributed string.I found 3 attributes
 NSString *NSExcludedElementsDocumentAttribute;
NSString *NSTextEncodingNameDocumentAttribute;
NSString *NSPrefixSpacesDocumentAttribute;  for generating html ,but How
to use it,I used it with NSDictionary but does not generating HTML code.

more specific::i want to convert the simple file to html file which
contains <,> and html tags.

ie,If a ftext ile contains simple word ,,

"sample",

then i've to get html file contains,,,

<html>
<titile></title>
<body>
sample
</body>
<html>


I've already posted a question related to my topic.i got 2 responses and
tried it also,but couldn;t create html code.,so if there is a way in cocoa
please suggest me?If i there is no way to create html code for
corresponding file then also reply me.Please help me i'm new to cocoa. I
googled the topic but didin;t get much results for helping me.If u can
give any hint it will really help me.

Thanks



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: html question
      • From: "Jonathan del Strother" <email@hidden>
  • Prev by Date: Re: Cocoa et al as HCI usability problem
  • Next by Date: Re: html question
  • Previous by thread: Re: load a Resource file template and search/replace a file
  • Next by thread: Re: html question
  • Index(es):
    • Date
    • Thread