Products

Solutions

Learn More

Partners

Community

Blog

About

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 ForumsNews FeedsNews FeedsXSL convert string to node?XSL convert string to node?
Previous
 
Next
New Post
6/29/2012 8:29 PM
 

Hello, I am trying to create a custom transformation in which the feed source has one element (<description>), which has a large string that I'd like to parse. As such, I'd like to convert it to a node, so I can then parse it using XPath selectors, like this:

<xsl:variable name="description-node" select="msxsl:node-set($newDesc)"/>

And I declared the namespace: xmlns:msxsl="urn:schemas-microsoft-com:xslt"

but this doesn't work.

Actually, I can't get the replace function to work either, which is in XSLT 2.0....I put stylesheet version="2.0", will this allow me to use XSLT 2.0 or not?

Thanks in advance,

Chad

 
New Post
7/2/2012 4:18 AM
 
don't know exactly about the first one since I never run into that. However as for xslt 1 and 2 that's simple. There is no xslt 2.0 support in .net. You are stuck to 1.0.
 
New Post
7/3/2012 3:27 PM
 

Ah, thanks. Ok, so I have had to go through and just use xslt 1.0 and xpath 1.0 methods then.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsNews FeedsNews FeedsXSL convert string to node?XSL convert string to node?


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.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  

What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out