Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListHow to define URL in xsl using UDTHow to define URL in xsl using UDT
Previous
 
Next
New Post
10/29/2006 3:55 AM
 

Hi,
How do i define an URL in the XSL stylesheet. In my xml file the following is defined:

<URL_x0020_aaa><a href="/LinkClick.aspx?link=http%3a%2f%2fwww.xxxxxx.nl&tabid=158&mid=663" target="_blank">www.xxxxxx.nl</a></URL_x0020_aaa> 
<URL_x0020_aaa_UDT_Url>/LinkClick.aspx?link=http%3a%2f%2fwww.xxxxxx.nl&tabid=158&mid=663</URL_x0020_aaa_UDT_Url> 
  <URL_x0020_aaa_UDT_Orginal>www.xxxxxx.nl</URL_x0020_aaa_UDT_Orginal>

 
The value www.xxxxxx.nl was entered in the UDT using the URL type setting.
 
In the XSL i defined the following:
 
 <td align="left">
              <a>
               <xsl:attribute name="href">
                 <xsl:value-of select="udt:URL_x0020_aaa_UDT_Orginal" />
            </xsl:attribute>
              </a>
            <br/>
          </td>
 
But this does not result in the right effect. What do i do wrong?
 
New Post
10/29/2006 9:23 AM
 

Hi  PZijlstra,

your issue was answered with my first post at your thread in the xml forum and I asked you to post new threads regarding UDT inside the UDT Forum.

Here the answer again, use URL_x0020_aaa_UDT_Url or add an http:// infront of your link:

<td align="left">
              <a>
               <xsl:attribute name="href">
                 http://<xsl:value-ofselect="udt:URL_x0020_aaa_UDT_Orginal" />
            </xsl:attribute>
              </a>
            <br/>
          </td>

 
New Post
10/31/2006 11:32 AM
 
Stefan Cullmann wrote

Hi  PZijlstra,

your issue was answered with my first post at your thread in the xml forum and I asked you to post new threads regarding UDT inside the UDT Forum.


Yes I know, however, that answer did not solve my problem. Ans also, this time you gave me a different answer.
But anyhow, all possibilities you mentioned don't work. I also downloaded the xmlspy home edition and could find nothing wrong with my xml/xsl

So i still don't know if the problem is in the UDT module in combination with xsl, or that i'm doing something wrong defining the xsl. As far as i can tell, it seems as if the UDT module does not handle the xsl right.

 
New Post
10/31/2006 3:50 PM
 

PZijlstra,

please contact me at xmlmodule@gmail.com Please export your UDT and send it together with the xml and the xsl file.

PS: My new, different answer was a shorter variation of Nr. 3

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListHow to define URL in xsl using UDTHow to define URL in xsl using UDT


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out