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 ForumsXMLXMLHaving trouble getting started with xsl.. keeps erroringHaving trouble getting started with xsl.. keeps erroring
Previous
 
Next
New Post
5/20/2010 1:19 AM
 
could someone help me get started working with this xml and writing a very simple xsl transform for it?  I just want it to list the menu_imgs.   Everything i seem to write.. seems to give errors.  the url that generates the xml is here.. http://members.whitpres.org/DesktopMo... if that is needed?
 
New Post
5/20/2010 3:15 AM
 
Why don't you use the build in XSLT Generator?
 
New Post
5/20/2010 10:58 AM
 
because i am putting the module data on the page 2 times.  DNN doesnt like 2 instances of the same module on the same page.  :(

brandon
 
New Post
5/20/2010 12:05 PM
 
I know, though it can still generate the requested XSL File for you.
 
New Post
5/20/2010 1:16 PM
 
I am using Forms and Lists almost as a conent management system for my main content pages.  (don't ask why :)) 

The xml generated by the form and list is here  http://members.whitpres.org/DesktopMo...
I have used the add existing module feature to add that module and filter it to this page  http://members.whitpres.org/MinistryA... .  my xsl works great there.
In the right pane of that same page.. i tried to add an xml/xsl module .  The xml points to that xml file and the xsl generated from the module.  But it doesnt seem to be passing the right parameters and you can see the error on the screen there.

So my question is.  When using the form and list xsl generator to use outside of the form and list module.  what parameters do you need to pass to the xsl?

below is what i tried.. but it fails

xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:udt="DotNetNuke/UserDefinedTable" exclude-result-prefixes="udt">
  <xsl:output method="xml" indent="yes" omit-xml-declaration="yes" />
  
 <xsl:template match="udt:Data" mode="list">
    <tr class="Normal">
      <td colspan="2">
        <a href="{udt:Link_UDT_Url}"><xsl:value-of select="udt:Menu_IMG" disable-output-escaping="yes" />a>td>
    tr>
xsl:template>
xsl:stylesheet>

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsXMLXMLHaving trouble getting started with xsl.. keeps erroringHaving trouble getting started with xsl.. keeps erroring


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