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

Re: value in "quotes"

Subject: Re: value in "quotes"
From: "cutlass" <cutlass@xxxxxxxxxxx>
Date: Tue, 14 Aug 2001 14:49:57 +0100
xsl attribute in quotes
2 ways

use shorthand
 <rdf:Description rdf:about=" {url}"/>

or xsl:attribute
<rdf:Description>
<xsl:attribute name="rdf:about"><xsl:value-of select="url"/></xsl:attribute>
</rdf:Description>

i luv answering this one !

cheers, jim fuller

----- Original Message -----
From: "Samina Islam" <samnaz123@xxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, August 14, 2001 2:47 PM
Subject:  value in "quotes"


> Hi everyone!
>
> I'm writing this XSL stylesheet where it takes in a
> XML document and turns it into PRISM.  One of the
> attributes in the xml documents is URL.  I'm trying to
> take this value of the url and put it in "quotes".
>
> For example:
>
> my xml document has this:
> <url>http://www.what.com...</url>
>
> My output prism document should look like:
> <rdf:Description rdf:about="http://www.what.com...">
>
> In my xsl stylesheet I'm doing this:
> <rdf:Description rdf:about="<xsl:value-of
> select="url"/>">
>
> it says I can't have < after my first quotation. Is
> there another way of getting the value of the url into
> quotes?
>
> thanks!
>
> Samina
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
>
>  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.