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 ListXSL Parsing IssueXSL Parsing Issue
Previous
 
Next
New Post
9/10/2007 1:58 PM
 

I'm having an issues using a custom XSLT. During parsing some spacing is being removed.

If I put this in my XSLT:

<div>Books and items by <xsl:value-of select="udt:FirstName" disable-output-escaping="yes" /> <xsl:value-of select="udt:LastName" disable-output-escaping="yes" />:</div>

Notice the space between the FirstName value and the LastName value.

When the page renders the space is gone. Also when I go back to edit the XSLT the space is also gone.

What's happening.

I also tried replacing the space with &nbsp; and I get the following error:

XSL Tranformation failed. ...
Error Description:Reference to undeclared entity 'nbsp'...

Again, what's going on? Aren't these legal moves? If not what should I be doing.

Also FYI. After this error the XSLT is not recoverable. Luckily I had the code in my clipboard. Please UDT team look into this.

Thanks

 
New Post
9/10/2007 2:20 PM
 

Try [ ]  (it is also inside the drop down as "hard space")

 
New Post
9/10/2007 2:45 PM
 

Ok. I tried the [ ]. But all I got was [ ] in the output. Then I realized that the [ ] characters needed to go into the HTML portion to get parsed into the XSLT. Once that was done I saw that it was replaced by &#160; so I used that where I needed it in the XSLT.

So this brings me back to my other issue. After the error I got while trying out &nbsp; in the XSL my content in the HTML textbox was wiped out and only the content in the XSLT textbox remained. So right now I have lost the ability to edit in the HTML textbox unless I want to recreate the HTML that I sued to create the XSLT.

Also, I am seeing that there is no way to edit Table attributes when you use the Table layout of the HTML design in the XSLT editor. If I edit the XSLT manually it will be overwritten the next time I generate from the HTML. This also makes the editor hard to work with. Just some point to improve a great module.

Thanks

 
New Post
9/10/2007 3:24 PM
 

I should have mentioned the &#160; entity. &nbsp; is really unkown to XSL, though you can use it inside the HTML, it should be synonym to [ ].

If you have any idea how to merge your changes inside the XSLT with fresh generated code, I would really love that also for my own work with UDT.

Editing table attributes to me sounds reasonable to me, I think this could be managed. And we also need an option to alternate the background for the table rows, don't we?

Thank you for your kind feedback.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListXSL Parsing IssueXSL Parsing Issue


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