[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

xsl:transform

Subject: xsl:transform
From: "B. Tommie Usdin" <btusdin@xxxxxxxxxxxxxxxx>
Date: Fri, 22 Jun 2001 15:19:24 -0400
xsl transform
>From: Benoit_Aumars@xxxxxxxxxxxx
>To: xalan-dev@xxxxxxxxxxxxxx, XSL-List@xxxxxxxxxxxxxxxxxxxxxx
>Subject: xsl:transform
>Date: Fri, 22 Jun 2001 11:34:41 +0100
>Return-Receipt-To: Benoit_Aumars@xxxxxxxxxxxx

>Hi,
>
>I would like to transform from one xml into another one
>using a 'lookup'  xml file.
>
>Here is the original xml file :
>
><?xml version="1.0"?>
><file1>
>    <col1>01</col1>
>    <col2>Hello</col2>
>    <col3>world</col3>
>    <col4>GTP</col4>
>    <col5>02 Jul 1999 09:45:05:706</col5>
></file1>
>
>using this 'lookup' xml file :
><?xml version="1.0"?>
><xref>
>    <file1>
>	<abbr>col1</abbr><name>label1</name>
>	<abbr>col2</abbr><name>label2</name>
>	<abbr>col3</abbr><name>label3</name>
>	<abbr>col4</abbr><name>label4</name>
>	<abbr>col5</abbr><name>label5</name>
>    </file1>
>    <file2>
>	<abbr>col1</abbr><name>header1</name>
>	<abbr>col2</abbr><name>header2</name>
>    </file2>
></xref>
>
>
>the xml result is :
><?xml version="1.0"?>
><file1>
>    <label1>01</label1>
>    <label2>Hello</label2>
>    <label3>world</label3>
>    <label4>GTP</label4>
>    <label5>02 Jul 1999 09:45:05:706</label5>
></file1>
>
>If the original xml file :
>
><?xml version="1.0"?>
><file2>
>    <col1>12345</col1>
>    <col2>Welcome</col2>
></file2>
>
>using the same 'lookup' xml file, the result is :
><?xml version="1.0"?>
><file2>
>    <header1>12345</header1>
>    <header2>Welcome</header2>
></file2>
>
>Any idea how to ?
>Thanks for any suggestions.
>
>ben.
>
>
>
>************************************************************
>JLT Management Services Limited
>6 Crutched Friars, London EC3N 2PH. Co Reg No 1536540
>Tel: (44) (0)20 7528 4000   Fax: (44) (0)20 7528 4500
>http://www.jltgroup.com
>------------------------------------------------------------
>The content of this e-mail (including any attachments) as
>received may not be the same as sent. If you consider that
>the content is material to the formation or performance of
>a contract or you are otherwise relying upon its accuracy,
>you should consider requesting a copy be sent by facsimile
>or normal mail.  The information in this e-mail is
>confidential and may be legally privileged. If you are not
>the intended recipient, please notify the sender immediately
>and then delete this e-mail entirely - you must not retain,
>copy, distribute or use this e-mail for any purpose or
>disclose any of its content to others.
>
>Opinions, conclusions and other information in this e-mail
>that do not relate to the official business of JLT
>Management Services Limited shall be understood as neither
>given nor endorsed by it.  Please note we intercept and
>monitor incoming / outgoing e-mail and therefore you should
>neither expect nor intend any e-mail to be private in nature.
>
>We have checked this e-mail for viruses and other harmful
>components and believe but not guarantee it virus-free prior
>to leaving our computer system.  However, you should satisfy
>yourself that it is free from harmful components, as we do
>not accept responsibility for any loss or damage it may
>cause to your computer systems.
>************************************************************

-- 
======================================================================
B. Tommie Usdin                        mailto:btusdin@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com   
17 West Jefferson Street                           Phone: 301/315-9631
Suite 207                                    Direct Line: 301/315-9634
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML               
======================================================================

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.