Mapping private attribute in workbench

Hi,
The mappingworkbench will not generate a toplink-deployment-descriptor.xml for directly mapped attributes that have accessibility private. Other comments in this forum and weblinks that date from Webgain-Toplink describe that this should be possible.
So my questions are:
- where can I find current toplink documentation that describes how to map private attributes?
- how can I get around the fact that the mapping workbench does not accept methods with private accessibility?
Thanks for your insights,
Joost de Vries
Nederland

Hi Donald,
First; what I want to do is create a 'value object' [cf. Fowler], that is: a java object that can be given values for its attributes at creation time, but not afterwards.
So the way I try to accomplish that is by making the mutator (set-method) private.
This is how to recreate the situation: I have a working mapping. I change the set method of an attribute to private. I restart jDeveloper (*), I generate the toplink-deployment-descriptor.xml. The generation fails with the message 'Method setDjiNummer(Integer i) has private access in class org.myOrg.MyClass'.
Sincerely,
Joost de Vries
Nederland
(*) by the way: is there a better way to make sure the Toplink Workbench sees changes made to java classes?

Similar Messages

  • Mapping object attributes to ArrayField widget

    Is there a way to specify get/set methods for fields within an
    ArrayField widget instead of public attributes of the mapped type?
    We are trying to enforce strict encapsulation of our data objects, but
    it seems that the only way to display our data objects in an ArrayField
    widget is to bind each field in the ArrayField to a PUBLIC attribute of
    our object. I was hopeful that the virtual attribute would take care of
    this but apparently, the virtual attributes can only access public
    attributes on our class.
    An obvious solution to this is to retrieve the private attributes of our
    objects via their Get methods and then manually adding them to the
    ArrayField widget, but this seems to be a lot of wasted processing.
    Any thought would be greatly appreciated. Send replies directly to me at
    [email protected]
    Thanks,
    Van

    Hi,
    Refer your suggestion
    Confirm that
    4. The datatype for the field is same as the data type of the vo attribute.
    This is what I need to Solve.The datatypes are not similar
    I want to show Students Number in the table column
    DataType for the field in the Table is selected as "Number"
    In the View Object there is no datatype called "Number".So, I selcted "Integer".
    Now, how can I show VO attribute of type "Integer" in a table column of type "Number"..
    thanks,
    Gowtam

  • Problem when mapping  model attribute to dropdownbyindex

    HI
    I am mapping model attribute ( this is mapped to Model field of RFC ) to DropDownbyIndex.
    Once i call BAPI the executed list of values populates into dropdown but it doesn't show first value, instead it puts one extra space in dropdown ( 1 blank by default + 1), when we try to select this blank value it gives error.
    Pl help me solving this issue
    Thanks!

    Hi Ravindra,
    It might be write the all code in BAPI side only.
    After writing the bapi code u can retrive thru only DropdownbyIndex.
    What ever u created means Cusomecontroller or component controller in init() method u created BAPI instance and send input to the BAPI.
    When you setting the paramaeters in init() megtod
    U can do like this.
    bapi input = nwe bapi();
    input.setparametername("firstparameter displaying onthedropdownbox");
    for example
    input.setDoc_type("orders");
    add like this.
    Hope this will help
    nageswara.

  • Mapping UME attribute problem

    Hi all,
    I'm using EP SP16 with a MSADS flat hierarchy datasource.
    I've mapped the attribute "pwdLastSet" in the configuration file but when I list the "attributeNames" of my user, it doesn't exist.
    This mapping is no different than previous mapping I've mapped such as extensionAttribute, company, dn and others all done successfully.
    Can't "pwdLastSet" be mapped?
    Amit

    hie could u please paste the xml configuration file here. Also the attribute pwdLastSet is a read only attribute from ADS.

  • Private attributes are not private

    Please consider the following....
    // this is a class by someone else.
    class A{
      private Integer secretPinNumber =
        new Integer(100);
    // and I write this class
    class B extends A{
      // there is a method in here but I won't tell
      // you what it is yet.
    //When we extend something, the private attributes
    // of the extended object are hidden, right?
    // Not if you so this.....
    // Sneaky method in class B
    public Integer stealPINNumber(){
      // cast myself as my super object and since then
      // we are of the same object type, I have access
      // to all private stuff in the super object.
      return ((A)me).secretPinNumber;
    // And keep in mind that if I get the OBJECT PINNumber,
    // I can change it and the changes will show up in class A.Is this s security hole?
    If I have the spec's and code for someone elses class, can I extend it, manipulate it, and become a hacker?
    Am I stupid and everyone knows this and I am late to the party?
    Thoughts?

    The answer to my question is,
    I am stupid. I don't pay attention to the details.
    For clarification I did the following...
    class superclass{
      private Integer PIN = new Integer(100);
      // this is the part in my code that I forgot.
      protected Integer getSecretPin(){
        return PIN;
    class sub{
      sub me;
      public sub(){
        me = this;
      // Sneaky stuff
      public Integer getPIN(){
        return
          ((superclass)me).getSecretPin();
    }I was tracking down a bug and was writing some output debugging and THOUGHT that I had stumbled on a security thing. On further inspection into the superclass code I had really accessed a protected method. My compiler ignored the casting.
    Thanks to all for "Looking into it."
    Peace

  • Trying to access a private attribute of a class in the same package

    Hi,
    I have defined a private attribute in a class
    class Sample {
         private String newString = "hello";
    in another class I am trying to access newString attribute using reflection api. It is throwing hte following exception
    java.lang.NoSuchFieldException: value
         at java.lang.Class.getDeclaredField(Unknown Source)
         at refletionpack.mainclass.main(mainclass.java:20)
    any ideas how to do it exactly? Should stringclass.getDeclaredField("value")
    have the field name(newString) as a parameter?
    public class mainclass {
         static Class stringclass = Sample.class;
         static Field stringCharsField = null;
         public static void main(String args[]){
              try{
                   stringCharsField = stringclass.getDeclaredField("value");
                   stringCharsField.setAccessible(true);
                   char[] stringChars = (char[])stringCharsField.get("newString");
                   System.out.println(stringChars);
              }catch(NoSuchFieldException ex){
                   ex.printStackTrace();     
              }catch(IllegalAccessException ex){
                   ex.printStackTrace();     
    }

    Hi,
    to obtain the value of your private attribute you have to change two lines of code. At first you have to tell your class and not the field that private attributes can be accessed by using stringClass.setAccessible(true);After that you have to specify the name of the attribute to obtain which is called newString in your class which results in
    stringCharsField = stringClass.getDeclaredField("newString");For the invocation of the method get(Object) you need an object first that is an instance of the analyzed class by calling Object sample = stringClass.newInstance.
    Then you can retrieve the actual data of the requested field by calling String string = (String) stringCharsField.get(sample);A simpler solution would be when you make your attribute newString static. Then you can omit the necessary object for the retrieval of the attribute data and the line would result in String string = (String) stringCharsField.get(null);.
    For further issues considering reflection you should read the appropriate API.
    Hope it helps.

  • How to call a private attribute from a funcion module?

    Guys,
    I am trying to call a private attribute but of course it does not recognize the attribute. I am not very familiar with ABAP Objects, so i need some help on this. What is the solution as i need to get values from the fields which are inside the private attribute of the class CL_HRPA_INFOTYPE_CONTAINER. The private attribute name is a_primary_record.
    Any help will be appreciated.
    Thanks
    Nahman

    Hi Sushanth,
    We save the text not as fields in a ztable directly but as a text.Please check the format below since it is based on a working code....
    first you need to create a text in s010 transaction...
    there should be some key based on which you plan to save the text..imagine it is Purchase order then..PO+item numner is always unique.eg:0090010(900PO/item10).so in the code you can append these two and they will be unique..so you can always retrieve them,overwrite,save them anytime you need
    **************data declarations
    TYPES: BEGIN OF TY_EDITOR,
    EDIT(254) TYPE C,
    END OF TY_EDITOR.
    data: int_line type table of tline with header line.
    data: gw_thead like thead.
    data: int_table type standard table of ty_editor.
    ****************fill header..from SO10 t-code..when you save you need the unique key..youfill it here and pass it in save_text function module
    GW_THEAD-TDNAME = loc_nam. " unique key for the text -> our unique key to identify the text
    GW_THEAD-TDID = 'ST'. " Text ID from SO10
    GW_THEAD-TDSPRAS = SY-LANGU. "current language
    GW_THEAD-TDOBJECT = 'ZXXX'. "name of the text object created in SO10
    *To Read from Container and get data to int_table
    CALL METHOD EDITOR ->GET_TEXT_AS_R3TABLE
    IMPORTING
    TABLE = int_table
    EXCEPTIONS
    ERROR_DP = 1
    ERROR_CNTL_CALL_METHOD = 2
    ERROR_DP_CREATE = 3
    POTENTIAL_DATA_LOSS = 4
    others = 5.
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    loop data from int_table and save to int_line-tdline appending it.
    *save the text
    CALL FUNCTION 'SAVE_TEXT'
    EXPORTING
    HEADER = GW_THEAD
    TABLES
    LINES = InT_LINE
    EXCEPTIONS
    ID = 1
    LANGUAGE = 2
    NAME = 3
    OBJECT = 4
    OTHERS = 5.
    IF SY-SUBRC 0.
    ENDIF.
    *To pass to Container
    CALL METHOD EDITOR ->SET_TEXT
    hope that the above sample with helps you solve the problem
    Please check and revert,
    Reward if helpful
    Regards
    Byju

  • Unable to map/get Attributes with import of LDIF Object Class

    Hi All,
    We are trying to take import of Customized Object Class and Attributes into OID through LDIF.
    LDIF import command is:
    ./ldapadd -p 3060 -h myhost -D "cn=orcladmin" -w Ac123456 -f xyzObjClass.ldif
    LDIF contents are:
    dn: cn=subSchemaSubentry
    changetype: modify
    add: objectclasses
    objectclasses: ( 1.3.6.1.4.1.1436.2.46 NAME 'ProviderObjClass' SUP ( organizationalPerson $ person $ top ) STRUCTURAL MAY ( attr1 $ attr2 ) )
    Note: attr1 and attr2 are already imported into OID.
    Result: We are able to create Object Class and also able to inherit Super Class. But we are not able to map the attributes to our Object Class.
    Can anybody help me in importing ?
    Thanks & Regards,
    Newbie

    Again, I don't work with Java and you should ask Java-related question in Flex (or Java) forum.
    Java or not - you need to package your server side language specific object into something that AS understands (text, XML, AMF object) and load this data into AS via, perhaps, URLLoader. Or you can open socket. Then you parse this data with AS3 code in SWF.

  • Accessing private attribute of a class from its Friend Class

    Hi Experts ,
    Please help me to understand how can i access private attribute of one class from its friend class.
    I am coding in Method (DO_SAVE) of class /BOBF/CL_TRA_TRANSACTION_MGR.
    I need to access private variable ( MO_BOPF) of class /BOBF/CL_TRA_SERVICE_MGR ( Friend of /BOBF/CL_TRA_TRANSACTION_MGR ).
    Regards,
    Reny Richard

    Hi Reny,
    You should be able to access by creating object of friend class.
    Sample:
    data lo_frnd     TYPE REF TO  /BOBF/CL_TRA_SERVICE_MGR.
    data lo_compl  type REF TO /BOBF/IF_TRA_TRANS_MGR_COMPL.
       create OBJECT lo_frnd
         exporting
                   iv_bo_key = '111'
                   IO_COMPL_TRANSACTION_MANAGER = lo_compl.
    "access the private object of friend class
       clear lo_frnd->MO_BOPF.
    Note: need to provide iv_bo_key & IO_COMPL_TRANSACTION_MANAGER while creating object.
    Hope this helps you.
    Regards,
    Rama

  • How to access private attribute of a class from its Friend Class

    Hi Experts ,
    I am coding in Method (DO_SAVE) of class /BOBF/CL_TRA_TRANSACTION_MGR.
    I need to access private variable ( MO_BOPF) of class /BOBF/CL_TRA_SERVICE_MGR ( Friend of /BOBF/CL_TRA_TRANSACTION_MGR ).
    Please help me to understand how can i access private attribute of one class from its friend class.
    Regards- Abhishek

    Hi Reny,
    You should be able to access by creating object of friend class.
    Sample:
    data lo_frnd     TYPE REF TO  /BOBF/CL_TRA_SERVICE_MGR.
    data lo_compl  type REF TO /BOBF/IF_TRA_TRANS_MGR_COMPL.
       create OBJECT lo_frnd
         exporting
                   iv_bo_key = '111'
                   IO_COMPL_TRANSACTION_MANAGER = lo_compl.
    "access the private object of friend class
       clear lo_frnd->MO_BOPF.
    Note: need to provide iv_bo_key & IO_COMPL_TRANSACTION_MANAGER while creating object.
    Hope this helps you.
    Regards,
    Rama

  • Private attributes and Inheritance.

    I have a question regarding 'private attributes and inheritance'.
    If I have a class that will be extended by other classes,(basically
    this will act as a BASE class ),then why do I need to define
    any attribute private to this base class.?
    If I define an attribute as private in the base class,then the subclass cannot access
    this attribute.Right?
    1) Why define a private attribute in the base class ?
    2) When can a situation arise whereby the base class attribute is defined
    as 'private' and the base class is also extensible?

    If I define an attribute as private in the base
    class,then the subclass cannot access
    this attribute.Right?Right. A simple example would tell you this.
    >
    1) Why define a private attribute in the base class?Because information hiding and encapsulation are always good things, even between super and sub classes.
    >
    2) When can a situation arise whereby the base class attribute is defined
    as 'private' and the base class is also extensible?This question makes no sense whatsoever. A base class is extensible, unless it is marked as final, whether or not it's got private data members.
    Objects usually have private state and public interfaces. The idea is that clients of a class, even subclasses, should only access the private state thorugh the public interface. So if you've designed your classes properly you shouldn't need to access that private state.
    If you do, you can always provide get/set methods.
    OR declare the data members as protected. That way they're package visible and available to subclasses.
    But private members do not make a class inextensible.
    %

  • Problems to map organization attribute from IDM 7 to my own Resource

    Hi
    I have a problem mapping the organization user attribute to my resource. My Resource xml looks like:
              " <AccountAttributeTypes>\n"+
              " <AccountAttributeType name='accountId' mapName='loginName' mapType='string'/>\n"+
              " <AccountAttributeType name='email' mapName='email' mapType='string'/>\n"+
              " <AccountAttributeType name='firstname' mapName='firstname' mapType='string'/>\n"+
              " <AccountAttributeType name='lastname' mapName='lastname' mapType='string'/>\n"+
              " <AccountAttributeType name='organization' mapName='organization' mapType='string'/>\n"+     
              " </AccountAttributeTypes>\n"+
    but when I try to get the organization attribute in my resource it comes null. I get it like follows:
         WSAttributes attributes = user.getWSAttributes();
         attributes.getValueAsString("organization")
    Does anyone know how to map organization attribute to a Resource?
    Thanks.

    I can pass the Organization attribute to my Resource configuring this in MetaView tab.. But only pass me this attribute when I update an account.
    in my resource xml is:
    static String gfResourceXml =
              "<Resource name='ResourceAdapter' class='com.qoslabs.jes.idm.ResourceAdapter' typeString='ResourceAdapter' typeDisplayString='ResourceAdapter'>\n"+
              "     <Template>\n"+
              "           <AttrDef name='accountId' type='string'/>\n"+ 
              "  </Template>\n"+ <AccountAttributeTypes>\n"+
              "    <AccountAttributeType name='accountId' mapName='loginName' mapType='string'/>\n"+
              "       <AccountAttributeType name='password' mapName='password' mapType='string'/>\n"+   
              "    <AccountAttributeType name='email' mapName='email' mapType='string'/>\n"+
              "    <AccountAttributeType name='firstname' mapName='firstname' mapType='string'/>\n"+   
              "    <AccountAttributeType name='lastname' mapName='lastname' mapType='string'/>\n"+
              "    <AccountAttributeType name='organization' mapName='organization' mapType='string'>\n"+
             "      <AttributeDefinitionRef>\n" +
             "        <ObjectRef type='AttributeDefinition' name='organization'/>\n" +
             "      </AttributeDefinitionRef>\n" +
             "    </AccountAttributeType>\n" +
              "  </AccountAttributeTypes>\n"+
    "</Resource>\n"; and in metaview tab in Admintrator console I configure like this:
    AttributeName: organization
    Sources: None
    How to set Identity Attribute  : Set to value
    Store attribute in IDM repository: checked
    Targets: MyResourceAdapter         organization        Create, UpdateHow can I configure the meta view to pass me the attribte organization when I create a user account?
    Thanks,
    Message was edited by:
    ima_dev

  • Private attributes & class property definition errors

    I'm setting up functions in a document class file, then from there I am going to call that function from a movieclip in flash.  For some reason, maybe I have things set up wrong, but it is throwing me errors such as below:
    Line 37 1013: The private attribute may be used only on class property definitions.
    What am I doing wrong here and is there something I am not understanding?
    Here is my .as code.
    modal.as >
    package {
         import flash.display.*;
         import flash.events.Event;
         import flash.events.MouseEvent;
         import flash.display.*;
         import flash.events.*;
         import flash.net.URLRequest;
         public class modal extends MovieClip {
              public function modal() {
         private var currentlyShowing:MovieClip=null;
              public function showModalContent(clip:MovieClip):void {
                   if (currentlyShowing!=null) {
                        removeChild(currentlyShowing);
                   currentlyShowing=clip;
                   addChild(currentlyShowing);
              public function removeModalContent():void {
                   if (currentlyShowing!=null) {
                        removeChild(currentlyShowing);
                        currentlyShowing=null;
    And here is my code that is on the timeline:
    slideshowimages_mc.one_mc.addEventListener(MouseEvent.CLICK, oneClick);
    function oneClick(event:MouseEvent):void {
         var bigimagebg_mc=new mc_bigimagebg  ;
         showModalContent(bigimagebg_mc);
         bigimagebg_mc.x=200;
         bigimagebg_mc.y=170;

    unnest all the named functions and that variable:
    package {
        import flash.display.*;
        import flash.events.Event;
        import flash.events.MouseEvent;
        import flash.display.*;
        import flash.events.*;
        import flash.net.URLRequest;
        public class modal extends MovieClip {
            private var currentlyShowing:MovieClip=null;
            public function modal() {
            public function showModalContent(clip:MovieClip):void {
                if (currentlyShowing!=null) {
                    removeChild(currentlyShowing);
                currentlyShowing=clip;
                addChild(currentlyShowing);
            public function removeModalContent():void {
                if (currentlyShowing!=null) {
                    removeChild(currentlyShowing);
                    currentlyShowing=null;

  • Constructors and Private attributes

    I'm developing an object which parse a string in tokens.
    I need to override a Constructor, I need extend functionality of system constructor.
    Another issue is I need to use private attributes in my object.
    Somebody knows a way to do this?
    I appreciate some help
    Best Regards

    Daniel,
    Which release are you using? With Oracle9i R2, you can use 'user-defined constructors' (http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/appdev.920/a96594/adobjadv.htm#1009574). 'Private' attribute is not supported yet. If I know more about your usage scenario, there may be a workaround.
    Regards,
    Geoff
    I'm developing an object which parse a string in tokens.
    I need to override a Constructor, I need extend functionality of system constructor.
    Another issue is I need to use private attributes in my object.
    Somebody knows a way to do this?
    I appreciate some help
    Best Regards

  • XSLT Mapping - replacing attribute value of a specific node

    Hi,
    I want to replace the value of an attribute for a specific node. Can you please tell me how this can be achieved using XSLT coding?
    The input file is as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <GovTalkMessage xmlns="http://www.govtalk.gov.uk/CM/envelope">
         <EnvelopeVersion>2.0</EnvelopeVersion>
         <Header>
              <MessageDetails>
                   <Class>IR-PAYE-MOV</Class>
                   <Qualifier>request</Qualifier>
                   <Function>submit</Function>
                   <CorrelationID/>
                   <Transformation>XML</Transformation>
                   <GatewayTimestamp/>
              </MessageDetails>
              <SenderDetails>
                   <IDAuthentication>
                        <SenderID>isv142</SenderID>
                        <Authentication>
                             <Method>MD5</Method>
                             <Value>1L2xFE8WqHHI5iVMGhixAg==</Value>
                        </Authentication>
                   </IDAuthentication>
              </SenderDetails>
         </Header>
         <GovTalkDetails>
              <Keys>
                   <Key Type="TaxOfficeNumber">123</Key>
                   <Key Type="TaxOfficeReference">MD345</Key>
              </Keys>
              <ChannelRouting>
                   <Channel>
                        <URI>0142</URI>
                   </Channel>
              </ChannelRouting>
         </GovTalkDetails>
         <Body>
              <IRenvelope xmlns="http://www.govtalk.gov.uk/taxation/PAYE/MOV/09-10/1">
                   <IRheader>
                        <Keys>
                             <Key Type="TaxOfficeNumber">123</Key>
                             <Key Type="TaxOfficeReference">MD345</Key>
                        </Keys>
                        <PeriodEnd>2009-09-29</PeriodEnd>
                        <DefaultCurrency>GBP</DefaultCurrency>
                        <IRmark Type="generic">03Bfkipk6UDWSXLj77ObBVoK894=</IRmark>
                        <Sender>Company</Sender>
                   </IRheader>
                   <InYearMovements>
                        <EmployerName>form p60</EmployerName>
                        <P46 Statement="A">
                             <Name>
                                  <Fore>Smith</Fore>
                                  <Sur>John</Sur>
                             </Name>
                             <Address>
                                  <Line>Sterling Residency</Line>
                                  <Line>Gehde</Line>
                                  <Line>Hedge End</Line>
                                  <Line>Southampton</Line>
                                  <PostCode>12345678</PostCode>
                             </Address>
                             <WorksNumber>20090030</WorksNumber>
                             <NINO>NP258719D</NINO>
                             <BirthDate>1985-07-11</BirthDate>
                             <Gender>male</Gender>
                             <StartDate>2009-04-20</StartDate>
                             <TaxCodeInUse>647L</TaxCodeInUse>
                        </P46>
                   </InYearMovements>
              </IRenvelope>
         </Body>
    </GovTalkMessage>
    I want to replace the value 'http://www.govtalk.gov.uk/taxation/PAYE/MOV/09-10/1' of attribute xmlns belonging to the node 'IRenvelope' with the value 'http://www.govtalk.gov.uk/taxation/PAYE/MOV/10-11/1'
    So the output of the mapping should be:
    <?xml version="1.0" encoding="UTF-8"?>
    <GovTalkMessage xmlns="http://www.govtalk.gov.uk/CM/envelope">
         <EnvelopeVersion>2.0</EnvelopeVersion>
         <Header>
              <MessageDetails>
                   <Class>IR-PAYE-MOV</Class>
                   <Qualifier>request</Qualifier>
                   <Function>submit</Function>
                   <CorrelationID/>
                   <Transformation>XML</Transformation>
                   <GatewayTimestamp/>
              </MessageDetails>
              <SenderDetails>
                   <IDAuthentication>
                        <SenderID>isv142</SenderID>
                        <Authentication>
                             <Method>MD5</Method>
                             <Value>1L2xFE8WqHHI5iVMGhixAg==</Value>
                        </Authentication>
                   </IDAuthentication>
              </SenderDetails>
         </Header>
         <GovTalkDetails>
              <Keys>
                   <Key Type="TaxOfficeNumber">123</Key>
                   <Key Type="TaxOfficeReference">MD345</Key>
              </Keys>
              <ChannelRouting>
                   <Channel>
                        <URI>0142</URI>
                   </Channel>
              </ChannelRouting>
         </GovTalkDetails>
         <Body>
              <IRenvelope xmlns="http://www.govtalk.gov.uk/taxation/PAYE/MOV/10-11/1">
                   <IRheader>
                        <Keys>
                             <Key Type="TaxOfficeNumber">123</Key>
                             <Key Type="TaxOfficeReference">MD345</Key>
                        </Keys>
                        <PeriodEnd>2009-09-29</PeriodEnd>
                        <DefaultCurrency>GBP</DefaultCurrency>
                        <IRmark Type="generic">03Bfkipk6UDWSXLj77ObBVoK894=</IRmark>
                        <Sender>Company</Sender>
                   </IRheader>
                   <InYearMovements>
                        <EmployerName>form p60</EmployerName>
                        <P46 Statement="A">
                             <Name>
                                  <Fore>Smith</Fore>
                                  <Sur>John</Sur>
                             </Name>
                             <Address>
                                  <Line>Sterling Residency</Line>
                                  <Line>Gehde</Line>
                                  <Line>Hedge End</Line>
                                  <Line>Southampton</Line>
                                  <PostCode>12345678</PostCode>
                             </Address>
                             <WorksNumber>20090030</WorksNumber>
                             <NINO>NP258719D</NINO>
                             <BirthDate>1985-07-11</BirthDate>
                             <Gender>male</Gender>
                             <StartDate>2009-04-20</StartDate>
                             <TaxCodeInUse>647L</TaxCodeInUse>
                        </P46>
                   </InYearMovements>
              </IRenvelope>
         </Body>
    </GovTalkMessage>
    Thanks & Regards,
    Aditi Naik

    Hi,
    You get name of an attribute by this code
    <xsl:for-each select="@*">
        <xsl:text>Value of </xsl:text>
               <xsl:value-of select="name(.)"/>
        <xsl:text> is </xsl:text><xsl:value-of select="."/>
    </xsl:for-each>
    Change value by providing new value in <xsl:value-of select="."/>
    Regards
    suraj

Maybe you are looking for

  • Using an external drive with iMovie HD

    I just received and formatted my external drive. At first I chose Mac OS Extended (Journaled) and Zero out data. When I got info (⌘+I) of the drive afterwards, it had 79 MB being used, journalling? So I then Erased it and chose Mac OS Extended and no

  • Having trouble getting time capsule to backup my files automatically.

    I have been having trouble with time capsule ever since I upgraded to the Mountain Lion OX.  I get the error message..."backup disk can not be found".  The only was I can get it to work (temporarily) is to unlug the time capsule and plug it back in. 

  • Is it possible to create Order type with different number ranges-Plant wise

    Hi Experts Client wants to get the different number ranges for the order types created in the different plants. Is there any user exit for the same. I have assigned the order type to the different plants. And Order type is assigned to a no range. So

  • CRVS2010 Beta - 'Sys.Application' is null or not an object

    I have been attempting to create an ASP.NET Web Application in C# which includes Crystal Reports. However, as soon as a CrystalReportViewer is so much as added to a blank project, I begin receiving the following error: Microsoft JScript runtime error

  • ORA-27211: Failed to load Media Management Library after Update to HP DP 6

    Hi, after an Upgrade to Version 6.0 from the Backupsoftware HP Dataprotector i can't run RMAN Backup's anymore, because something is wrong with Linking of the MML. BS: SLES 8 / Kernel 2.4.21-251-smp Oracle: 9.2.0.5 I try this RMAN Statement: RMAN> ru