[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: <xsl:element name="input">
I'm trying to dynamically create the UI based on elements in my source XML.
However, I will be making a second transform on the output, so I need it to
be valid XML. My stylesheet is more like this (it is a bit more
complicated, but this captures the gist of it):
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="xml"/> <xsl:template match="/"> <html> <body> <xsl:element name="input"> <xsl:attribute name="type">text</xsl:attribute> <xsl:attribute name="name"> <xsl:value-of select="@name"/> </xsl:attribute> </xsl:element> </body> </html> </xsl:template> </xsl:stylesheet> Phil Lanch wrote: Dale Asberry wrote:
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|