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

Fwd: How to add a attribute of XML as a html element

Subject: Fwd: How to add a attribute of XML as a html element attribute using XSLT
From: Sanjaya Liyanage <sanjayacl@xxxxxxxxx>
Date: Wed, 11 May 2011 06:28:36 +0000
 Fwd: How to add a attribute of XML as a html element
---------- Forwarded message ----------
From: Sanjaya Liyanage <sanjayacl@xxxxxxxxx>
Date: Wed, May 11, 2011 at 6:25 AM
Subject: How to add a attribute of XML as a html element attribute using XSLT
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx


Hi all,

       How can I use the XSLT to convert myXML.xml to target html?I
don't know how to apply the xml property "size" as the value of
attribute size in input element.Any help is vital.

    myXML.xml
 <ui>
          <textBox size="50">
          </class>
 </ui>

   Target html

<html>
   <body>
              <input name="lastname" type="text" id="lastname"
value="" size="50" />
   </body>
</html>

Thank you
Sanjaya Liyanage

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.