Need help for xslt transformation using Shell script | Unix Linux Forums | HP-UX

  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 Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 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 10:42 AM.. Reason: Please use code tags
Sponsored Links
    #2  
Old 02-21-2010
fpmurphy's Avatar
fpmurphy fpmurphy is offline Forum Staff  
who?
 
Join Date: Dec 2003
Last Activity: 22 November 2014, 10:34 AM EST
Location: /dev/ph
Posts: 4,834
Thanks: 64
Thanked 433 Times in 401 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 Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 07:57 PM.