Sponsored Content
Operating Systems HP-UX Need help for xslt transformation using Shell script Post 302397286 by fpmurphy on Sunday 21st of February 2010 06:04:03 PM
Old 02-21-2010
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.
 

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

file name transformation

I've got a multitude of text data files that carry exactly the same kind of data. Unfortunately some of them have a different filename format some are: 'category'_'month'-'year'_act.txt an example being: daf_Apr-1961_act.txt and some are: 'category'_ 'year'-'month'_act.txt an... (16 Replies)
Discussion started by: vrms
16 Replies

2. Shell Programming and Scripting

shell call xalan to transform xml with xslt, but can not find root node

hi experts: i am using xslt to transform xml in shell. But can not find root node of source xml, if i remove the naming space definition in source xml, it works fine. So our the question is how to let xslt know the naming space of srouce xml file? Thanks for your kindly help in... (0 Replies)
Discussion started by: summer_cherry
0 Replies

3. Shell Programming and Scripting

xslt transformation through Unix

Hi .. I have one input XML and I want to convert into another XML using parameter mapping through Database through Unix shell script. But I dont have idea how to do that. And how can I create xsl sheet if mapping is through database tables. Please help me on this. (1 Reply)
Discussion started by: srinu19
1 Replies

4. UNIX for Advanced & Expert Users

Need help in xslt transformation

Hi 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 <fieldlist> <datasource... (1 Reply)
Discussion started by: srinu19
1 Replies

5. Shell Programming and Scripting

Data transformation

I do have an input text file of the following format with 1000's of lines input file: 3386(11:11,Ani:0,Bri:1,ch:1,Jwe:0,Jor:0,LP:0,Lo:0,NS:1,al:1,bo:0,boy:0,bru:0,sh:0,cor:1,dum:0,ery:0,mac:0,mic:0)... (3 Replies)
Discussion started by: Kanja
3 Replies
XALAN(1)						      General Commands Manual							  XALAN(1)

NAME
xalan - Process XML documents with XSLT stylesheets SYNOPSIS
xalan [options] DESCRIPTION
Xalan-C++ (named after a rare musical instrument) implements the W3C Recommendation 16 November 1999 XSL Transformations (XSLT) Version 1.0 and the XML Path Language (XPath) Version 1.0. XSLT is the first part of the XSL stylesheet language for XML. It includes the XSL Transfor- mation vocabulary and XPath, a language for addressing parts of XML documents. For links to background materials, discussion groups, fre- quently asked questions, and tutorials on XSLT, see Getting up to speed with XSLT. You use the XSLT language to compose XSL stylesheets. An XSL stylesheet contains instructions for transforming XML documents from one docu- ment type to another document type (XML, HTML, or other). In structural terms, an XSL stylesheet specifies the transformation of one tree of nodes (the XML input) into another tree of nodes (the output or transformation result). OPTIONS
Options are case-sensitive. -in URL Sets the input URL. If nothing is set, stdin is used. -xsl URL Sets the XSLT sheet URL. -out file Sets the output filename. -v Show version information only. -qc Quiet pattern conflicts warnings. -q Use quiet mode. -indent n Controls how many spaces to indent. Default is 0. -validate Controls whether validation occurs. Validation is off by default. -tt Trace the templates as they are being called. -tg Trace each generation event. -ts Trace each selection event. -ttc Trace the template children as they are being processed. -xml Use XML formatter and add XML header. -text Use simple Text formatter. -html Use HTML formatter. -dom Use DOM formatter. Formats to DOM, then formats XML for output. -xst Use source tree formatter. Formats to Xalan source tree, then formats XML for output. -param name expression Sets a stylesheet parameter. -xd Use Xerces DOM instead of Xalan source tree. -de Disable built-in extension functions The following option is valid only with -HTML -noindent Turn off HTML indenting. The following option is valid only with -XML. -nh Don't write XML header. AUTHOR
The Apache Software Foundation. SEE ALSO
http://www.w3.org/TR/xslt XSL Transformations Version 1.0 (XSLT) http://www.w3.org/TR/xpath XML Path Language Version 1.0 (XPATH) Debian GNU/Linux 2001 XALAN(1)
All times are GMT -4. The time now is 03:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy