[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] value in "quotes"
Subject: Re: [xsl] value in "quotes" From: "cutlass" <cutlass@xxxxxxxxxxx> Date: Tue, 14 Aug 2001 15:08:15 +0100 |
uh, i just gave u the answer u're syntax is incorrect, and if u follow samina's answer it places NOT the value of url but the actual string <xsl:value-of select="url"/>, which is NOT what u want jim fuller ----- Original Message ----- From: "Jan Weiss" <jweiss@xxxxxxxxxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Tuesday, August 14, 2001 3:09 PM Subject: RE: [xsl] value in "quotes" > hi samina, > > 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? > > > try this: > > <rdf:Description rdf:about=<xsl:value-of > select='"url"'/>> > > but i think you will have to split this expression: > you are not able to put one tag into another. > > > hope it works > > jan > > > > > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Samina Islam > Sent: Dienstag, 14. August 2001 15:48 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: [xsl] 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 > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] value in "quotes", Jan Weiss | Thread | Re: [xsl] value in "quotes", Syed Abuthaheer |
RE: [xsl] value in "quotes", Berger Dominik LE CH | Date | [xsl] good old & problem, Meltem Kogelbauer |
Month |