Click here to Skip to main content
15,608,738 members
Home / Discussions / Java
   

Java

 
GeneralRe: Error Trapping this statement Pin
Member 135080347-Nov-17 5:28
Member 135080347-Nov-17 5:28 
GeneralRe: Error Trapping this statement Pin
Richard MacCutchan7-Nov-17 6:56
mveRichard MacCutchan7-Nov-17 6:56 
GeneralRe: Error Trapping this statement Pin
Member 135080347-Nov-17 7:23
Member 135080347-Nov-17 7:23 
AnswerRe: Error Trapping this statement Pin
jschell8-Nov-17 7:29
jschell8-Nov-17 7:29 
AnswerRe: Error Trapping this statement Pin
ZurdoDev8-Nov-17 7:44
professionalZurdoDev8-Nov-17 7:44 
QuestionPlacing 2DArray Values into x, y locations Pin
Member 135019553-Nov-17 7:35
Member 135019553-Nov-17 7:35 
QuestionIS anybody knows how to convert HTML to XML file USING java Pin
Raaz db Bengalore3-Nov-17 3:12
Raaz db Bengalore3-Nov-17 3:12 
AnswerRe: IS anybody knows how to convert HTML to XML file USING java Pin
jschell3-Nov-17 6:47
jschell3-Nov-17 6:47 
Generically for all possible cases it is not possible because html need not be rigorously defined.

And there are other general problems such as what one is supposed to do with links and images during the conversion.

Further just converting it to XML generically isn't generally useful. One normally expects a certain format of some sort.

So if one wants to proceed one should define the following
1. What is allowed. Both as 'legal' html, and what data will be converted.
2. Use an html parser (HTML library)
3. Provide a source log both errors found and content for further analysis but otherwise skip it
4. Determine how to convert valid attributes to XML. The XML that was previously decided on
5. Get a XML library and use it to create the XML
GeneralRe: IS anybody knows how to convert HTML to XML file USING java Pin
Raaz db Bengalore3-Nov-17 20:54
Raaz db Bengalore3-Nov-17 20:54 
GeneralRe: IS anybody knows how to convert HTML to XML file USING java Pin
Richard MacCutchan4-Nov-17 21:09
mveRichard MacCutchan4-Nov-17 21:09 
GeneralRe: IS anybody knows how to convert HTML to XML file USING java Pin
Raaz db Bengalore5-Nov-17 16:58
Raaz db Bengalore5-Nov-17 16:58 
GeneralRe: IS anybody knows how to convert HTML to XML file USING java Pin
Richard MacCutchan5-Nov-17 22:09
mveRichard MacCutchan5-Nov-17 22:09 
GeneralRe: IS anybody knows how to convert HTML to XML file USING java Pin
Raaz db Bengalore5-Nov-17 22:19
Raaz db Bengalore5-Nov-17 22:19 
QuestionHi all can anyone solve this for me plz in java Pin
Jbdomnic12321-Oct-17 4:28
Jbdomnic12321-Oct-17 4:28 
AnswerRe: Hi all can anyone solve this for me plz in java Pin
Sascha Lefèvre21-Oct-17 4:40
professionalSascha Lefèvre21-Oct-17 4:40 
AnswerRe: Hi all can anyone solve this for me plz in java Pin
jschell23-Oct-17 7:36
jschell23-Oct-17 7:36 
QuestionCalculator App for order of operations (Android Studio) Pin
Member 1347677620-Oct-17 17:40
Member 1347677620-Oct-17 17:40 
AnswerRe: Calculator App for order of operations (Android Studio) Pin
Richard MacCutchan20-Oct-17 21:54
mveRichard MacCutchan20-Oct-17 21:54 
AnswerRe: Calculator App for order of operations (Android Studio) Pin
jschell23-Oct-17 7:58
jschell23-Oct-17 7:58 
QuestionTrying to develop an app at school using java-mobile app Pin
Member 1347677620-Oct-17 17:03
Member 1347677620-Oct-17 17:03 
QuestionRe: Trying to develop an app at school using java-mobile app Pin
Richard MacCutchan20-Oct-17 21:50
mveRichard MacCutchan20-Oct-17 21:50 
QuestionAnalyze the structure of a class (with package dependence) Pin
Hager.Harald14-Oct-17 12:25
professionalHager.Harald14-Oct-17 12:25 
AnswerRe: Analyze the structure of a class (with package dependence) Pin
Richard MacCutchan14-Oct-17 20:55
mveRichard MacCutchan14-Oct-17 20:55 
AnswerRe: Analyze the structure of a class (with package dependence) Pin
jschell15-Oct-17 8:07
jschell15-Oct-17 8:07 
GeneralRe: Analyze the structure of a class (with package dependence) Pin
Hager.Harald15-Oct-17 21:18
professionalHager.Harald15-Oct-17 21:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.