Click here to Skip to main content
12,350,134 members (26,409 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.
<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:26am
Edited 6-Jun-12 18:49pm
v3
Comments
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 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: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?
http://www.firstobject.com/dn_markup.htm

this is not the old one
Member 9043734 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 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
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160621.1 | Last Updated 7 Jun 2012
Copyright © CodeProject, 1999-2016
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