This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

XSL: Attribute to Element


I'm having a problem using XSL to transform an attribtue to an element in an
XML to XML transformation.

For example, given the following XML:

<parameters>
	<parameter name="Key1">23</parameter>
	<parameter name="Key2">24</parameter>
</parameters>

I would like the resulting XML to appear as:

<parameters>
	<Key1>23</Key1>
	<Key2>24</Key2>
</parameters>

Further, my solution needs to use XSL, not XSLT, since my company is
currently using ver. 2.6 of Microsoft MSXML.  (We won't upgrade to ver. 3.0
and XSLT until Microsofts releases a production version.)  A solution in
either version would be helpful since we will upgrade, but my immediate need
is for the XSL version.

Thank you.


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]