whisperstorm
10-06-2003, 09:40 PM
I have information in a dataset that I'm trying to use to construct a URL. it's made up of static components as well as dynamic parts... All the tutorials talk about is setting datasets on text elements, but I need something like this:
some text
The text inside the URL is also fetched from the dataset, but I can get that, I just cannot figure out how to set values of a dataset to things like HREF ... plus its even more complicated since I need to sort of "construct" the url.
so say i had 3 tags in a dataset A B C
<wrapper>
<A>somestuff</A>
<B>someotherstuff</B>
<C>morestuff</C>
</wrapper>
and I wanted to create a url in an anchor tag:
[a href="http://www.somesite.com/"+A/text()+"/foobar?baz="+B/text() ... etc.
some text
The text inside the URL is also fetched from the dataset, but I can get that, I just cannot figure out how to set values of a dataset to things like HREF ... plus its even more complicated since I need to sort of "construct" the url.
so say i had 3 tags in a dataset A B C
<wrapper>
<A>somestuff</A>
<B>someotherstuff</B>
<C>morestuff</C>
</wrapper>
and I wanted to create a url in an anchor tag:
[a href="http://www.somesite.com/"+A/text()+"/foobar?baz="+B/text() ... etc.