AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system


#Operatingsystems
#Opensource
#AIX
#AIX Open Source
 View Only
Expand all | Collapse all

libXSLT on AIX Toolbox for Linux Applications

  • 1.  libXSLT on AIX Toolbox for Linux Applications

    Posted Wed April 11, 2018 12:16 PM

    Originally posted by: @AAB


    Hello every one,

    Is there a way to have libXSLT on AIX Toolbox (AIX7.1 or AIX6.1 not AIX5.1) please ? or give me from where can i download it.

     

    Thanks

    Abderahim



  • 2.  Re: libXSLT on AIX Toolbox for Linux Applications

    Posted Wed April 11, 2018 10:58 PM

    Originally posted by: sangameshm


    packages built on AIX5.1 can be installed AIX 5.1 and higher versions of AIX.

    You can get the libxslt from here https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/libxslt/

    We are working on 1.1.28 which will be made available soon on Toolbox and can be installed through YUM.

     

    Thanks,

    Sangamesh



  • 3.  Re: libXSLT on AIX Toolbox for Linux Applications

    Posted Thu April 12, 2018 08:45 AM

    Originally posted by: @AAB


    Hello @sangameshm b2e92779-2458-43ca-987f-f5904c716f4b

     

    Thank you so much. great, my XML file (xxx_xxx.xml) are converted to another XML file (result_on_xx000xxx0002.xml) based on XSLT format file (transfo.xslt), don't forget export LIBPATH=$LIBPATH:/usr/lib:/opt/freeware/lib :

     

    root@xx000xxx0002:/var/tmp/XXXXX-XXXX#
    root@xx000xxx0002:/var/tmp/XXXXX-XXXX# ls -ltr
    total 16
    -rw-r--r--    1 root     system         2204 Apr 12 14:15 xxx_xxx.xml
    -rw-r--r--    1 root     system         2277 Apr 12 14:16 transfo.xslt
    root@xx000xxx0002:/var/tmp/XXXXX-XXXX# export LIBPATH=$LIBPATH:/usr/lib:/opt/freeware/lib
    root@xx000xxx0002:/var/tmp/XXXXX-XXXX# xsltproc -o result_on_xx000xxx0002.xml transfo.xslt xxx_xxx.xml
    root@xx000xxx0002:/var/tmp/XXXXX-XXXX# echo $?
    0
    root@xx000xxx0002:/var/tmp/XXXXX-XXXX# ls -ltr
    total 32
    -rw-r--r--    1 root     system         2204 Apr 12 14:15 xxx_xxx.xml
    -rw-r--r--    1 root     system         2277 Apr 12 14:16 transfo.xslt
    -rw-r--r--    1 root     system         4357 Apr 12 14:29 result_on_xx000xxx0002.xml
    root@xx000xxx0002:/var/tmp/XXXXX-XXXX#

     

    Have nice day,

    @AAB