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 ForumsXMLXMLError message with XML/XSL moduleError message with XML/XSL module
Previous
 
Next
New Post
4/9/2008 11:24 AM
 

 

Running step 7 of the walkthrough tutorial I get this message

System.Xml.XmlException
>' is an unexpected token. The expected token is '"' or '''. Line 1, position 62.

pls help

 
New Post
4/9/2008 2:25 PM
 

N,

I went again through the walkthrough, and I followed all the steps exactly. I did not run into any issue.
Please try again from beginning. 

 
New Post
4/10/2008 7:00 AM
 

Thanks Stefan, I do the same and it works!!!

Pls give me a last help in order to make the to module work for me. Guide me to handle an xml file that is produced by this url:

http://entradatest.aheadrm.com/entrada/listDestinations?from=AHD01687&to=AHD01685&agreementId=AHD01685:00002

How can I handle it with the XML/XSL module?

Thanks for your help

 
New Post
4/10/2008 10:33 AM
 

Sure, first set up http as source, add http://entradatest.aheadrm.com/entrada/listDestinations as source.

Add three static query string params:

from with value AHD01687
to with value AHD01685
aggreementId with value AHD01685:00002

Apply a script like:

   1:  <?xml version="1.0" encoding="utf-8"?>
   2:  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
   3:    <xsl:output method="html" indent="yes"/>
   4:   
   5:    <xsl:template match="Countries">
   6:      <table>
   7:        <tr>
   8:          <th>Code</th>
   9:          <th>Name</th>
  10:        </tr>
  11:        <xsl:for-each select ="Country">
  12:          <tr>
  13:            <td>
  14:              <xsl:value-of select ="@Code"/>
  15:            </td>
  16:            <td>
  17:              <xsl:value-of select ="@Name"/>
  18:            </td>
  19:          </tr>
  20:        </xsl:for-each>
  21:      </table>
  22:    </xsl:template>
  23:  </xsl:stylesheet>
 
New Post
4/10/2008 4:17 PM
 

Stefan thanks. It works perfect. Pls tell me is it possible to save these data to an SQL Server table?

Thanks for your valuable help

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsXMLXMLError message with XML/XSL moduleError message with XML/XSL module


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