Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
XML
data.xmlanalysis
mappoint.webservice
msf
msxml-webrelease
netmyservices.sdk
passport.sdk
soap
soapsdk
uddi.general
uddi.programming
uddi.specification
xml
xmlsqlwebrelease
xsl
  
 
date: Thu, 26 Jun 2008 13:35:44 -0700,    group: microsoft.public.xsl        back       


Getting a bad request on a link   
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
date: Thu, 26 Jun 2008 13:35:44 -0700   author:   starting out

Re: Getting a bad request on a link   
"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
date: Thu, 26 Jun 2008 21:56:44 +0100   author:   Joe Fawcett am

Re: Getting a bad request on a link   
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
>
>
>
date: Thu, 26 Jun 2008 14:10:25 -0700   author:   starting out

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us