Click here to Skip to main content
14,882,311 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
- if I want to use Microsoft Visual Studio, what type of language that I want to create an application? Actually my project was to automate XML tags from PDF files, WORDS file or Notepad files. I have my standard structure, as per below,

<MLRA_yyyy_vol_no>
<OTHER_CITATIONS>
<ILJ_CITATION></ILJ_CITATION>
<ILJU_CITATION></ILJU_CITATION>
<MLJ_CITATION></MLJ_CITATION>
<MLJU_CITATION></MLJU_CITATION>
<ILR_CITATION></ILR_CITATION>
<CLJ_CITATION></CLJ_CITATION>
<LNS_CITATION></LNS_CITATION>
<AMR_CITATION></AMR_CITATION>
</OTHER_CITATIONS>

<REPORTED_CITATION></REPORTED_CITATION> <UNREPORTED_CITATION></UNREPORTED_CITATION>

<JUDGMENT_COUNTRY>MALAYSIA</JUDGMENT_COUNTRY>
<JUDGMENT_LANGUAGE>ENGLISH</JUDGMENT_LANGUAGE>

<JUDGMENT_NAME>WASUDEVAN SHRIDATHAN v. THE NEW STRAITS TIMES PRESS (MALAYSIA) BERHAD (<ALT_JUDGMENT_NAME>NSTPB</ALT_JUDGMENT_NAME>)</JUDGMENT_NAME>
<COURT_TYPE></COURT_TYPE>
<JUDGE_NAME><NAME></NAME>, <NAME></NAME>, <NAME></NAME>, <NAME></NAME>, <NAME></NAME></JUDGE_NAME> <-- for COA & FC Cases
<JUDGE_NAME><NAME></NAME></JUDGE_NAME> <-- for HC & Industrial Court
<JUDGMENT_NUMBER><AWARD_NO></AWARD_NO> []</JUDGMENT_NUMBER>
<JUDGMENT_DATE></JUDGMENT_DATE>

<HEADNOTE>

<CATCHWORDS>
<p><SUBJECT_INDEX></SUBJECT_INDEX>: </p></CATCHWORDS>

<REFERRED_CASES><p>Case(s) referred to:</p>

<p>Kes-kes yang dirujuk:</p></REFERRED_CASES>

<REFERRED_LEGISLATIONS><p>Legislation referred to:</p>

<p>Perundangan yang dirujuk:</p></REFERRED_LEGISLATIONS>

<REFERRED_OTHERSOURCES><p>Other(s) referred to:</p>

<p>Lain-lain yang dirujuk:</p></REFERRED_OTHERSOURCES>

<COUNSELS><p>Counsel:</p>

<p><PLAINTIFF>For the 1st and 2nd appellants: <PLAINTIFF_NAME>Suzana Atan</PLAINTIFF_NAME> (<PLAINTIFF_NAME>Arik Sanusi Yeop Johari</PLAINTIFF_NAME>, <PLAINTIFF_NAME>Munahyza Mustafa</PLAINTIFF_NAME>, <PLAINTIFF_NAME>Andi Razalijaya A Dadi</PLAINTIFF_NAME> and <PLAINTIFF_NAME>Shamsul Bolhassan</PLAINTIFF_NAME> with her) <FIRMS_NAME>SFC</FIRMS_NAME></PLAINTIFF></p>

<p><RESPONDENT>For the respondent: <RESPONDENT_NAME>Porres Royan</RESPONDENT_NAME> (<RESPONDENT_NAME>S Selvarajah, Benjamin Dawson</RESPONDENT_NAME> and <RESPONDENT_NAME>Annou Xavier</RESPONDENT_NAME> with him); <FIRMS_NAME>M/s Fernandez & Selvarajah<FIRMS_NAME></RESPONDENT></p>

<p><THIRDPARTY>For the 3rd party: <THIRDPARTY_NAME>Kumar Thangaraju</THIRDPARTY_NAME> (togehter with <THIRDPARTY_NAME>Vijayaraj</THIRDPARTY_NAME>); <FIRMS_NAME>M/s Kumar Thangaraju & Co</FIRMS_NAME></THIRDPARTY></p>

<p><INTERVENER>For the Intervener: <INTERVENER_NAME>Saiful Azhar</INTERVENER_NAME> (<INTERVENER_NAME>Norain Idris</INTERVENER_NAME> & <INTERVENER_NAME>Siew Lee Peng<INTERVENER_NAME> with him); <INTERVENER_FIRM>M/s Edwin Chang & Co</INTERVENER_FIRM></INTERVENER></p>

<p><LIQUIDATORS>For the liquidators: <LIQUIDATORS_NAME>Datin Zaleha Kamaruddin</LIQUIDATORS_NAME> (<LIQUIDATORS_NAME>Chee Meng Lee</LIQUIDATORS_NAME> & <LIQUIDATORS_NAME>V Arumugam</LIQUIDATORS_NAME> with her); <LIQUIDATORS_FIRM>M/s Zaleha & Partners</LIQUIDATORS_FIRM></LIQUIDATORS></p>

<p><WATCHING_BRIEF>Watching Brief for <WB_ORGANISATIONS>BAR Counsels</WB_ORGANISATIONS>: <WB_NAME>Wong Kian See</WB_NAME> (<WB_NAME>Zamarul Ariff</WB_NAME> & <WB_NAME>Siti Aishah Mohammad</WB_NAME> with him)</WATCHING_BRIEF></p>

<p><AMICUS_CURIAE>For Amicus Curiae: <A_CURIAE_NAME>Abdul Rahaman Idris</A_CURIAE_NAME> (<A_CURIAE_NAME>Sathia Sandhu</A_CURIAE_NAME> with him); <A_CURIAE_FIRM>M/s Gopal & Co</A_CURIAE_FIRM></AMICUS_CURIAE></p>

<p><THIRDPARTY>For the 1st - 3rd parties: <THIRDPARTY_NAME>Ronald Felix Hardin</THIRDPARTY_NAME>; <FIRMS_NAME>SAG's Chambers</FIRMS_NAME></THIRDPARTY></p>

<p>Kaunsel:</p> <-- for malay version</COUNSELS>

<VERDICT><p>[.]</p></VERDICT>

</HEADNOTE>
<PARTY>
<PARTY_JNO> </PARTY_JNO>
<APPELLANT><NAME> [IC No: , Company No: ]</NAME></APPELLANT>
<RESPONDENT><NAME> [IC No: , Company No: ]</NAME></RESPONDENT>
<CLAIMANT><NAME> [IC No: , Company No: ]</NAME></CLAIMANT>
<COMPANY><NAME> [Company No: ]</NAME></COMPANY>
<PLAINTIFF><NAME> [IC No: , Company No: ]</NAME></PLAINTIFF>
<DEFENDANT><NAME> [IC No: , Company No: ]</NAME></DEFENDANT>
<ACCUSED><NAME>OKT [nama OKT] [IC: , Company No: ]</NAME></ACCUSED>
<PUBLIC_PROSECUTOR><NAME>Pendakwa Raya / PP</NAME></PUBLIC_PROSECUTOR>
<APPLICANT><NAME> [IC No: ]</NAME></APPLICANT>
<PETITIONER><NAME> [IC No: , Company No: ]</NAME></PETITIONER>
<GARNISHOR><NAME> [IC No: ]</NAME></GARNISHOR>
<GARNISHEE><NAME> [IC No: ]</NAME></GARNISHEE>
<JUDGMENT_DEBTOR><NAME> [IC No: , Company No: ]</NAME></JUDGMENT_DEBTOR>
<JUDGMENT_CREDITOR><NAME> [IC No: , Company No: ]</NAME></JUDGMENT_CREDITOR>
<INTERVENER><NAME> [IC No: , Company No: ]</NAME></INTERVENER>
<THIRD_PARTY><NAME> [IC No: , Company No: ]</NAME></THIRD_PARTY>
</PARTY>
<CASE_PROGRESSION>
<p>Case Progression:</p>

<p>Federal Court:-</p>

<p>Court Of Appeal:-</p>

<p>High Court:-</p>

<p>Session Court:-</p>

<p>Industrial Court:-</p>
</CASE_PROGRESSION>
<JUDGMENT>

<p>JUDGMENT</p>

<MAJORITY></MAJORITY>
<DISSENTING></DISSENTING>
<MINORITY></MINORITY>
<SUPPORTING><SUPPORTING>
<CONCURRING></CONCURRING>

<p><NAME>Abdul Aziz Abdul Rahim JCA</NAME>:</p>

kat atas --> [<a name="u1" href="#b1">1</a>]

<hr size= "1" SHADING= "noshade" />
<FOOTNOTES>
<small>
[<a name="b1" href="#u1">1</a>]
</small>
</FOOTNOTES>

</JUDGMENT>
</MLRA_yyyy_vol_no>


so I would like to use this structure to automate my file instead using manual insert the tags.

What I have tried:

I am little bit confused between Console App (.NET Core) under C# and Console App (.NET Core) VB.
Posted
Updated 28-Feb-21 9:09am
Comments
Richard MacCutchan 28-Feb-21 7:23am
   
They are both the same type of application, just different source languages. However that has nothing really to do with your question, which is far from clear.

For learning C# or VB.NET see: best-resources-to-learn-net[^]

You can use XElement.Load("filename.xml") to load your xml file in an easy way, see:
XElement.Load Method (System.Xml.Linq) | Microsoft Docs[^]

Microsoft example:
XElement xmlTree1 = new XElement("Root",  
    new XElement("Child", "content")  
);  
xmlTree1.Save("Tree.xml");  

XElement xmlTree2 = XElement.Load("Tree.xml");  
Console.WriteLine(xmlTree2.Name);
   
v3
Quote:
I am little bit confused between Console App (.NET Core) under C# and Console App (.NET Core) VB.

Use the one you are familiar with.
If you know VB and not C#, then develop it in VB.
If you know C# and not VB, then develop it in C#.
If you know both, develop it in C#.
If you don't know either, then you need to start by learning one or the other pretty well long before you start coding!
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900