Click here to Skip to main content
15,891,777 members
Home / Discussions / C#
   

C#

 
QuestionRe: Getting Rows That Was Changed Pin
DaveAuld15-Jul-11 1:16
professionalDaveAuld15-Jul-11 1:16 
AnswerRe: Getting Rows That Was Changed [modified] Pin
AmbiguousName15-Jul-11 1:29
AmbiguousName15-Jul-11 1:29 
GeneralRe: Getting Rows That Was Changed [modified] Pin
DaveAuld15-Jul-11 1:41
professionalDaveAuld15-Jul-11 1:41 
GeneralRe: Getting Rows That Was Changed Pin
GuyThiebaut15-Jul-11 2:07
professionalGuyThiebaut15-Jul-11 2:07 
QuestionOnly show decimals if there are any Pin
Etienne_12314-Jul-11 22:09
Etienne_12314-Jul-11 22:09 
AnswerRe: Only show decimals if there are any Pin
Etienne_12314-Jul-11 22:24
Etienne_12314-Jul-11 22:24 
GeneralRe: Only show decimals if there are any Pin
Shameel15-Jul-11 2:00
professionalShameel15-Jul-11 2:00 
AnswerRe: Only show decimals if there are any Pin
Wayne Gaylard14-Jul-11 22:32
professionalWayne Gaylard14-Jul-11 22:32 
SuggestionRe: Only show decimals if there are any PinPopular
GuyThiebaut14-Jul-11 22:55
professionalGuyThiebaut14-Jul-11 22:55 
GeneralRe: Only show decimals if there are any Pin
Wayne Gaylard14-Jul-11 23:23
professionalWayne Gaylard14-Jul-11 23:23 
GeneralRe: Only show decimals if there are any Pin
Blue_Boy14-Jul-11 23:50
Blue_Boy14-Jul-11 23:50 
GeneralRe: Only show decimals if there are any Pin
Etienne_12315-Jul-11 2:56
Etienne_12315-Jul-11 2:56 
AnswerRe: Only show decimals if there are any Pin
PIEBALDconsult15-Jul-11 2:55
mvePIEBALDconsult15-Jul-11 2:55 
AnswerRe: Only show decimals if there are any Pin
DaveyM6917-Jul-11 5:52
professionalDaveyM6917-Jul-11 5:52 
Questionchemsketch Pin
albertodiprima14-Jul-11 1:55
albertodiprima14-Jul-11 1:55 
AnswerRe: chemsketch PinPopular
Richard MacCutchan14-Jul-11 1:56
mveRichard MacCutchan14-Jul-11 1:56 
GeneralRe: chemsketch Pin
albertodiprima14-Jul-11 2:08
albertodiprima14-Jul-11 2:08 
GeneralRe: chemsketch Pin
Keith Barrow14-Jul-11 3:06
professionalKeith Barrow14-Jul-11 3:06 
GeneralRe: chemsketch Pin
Richard MacCutchan14-Jul-11 4:23
mveRichard MacCutchan14-Jul-11 4:23 
GeneralRe: chemsketch Pin
BobJanova14-Jul-11 4:27
BobJanova14-Jul-11 4:27 
GeneralRe: chemsketch PinPopular
Richard MacCutchan14-Jul-11 4:30
mveRichard MacCutchan14-Jul-11 4:30 
GeneralRe: chemsketch Pin
BobJanova14-Jul-11 5:09
BobJanova14-Jul-11 5:09 
QuestionSearching XML file Pin
NarVish13-Jul-11 23:26
NarVish13-Jul-11 23:26 
Hi,

I would like to get "Token" value based on the description from the below xml file.
For example, if my input is 'Company'(Description), it should return 'COS'(Token).
I tried with XPath. But not working due to multi level of nodes in xml. Could you pls guide me to achieve this. Thanks in advance.



<CodeList>
  <Entity>
    <Token>PROD</Token>
    <Description>prod</Description>
    <Entity>
      <Token>BUSINESS</Token>
      <Description>Business News</Description>
      <Entity>
        <Token>COS</Token>
        <Description>Company News</Description>
        <Entity>
          <Token>ANA</Token>
          <Description>Analyst Ratings</Description>
          <Entity>
            <Token>ANAMOVES</Token>
            <Description>Analyst Ratings, Estimates and Target Price Changes</Description>
            <Entity>
              <Token>ANACHANGE</Token>
              <Description>Analyst Rating Changes</Description>
              <Entity>
                <Token>ANACUT</Token>
                <Description>Analyst Downgrades</Description>
                <Entity>
                  <Token>ANACUTEVT</Token>
                  <Description>Analyst Ratings Cut Events, Announcements</Description>
                </Entity>
              </Entity>
            </Entity>
          </Entity>
          <Entity>
            <Token>IP</Token>
            <Description>Intellectual Property</Description>
            <Entity>
              <Token>COPYRIGHT</Token>
              <Description>Copyrights</Description>
            </Entity>
          </Entity>
        </Entity>
      </Entity>
      <Entity>
        <Token>DRGPATENT</Token>
        <Description>Drug Patents</Description>
      </Entity>
    </Entity>
  </Entity>
</CodeList>

AnswerRe: Searching XML file Pin
Mirko198014-Jul-11 1:17
Mirko198014-Jul-11 1:17 
GeneralRe: Searching XML file Pin
NarVish14-Jul-11 2:22
NarVish14-Jul-11 2:22 

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.