Unix/Linux Go Back    

HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

Need help for xslt transformation using Shell script


Thread Tools Search this Thread Display Modes
Old Unix and Linux 02-20-2010   -   Original Discussion by srinu19
srinu19 srinu19 is offline
Registered User
Join Date: Feb 2010
Last Activity: 13 March 2010, 8:51 AM EST
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Need help for xslt transformation using Shell script


I have one input xml file

<param name="EXTR_COL" valueDesc="AUTHD_RFLL" value="rx.AUTHD_RFLL" />

There is a mapping parameters in Database.

if EXTR_COL is present in input XML then it is mapped to fieldlist.

so the o/p XML looks like

    <datasource name="Oracle database" value="">
      <schemaname value="schema">
        <table value="tablename" dbobjtype="table">
          <field value="AUTHD_RFLL" calcid="0" dbobjtype="field" datatype="varchar2" datasize="9" precision="0" not_null="true">

I want to know how we can do this transformation.

Last edited by Scott; 02-21-2010 at 10:42 AM.. Reason: Please use code tags
Sponsored Links
Old Unix and Linux 02-21-2010   -   Original Discussion by srinu19
fpmurphy's Unix or Linux Image
fpmurphy fpmurphy is offline
Registered User
Join Date: Dec 2003
Last Activity: 12 June 2016, 11:03 PM EDT
Location: /dev/ph
Posts: 4,996
Thanks: 73
Thanked 475 Times in 437 Posts
The 'o/p XML" you showed us is neither valid or well-formed. Without seeing a valid and well-formed XML document, we cannot help you with a transformation stylesheet.
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
xslt transformation through Unix srinu19 Shell Programming and Scripting 1 02-16-2010 10:50 AM
shell call xalan to transform xml with xslt, but can not find root node summer_cherry Shell Programming and Scripting 0 08-27-2009 11:12 PM
XML to csv transformation siba.s.nayak Shell Programming and Scripting 2 08-14-2009 06:15 AM

All times are GMT -4. The time now is 03:18 AM.