Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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 1:26am
Edited 6-Jun-12 19:49pm
v3
Comments
nv3 at 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 at 29-May-12 23:56pm
   
no sir i just wanted to know how to set the attribute using xml parser
Mohibur Rashid at 7-Jun-12 1:04am
   
I will repeat nv3's question, what xml parser are you using?
Member 9043734 at 7-Jun-12 1:30am
   
I m trying with CMarkup parser
Mohibur Rashid at 7-Jun-12 2:38am
   
Now I will suggest you to see the documentation related with CMarkup Class
Member 9043734 at 7-Jun-12 4:28am
   
k. can u just clarify whether the user input can be set directly in
CallingAuthenticationValue attribute.
Mohibur Rashid at 7-Jun-12 4:48am
   
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 at 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 at 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 at 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 at 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 at 11-Jun-12 3:26am
   
did you look at this link?
http://www.firstobject.com/dn_markup.htm
 
this is not the old one
Member 9043734 at 11-Jun-12 6:43am
   
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 at 11-Jun-12 3:27am
   
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
0 DamithSL 325
1 OriginalGriff 199
2 BillWoodruff 170
3 Zoltán Zörgő 165
4 Maciej Los 123
0 OriginalGriff 7,854
1 DamithSL 5,949
2 Sergey Alexandrovich Kryukov 5,449
3 Maciej Los 5,084
4 Kornfeld Eliyahu Peter 4,539


Advertise | Privacy | Mobile
Web02 | 2.8.141223.1 | Last Updated 7 Jun 2012
Copyright © CodeProject, 1999-2014
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