Hi,
u try this one.
first assign the value to a variable and then use the variable.
<xsl:variable name="v_url"><xsl:value-of select="url"/></xsl:variable>
<rdf:Description rdf:about="$v_url">
regards,
syed.
----- Original Message -----
From: "Samina Islam" <samnaz123@xxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, August 14, 2001 9: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 |
- value in "quotes"
- Samina Islam - Tue, 14 Aug 2001 09:51:06 -0400 (EDT)
- cutlass - Tue, 14 Aug 2001 09:57:24 -0400 (EDT)
- Jan Weiss - Tue, 14 Aug 2001 10:08:37 -0400 (EDT)
- cutlass - Tue, 14 Aug 2001 10:15:39 -0400 (EDT)
- Syed Abuthaheer - Tue, 14 Aug 2001 20:46:53 -0400 (EDT) <=
|
|