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

That didnt work either! RE: How to add a "less than" or "gre

Subject: That didnt work either! RE: How to add a "less than" or "greater than" sign?
From: "Moazzam Ahmed" <moazzam@xxxxxxxxx>
Date: Wed, 12 Apr 2000 17:47:02 -0500
intitle add site gre
couple of you suggested the following. But that returns this :

<{@Type}>myvalue</@Type>

so its taking the literal value of that. ???

Also, the "&gt;" "&lt;" doesnt work either. It creates this

&lt;ATAG&gt;myvalue&lt;/ATAG&gt;

thanks 

Moazzam

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of DuCharme, Robert
Sent: Wednesday, April 12, 2000 3:13 PM
To: 'xsl-list@xxxxxxxxxxxxxxxx'
Subject: RE: How to add a "less than" or "greater than" sign?


>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


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


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.