I had almost lost my breath over this issue for an entire day and found that the solutions provided in most blogs and forums doesn't for a tight schedule.
Here, I am sharing the method that finally worked for me. I am using Netbeans with the default DOM parser(SAX Parser) provided in javax package.
The problem is that the method:
returns null unless we explicitly specify the type of an attribute as ID.
The Javadoc for this method says: "The DOM implementation must have information that says which attributes are of type ID. Attributes with the name "ID" are not of type ID unless so defined. Implementations that do not know whether attributes are of type ID or not are expected to return null."
The type of attributes can be defined in two ways, either by using a DTD or xml schema.
But, because I was really in short of time, I didn't want to go through all the complexities of implementing a DTD or XSD validation. Trust me…
Sending an Email to Multiple Recipients - Cc: and Bcc:
Use Cc and Bcc to send an email to more than one person easily and fast:
Cc: — Carbon Copy
"Cc" is short for "carbon copy". Those naming and designing this
email feature probably had the real world counterpart to email in mind:
letters. Carbon copy paper made it possible to send the same letter to
two (or even more if you hit the keys really hard) different people
without the onerous task of having to write or type it twice.
The analogy works well. An email is sent to the person in the To: field, of course.
A verbatim copy of the message is also sent to all the addresses listed in the Cc:
field, though. Yes, there can be more than one email address in this
field, and they all get a copy. To enter more than one address in the Cc: field, separate them with commas.
The Shortcomings of Cc:
When you send a message to more than one address using the Cc: field, both the original recipient and all the recip…
Team Livares joins hands with ICT Academy of Kerala providing the
technical support for ICT Academy Web and Learning Management System.
Academy of Kerala is a Social Enterprise created in a Public Private
Partnership model (PPP) for imparting ICT skills to the youths of Kerala
and improve their employability opportunities in the Industry. The
Company is supported by Govt. of India , partnered by Govt. of Kerala
and the ICT industry.
Information and Communication Technology Academy of Kerala (ICTAK)
was inaugurated by Chief Minister Oommen Chandy at Hotel Taj Vivanta
here on 24th June Tuesday at 5 pm.
Education Minister P K Abdu Rabb would
launch the academy’s learning management system called ‘Paatshala’ and
Minister for Industries and IT P K Kunhalikutty would preside over the
ICTAK CEO Santhosh Kurup said that the academy would act as a bridge between the engineering students and the industry.
80 per cent of the graduates are not able to pass the…