This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: How to add a "less than" or "greater than" sign?
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: How to add a "less than" or "greater than" sign?
- From: "DuCharme, Robert" <Robert dot DuCharme at moodys dot com>
- Date: Wed, 12 Apr 2000 16:13:17 -0400
- Reply-To: xsl-list at mulberrytech dot com
>why wont this work
>< <xsl:value-of select="@Type"> > myvalue </ <xsl:value-of select="@Type">
>
it won't work because it prevents your stylesheet from being well-formed.
The xsl:element element type gives you the most flexibility in creating
names for your output elements, and will solve your problem. Try something
more like
<xsl:element name="{@Type}">myvalue</xsl:element>
Bob DuCharme www.snee.com/bob <bob@
snee.com> see www.snee.com/bob/xmlann for "XML:
The Annotated Specification" from Prentice Hall.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list