Hello This is my xml file snippet: <storylink>http://www.cvx.net/nosun.aspx</storylink> This is my xsl file snippet: <a href="<xsl:value-of select='stories/story/storylink'/>">The rest of the story</a> It transforms okay but clicking on the link I get a bad request error. So what am I doing that is wrong Thanks in advance. AMM
"starting out" wrote in message news:uRjt3w81IHA.2208@TK2MSFTNGP04.phx.gbl... > Hello > > > This is my xml file snippet: > <storylink>http://www.cvx.net/nosun.aspx</storylink> > > This is my xsl file snippet: > > <a href="<xsl:value-of select='stories/story/storylink'/>">The rest > of the story</a> > > It transforms okay but clicking on the link I get a bad request error. So > what am I doing that is wrong > > Thanks in advance. > > > > AMM > Search for Attribute Value Template online: <a href={stories/story/storylink}">The rest of the story</a> You could easily have diagnosed the reason for the error if you had viewed the result of the transformation. -- Joe Fawcett (MVP - XML) http://joe.fawcett.name
Thanks Joe that saved me on the next issue as well. I have not gotten to xpath stuff yet. "Joe Fawcett" <joefawcett@newsgroup.nospam> wrote in message news:90AB0A0A-0F39-4F81-A0B8-ADAA331F5D17@microsoft.com... > > > "starting out" wrote in message > news:uRjt3w81IHA.2208@TK2MSFTNGP04.phx.gbl... >> Hello >> >> >> This is my xml file snippet: >> <storylink>http://www.cvx.net/nosun.aspx</storylink> >> >> This is my xsl file snippet: >> >> <a href="<xsl:value-of select='stories/story/storylink'/>">The rest >> of the story</a> >> >> It transforms okay but clicking on the link I get a bad request error. So >> what am I doing that is wrong >> >> Thanks in advance. >> >> >> >> AMM >> > Search for Attribute Value Template online: > <a href={stories/story/storylink}">The rest of the story</a> > You could easily have diagnosed the reason for the error if you had viewed > the result of the transformation. > > -- > > Joe Fawcett (MVP - XML) > http://joe.fawcett.name > > >