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


Closed Thread    
Thread Tools Search this Thread Display Modes
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


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 02-21-2010
fpmurphy's Avatar
fpmurphy fpmurphy is offline Forum Staff  
Join Date: Dec 2003
Last Activity: 23 January 2015, 8:16 PM EST
Location: /dev/ph
Posts: 4,858
Thanks: 65
Thanked 439 Times in 407 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 02:22 AM.