Click here to Skip to main content
12,889,448 members (50,990 online)
Rate this:
Please Sign up or sign in to vote.
See more: C++
could you plz let me know how to write attribute value for CallingAuthenticationValue.
  <ApplicationContextName Value="LN" />
  <SenderACSERequirements Value="1" />
  <MechanismName Value="LOW_SECURITY" />
  <CallingAuthenticationValue Value=" " />
    <ProposedDlmsVersionNumber Value="06" />
      <ConformanceBit Name="Action" />
      <ConformanceBit Name="SelectiveAccess" />
      <ConformanceBit Name="Set" />
      <ConformanceBit Name="Get" />
      <ConformanceBit Name="BlockTransferWithSet" />
      <ConformanceBit Name="BlockTransferWithGet" />
    <ProposedMaxPduSize Value="FFFF" />
Posted 29-May-12 0:26am
Updated 6-Jun-12 18:49pm
nv3 29-May-12 16:41pm
PLease clarify what you mean with "cmarkup/any parser". Are you looking for an XML parser or do you have one and just want to know how to use it?
Member 9043734 29-May-12 23:56pm
no sir i just wanted to know how to set the attribute using xml parser
Mohibur Rashid 7-Jun-12 1:04am
I will repeat nv3's question, what xml parser are you using?
Member 9043734 7-Jun-12 1:30am
I m trying with CMarkup parser
Mohibur Rashid 7-Jun-12 2:38am
Now I will suggest you to see the documentation related with CMarkup Class
Member 9043734 7-Jun-12 4:28am
k. can u just clarify whether the user input can be set directly in
CallingAuthenticationValue attribute.
Mohibur Rashid 7-Jun-12 4:48am
follow the link to get all the answer of your question. and yes you can, use SetAttrib method
Member 9043734 8-Jun-12 2:02am
i tried but i m getting error as shown
'Open' : is not a member of 'CMarkup'
how can i resolve this.
Member 9043734 8-Jun-12 2:03am
i tried but got an error as shown
'Open' : is not a member of 'CMarkup'
could you tell me any way to overcome this error
Mohibur Rashid 8-Jun-12 2:55am
Documentation said that there should be a open method, if It is not available then you are not using the same class
Member 9043734 11-Jun-12 3:03am
i have included Markup.h and Markup.cpp files in my project which is done in VC++ 2008. could you plz help me out
Mohibur Rashid 11-Jun-12 3:26am
did you look at this link?

this is not the old one
Mohibur Rashid 11-Jun-12 3:27am
now tell me what is the error and what code are you writing?
Member 9043734 11-Jun-12 6:43am
CMarkup xmlwriter;
bool bSuccess = xmlwriter.Open( FileToProcess[0], CMarkup::MDF_READFILE );
//xmlwriter.Open(FileToProcess[0], 16);
if(xmlwriter.FindElem("CallingAuthenticationValue "))
cout<<"\n enter password \n";
xmlwriter.SetAttrib("CallingAuthenticationValue ",value);
cout<<" \n not setting password \n";
cout<<"\n could not open the file \n";

here fileprocess[] is array of files ... where we will check the password

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

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170424.1 | Last Updated 7 Jun 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100