Subject: Re: [xsl] Fwd: How to add a attribute of XML as a html element attribute using XSLT From: Wolfgang Laun <wolfgang.laun@xxxxxxxxx> Date: Wed, 11 May 2011 08:35:29 +0200 |
This depends on the way the HTML element <input .../> is created, and how this creation is linked to the <textBox> element. Please provide the XSLT code you have now (or a working subset). -W On 11 May 2011 08:28, Sanjaya Liyanage <sanjayacl@xxxxxxxxx> wrote: > > ---------- 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Fwd: How to add a attribute o, Sanjaya Liyanage | Thread | [xsl] Re: How to add a attribute of, Sanjaya Liyanage |
[xsl] Fwd: How to add a attribute o, Sanjaya Liyanage | Date | [xsl] Simple xpath expression---chi, Steve Fogel |
Month |