Click here to Skip to main content
Sign Up to vote bad
good
See more: C++
could you plz let me know how to write attribute value for CallingAuthenticationValue.
<AssociationRequest>
  <ApplicationContextName Value="LN" />
  <SenderACSERequirements Value="1" />
  <MechanismName Value="LOW_SECURITY" />
  <CallingAuthenticationValue Value=" " />
  <InitiateRequest>
    <ProposedDlmsVersionNumber Value="06" />
    <ProposedConformance>
      <ConformanceBit Name="Action" />
      <ConformanceBit Name="SelectiveAccess" />
      <ConformanceBit Name="Set" />
      <ConformanceBit Name="Get" />
      <ConformanceBit Name="BlockTransferWithSet" />
      <ConformanceBit Name="BlockTransferWithGet" />
    </ProposedConformance>
    <ProposedMaxPduSize Value="FFFF" />
  </InitiateRequest>
</AssociationRequest>
Posted 29 May '12 - 0:26
Edited 6 Jun '12 - 18:49

Comments
nv3 - 29 May '12 - 16:41
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:56
no sir i just wanted to know how to set the attribute using xml parser
Mohibur Rashid - 7 Jun '12 - 1:04
I will repeat nv3's question, what xml parser are you using?
Member 9043734 - 7 Jun '12 - 1:30
I m trying with CMarkup parser
Mohibur Rashid - 7 Jun '12 - 2:38
Now I will suggest you to see the documentation related with CMarkup Class
Member 9043734 - 7 Jun '12 - 4:28
k. can u just clarify whether the user input can be set directly in CallingAuthenticationValue attribute.
Mohibur Rashid - 7 Jun '12 - 4:48
follow the link http://www.firstobject.com/dn_markupmethods.htm to get all the answer of your question. and yes you can, use SetAttrib method
Member 9043734 - 8 Jun '12 - 2:02
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:03
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:55
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:03
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:26
did you look at this link? http://www.firstobject.com/dn_markup.htm this is not the old one
Member 9043734 - 11 Jun '12 - 6:43
CMarkup xmlwriter; xmlwriter.Load(FileToProcess[0]); bool bSuccess = xmlwriter.Open( FileToProcess[0], CMarkup::MDF_READFILE ); //xmlwriter.Open(FileToProcess[0], 16); if(bSuccess==TRUE) { if(xmlwriter.FindElem("CallingAuthenticationValue ")) { cout<<"\n enter password \n"; cin>>value; xmlwriter.SetAttrib("CallingAuthenticationValue ",value); xmlwriter.Close(); } else { cout<<" \n not setting password \n"; } } else { cout<<"\n could not open the file \n"; } here fileprocess[] is array of files ... where we will check the password
Mohibur Rashid - 11 Jun '12 - 3:27
now tell me what is the error and what code are you writing?

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 OriginalGriff 296
1 Mohammed Hameed 183
2 Sergey Alexandrovich Kryukov 143
3 Santhosh G_ 108
4 Mayur_Panchal 98
0 Sergey Alexandrovich Kryukov 8,216
1 OriginalGriff 6,271
2 CPallini 3,528
3 Rohan Leuva 2,703
4 Maciej Los 2,234


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