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

XML to XML transformation

Subject: XML to XML transformation
From: Subramanian Subramanian <subramanian.subramanian@xxxxxxxxxxxx>
Date: Fri, 2 Aug 2002 09:45:43 -0700
 XML to XML transformation
Hi,

I need to transform one XML to another XML. Some of the elements in the
source XML has an attribute xsi:type and the value is a java class name. In
the output xml I want to remove this attribute and change the name of the
element to something based on the java class name. 

Ex:

Input -

  <javaobject xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:type="java:a.b.c"
       attr1="123">
	:
	:
  </javaobject>

Expected output -

  <abc attr1="123">
	:
	:
  </abc>


I am new to XSL and I finding it diffcult to get a hang of it. Can anyone
help me or give me some pointers for writing this XSL.

Thanks.

Subramanian

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


Current Thread
  • XML to XML transformation
    • Subramanian Subramanian - Fri, 2 Aug 2002 12:47:28 -0400 (EDT) <=
      • G. Ken Holman - Fri, 2 Aug 2002 13:14:53 -0400 (EDT)
        • bryan - Mon, 5 Aug 2002 04:57:14 -0400 (EDT)
          • bryan - Mon, 5 Aug 2002 05:20:02 -0400 (EDT)
          • bryan - Mon, 5 Aug 2002 07:45:21 -0400 (EDT)

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.