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

HP-UX


Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 02-20-2010
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

Hi

I have one input xml file

Code:
<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

Code:
     <fieldlist>
    <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 09:42 AM.. Reason: Please use code tags
Sponsored Links
    #2  
Old Unix and Linux 02-21-2010
fpmurphy's Unix or Linux Image
fpmurphy fpmurphy is offline Forum Staff  
who?
 
Join Date: Dec 2003
Last Activity: 30 June 2015, 10:07 PM EDT
Location: /dev/ph
Posts: 4,937
Thanks: 70
Thanked 460 Times in 426 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
Closed Linux or Unix Question

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 09: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 10:12 PM
XML to csv transformation siba.s.nayak Shell Programming and Scripting 2 08-14-2009 05:15 AM



All times are GMT -4. The time now is 07:42 PM.