Xcode: XML link with quotations parsing issue

max_10

New Member
I am trying to parse XML, but the XML code has quotations which is making a problem and it won't run. Is there way to call this xml \[code\]<table border="0" cellpadding="0" cellspacing="0" width="392">\[/code\] as shown in the code?Thank in advance.\[code\]- (void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName { if ( [elementName isEqualToString:@" table border="0" cellpadding="0" cellspacing="0" width="392" "] ) { [[self titleArray] addObject:[self currentStringValueTitle]]; } [self setCurrentStringValueTitle:nil]; \[/code\]I wanna read this source page\[code\]<body><table border="0" cellpadding="0" cellspacing="0" width="392"> <tr> <td width="392" class="hdlnType2"> <div style="FONT-WEIGHT: bold; FONT-SIZE: 1.12em; FLOAT: left; "> <!-- enable chat --> I wanna print this text.... </td> </tr> <tr> <td></td> </tr></table></body>\[/code\]
 
Back
Top