CDATA appearing but not rendering as html...

simple XML
<products>
    <product>
           <process>Preservation</process>
          <application>Crack Filling</application>
          <rank>100</rank>
          <productType>Viscosity Grade Asphalts</productType>
          <productName>AC-20 Asphalt Cement</productName>
          <suppliers><![CDATA[<a href="#">Indianapolis IN</a>,Des Moines IA,Laketon IN]]></suppliers>
          <pdf>AMI%202007%20AC-30,AC-20,AC-15,AC-10,AC-5,AC-25,AP-3,AP-5,OAF-1.pdf</pdf>
   </product>
</products>
in dataset
var ds1 = new Spry.Data.XMLDataSet("datasets/master.xml", "products/product", {sortOnLoad: "process", sortOrderOnLoad: "ascending"});
ds1.setColumnType("suppliers", "html");
coming out in a repeat table
<tr spry:repeat="ds1" spry:odd="blue">
        <td>{process}</td>
        <td><a href="{pdf}">{productName}</a></td>
        <td>{application}</td>
        <td>{suppliers}</td>
</tr>
ISSUE
The {suppliers} info appears but none of it is rendered out as HTML. Isn't the columnType="html" suppose to eliminate this issue? From reading the board it seems that  people are talking about varying issues with different versions of SPRY. Any insight on what I should be doing different here? I have // xpath.js - version 0.7 - Spry Pre-Release 1.6.1

found, the issue - there was a section further down the XSLT file that needed the disable-output-escaping adding to (below is the original section) - once updated it worked like a charm - thanks
<xsl:template name="_LFtoBRloop">
    <xsl:param name="input" />
    <xsl:variable name="beforeText" select="substring-before($input, '&#xA;')" />
    <xsl:choose>
      <xsl:when test="string-length($beforeText) = 0 and substring($input, 1, 1) != '&#xA;'">
        <xsl:value-of select="$input" />
      </xsl:when>
      <xsl:otherwise>
        <xsl:value-of select="$beforeText" />
        <br />
        <xsl:call-template name="_LFtoBRloop">
          <xsl:with-param name="input" select="substring($input, string-length($beforeText)+2)" />
        </xsl:call-template>
      </xsl:otherwise>
    </xsl:choose>
  </xsl:template>

Similar Messages

  • BCS list data not rendering as HTML

    I have a Business Data List webpart in Sharepoint Online (2013) which pulls data from a BCS List. This data contains HTML which is not rendering as HTML but the HTML text.
    I've modified the data to HTML format the data, no joy (example: &lt; img src="/)
    I've modified the data to spit out the native html, no joy (example: <img src="/)
    I've modified the XSLT of the webpart using the Data View Properties (when editing the webpart in Sharepoint) to output the text from the list as below, which didn't work:
    <xsl:value-of select="@ArticleBody" disable-output-escaping="yes" ddwrt:nbsp-preserve="yes"/>
    and also this hasn't worked:
    <xsl:value-of select="@ArticleBody" disable-output-escaping="yes"/>
    I'm now at a loss as to how I can get the data to show with the html text being rendered as actual HTML on page

    found, the issue - there was a section further down the XSLT file that needed the disable-output-escaping adding to (below is the original section) - once updated it worked like a charm - thanks
    <xsl:template name="_LFtoBRloop">
        <xsl:param name="input" />
        <xsl:variable name="beforeText" select="substring-before($input, '&#xA;')" />
        <xsl:choose>
          <xsl:when test="string-length($beforeText) = 0 and substring($input, 1, 1) != '&#xA;'">
            <xsl:value-of select="$input" />
          </xsl:when>
          <xsl:otherwise>
            <xsl:value-of select="$beforeText" />
            <br />
            <xsl:call-template name="_LFtoBRloop">
              <xsl:with-param name="input" select="substring($input, string-length($beforeText)+2)" />
            </xsl:call-template>
          </xsl:otherwise>
        </xsl:choose>
      </xsl:template>

  • Charging icon appears but not recognized by computer  help!!!

    Charging icon appears but not recognized by computer and yes i have waited 30 minutes. That what the manuals said.
    Then after a while the icon dissapers and the apple loggo thing appears and i have tried to turn it on but it won't just do!!!!.And i have like a month letting my ipod connect to the computer via USB but it wont charge =S...
    What's going on???
    HELP!!!!

    Have you tried a different cable?
    This is the iTunes Mac Discussions area - you can also post in the iPod Discussions as this is an iPod question more than an iTunes question.
    Go here http://discussions.apple.com/category.jspa?categoryID=146 for iPod discussions.
    MJ

  • I have deleted my iCloud app from my iPad and cannot get it back.  I've reset the home screen, everything else appears but not that

    Not sure if I had to submit my question:
    I have deleted the iCloud app from my iPad and cannot get it back.  I've reset the home screen, everything else appears but not that

    There isn't an iCloud app, I'm not sure what it is that you have deleted, but it isn't iCloud.

  • I can not get Firefox to play music backgrounds on pages in browsers it works in IE and other browsers but not firefox, what HTML or Jave script do I need too use to make them work?

    I'm having a problem with firefox playing background music on some sites, it works with IE and other browsers but not with fire fox, what html or java script do I need to add to the pages so that they play the music?
    I develop my pages in Front Page and I know that the music only works in IE, so if someone can tell me how to correct this problem as it is important as I use fire fox as my main browser.
    I thank you in advance

    If a website uses BGSOUND then it will only work in IE.
    BGSOUND is not compatible with other browsers like Firefox.
    * http://kb.mozillazine.org/Background_music_does_not_play

  • Hindi fonts not rendering in html pages

    Hindi fonts not rendering in when html pages are run except the mangal and devnagri font.
    Is that a bug or a problem which i am not able to tackle.
    Mozilla browser shows error in console that (font download failed or The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range.
    downloadable font: download failed (font-family: "Kruti Dev 010" style:normal weight:normal stretch:normal src index:0): status=2147500037
    source: file:///D:/epub/filename/OEBPS/Fonts/k010.otf @ file:///D:/epub/filename/OEBPS/Styles/style.css).
    Please reply soon.
    Thanks.

    Download and install hindi font from [http://hindi-fonts.com Hindi Fonts] .

  • I can't read or type proper Arabic words on word, the letters appear but not the word what should I do?

    Whenever I recieve a document with Arabic content, or try to type in Arabic, the letters appear but don't form a word.. how can I fix this?

    It sounds like you might be using MS Word for Mac.  This app has never supported connected Arabic.  Instead you need to use Mellel (the best), TextEdit, Pages 5, Nisus Writer, or OpenOffice.
    Please let us know more details if you have any problem typing here, or in TextEdit, or Mail, etc.  Use the camera icon to post a screenshot what you are seeing.

  • Image not rendering for html signature

    I've created a CSS signature for my Mail signature (found at http://allforces.com/2006/04/14/css-signatures/) But no matter what I do the image (my logo) won't appear in the message. it's as if it can't find it on the machine. But when I open the file in Safari to create a webarchive, the image is rendering there. But when I save that webarchive and replace the signature file the image doesn't appear in the signature.
    Anyone have any ideas?

    ok I tried the instructions in that link and you are right, it is broken but it worked for me in one situation. If I create an html file using locally stored images and then convert it to a signature as outlined in this link it shows up correctly in the signature window in Mail prefs but the images don't show inside the message when i actually try to use the signature. Bummer.
    However, when I made an html file using images stored remotely on a webserver, the effect was the opposite! The pictures didn't show in Mail prefs but they did work correctly in Mail composition window and on the recepient end. Very weird and certainly a bug but it's a semi workaround I guess.

  • Have a new MacBook Pro 15" retina. After login to my I tunes account I can't get it to download my apps library. A few have appeared but not all. Music is ok . Any ideas to help ?

    New MacBook Pro 15" retina. Can't get I tunes to download my already purchased apps into the MacBook pro's I tunes apps library. Music appears ok

    Ok guys thanks......have tried to download purchases from App sotor, but only shows purchases I have made of the macbook since I have had it, not he 100 plus apps that I have purchases in with Iphone, Ipad and prevoius (windows) laptop. Any suggestions appreciated. Thanks

  • Image (Co. Logo) in Template header appears but not in Topic when viewing a topic which is attached to the Template

    I have an image (Co. logo) placed in the header of a
    template. Topics are attached to the template. I also have a
    separate page that has hyperlinks to the the Topics in the several
    books I have in the project.
    When I generate (WebHelp) project and view the output, here
    is what I see:
    If I open any topic by directly going to a book and then
    clicking on the topic, then I see the Co. Logo/image it is supposed
    to be pulling from the Template. However, if I view the same Topic
    by accessing it from a navigation page in which all the Topics are
    hyperlinked then the top header does not show.
    I am bit preplexed with these two separate displays of the
    same topic. One showing the image in the header and the other not.
    Any assistance would be greatly appreciated. Thanks.

    Only you will know for sure what you are dealing with, but I do not see the same complete url code in the header of the page you say has a problem.  I only see the page filename linked (not http:///www...,  just home.html).  It may be a case of those pages not using the same template.

  • My Fullbrowser Portefolio Website work in SWF but not work in HTML

    Hi people
    First of all I am not very good in English language.
    I created my portfolio website in flash as3, with javascript (SWFAddress and SWFObject), with contact form with PHP, and XML Gallery.
    When uploading all the files into the correct folders for the server, the first times I view the site in browser it works correctly, the browser reads the HTML without any problems.
    However I tested it on firefox, safari, ie, google chrome, and it just did not work in google chrome, so I tried to solve the problem, beginning to see where the error was in the HTML file.
    I copied the original file, because that original file I knew it was working properly in other browsers, and started to make changes. I managed to get google chrome to open the HTML correctly but then did not work in firefox and safari.
    So I decided to eliminate this html file and continue with the original file. I'll test again and something happen! The file browser can't read XML, everything else works correctly, alltransitions are correct, the animations are correct.
    I try with the SWF and it opens the XML Gallery, I try with the HTML and it does not open.
    I don't know what to do, can you guys help me?
    Thanks!

    If the swf file is in a different folder than the html file, then it is might be a problem with targeting the XML file in the swf.  When you place an swf file in an html page, anything that swf tries to load has to be targeted as if the swf file is in the same folder as the html.  It does not have to live in that same folder, but it has to act as if it does.

  • Code works in old Joomla but not in plain HTML

    Having trouble with playing a SWF movie on our test site as
    we are moving to a different environment.
    On the main site, in a Joomla environment, this works <
    http://www.fumcmaumelle.org/component/option,com_wrapper/Itemid,43/>
    But the same codebase in Expression Web HTML shows the movie
    buffering but won't play <
    http://www.fumcmmmedia.org/testing_123.html>
    Attaching the relevant code at the bottom of this note.
    Any thoughts/hints? Is there possibily something installed in
    the Joomla environment that I can't see (don't have control over
    it, which is why the new environment being created)?
    thanks for any assistance, this is driving me nuts and we
    have like 10 movies to post.
    LJ

    i am having a similair issue but i am new to adobe flash and
    i cant get it to work when i use a code on a different site

  • Spotlight appears but not let me type

    Hi!
    Sometimes I hit CMD+Space and Spotlight searchfield appears with a blinking cursor. But whenever I start to type, I type in the application I had recently open.
    I'm not able to click into the Spotlight searchfield (it doesn't let me - when I click - nothing happens).
    So Spotlight is useless for me.
    After a reboot it works again for some time .. then it stops with the same behaviour.
    Please Help!
    CoderGuy

    Boot in Safe Mode
    Then go to ~/Library/Preferences
    Move the com.apple.loginwindow.plist file from the Preferences folder to the Trash.
    Now go to the Apple menu > Restart.
    Please tell us which Mac OS X you have installed when you post for help. Thank you...

  • Effects applying but not rendering

    Hello fellow editors,
    I recently starting having trouble with effects in FCP 6.0.3. I'm applying them to clips, they're appearing in the "filters" tab where I can tweak the parameters - but nothing actually happens to the video. For example, applying a brightness/contrast filter and tweaking it does absolutely nothing to the brightness and contrast in the viewfinder, even when I render it or export the video.
    This has never happened to me before...I greatly appreciate your helping me fix this problem.
    miriam

    Check Studio's suggestion first, but also confirm for us exactly how you're applying the effects.
    If you've used them before, you're probably doing it correctly, but if not done correctly, you'll not see the results, as you're experiencing.
    K

  • Safari bizarre bug: web page loading but not rendering

    Discovered a very bizarre behavior in Safari 5.1 (OSX 10.6.8) in which, after logging in to a secure internet banking site, the subsequent page loads into the browser (address bar updates new url and source code reflects new page), but the screen fails to redraw the new page. The bizarre thing is that the previous page, which is still visible, is not functional, the links and navigation for the new page are, however. So I can continue navigating through the site blindly by finding links with the mouse hover state, all while the original log in screen still appears in the window. Cannot reproduce this on any other browsers, including Safari 5.0.6
    Anyone have any insights or experience with this kind of behavior?

    Write down the password to the banking site. Enable guest logins and log in as Guest. Launch Safari and test. Same problem? After testing, log out of the guest account and disable it if you wish.
    Mac OS X 10.6 Help: Creating a guest user account

Maybe you are looking for

  • Unable to sftp

    Hi I have installed the following Oopen ssh packages openssh-4.5p1.tar.gz zlib-1.2.3-sol9-sparc-local.gz tcp_wrappers-7.6-sol9-sparc-local.gz egd-0.8-sol9-sparc-local.gz openssl-0.9.8d-sol9-sparc-local.gz prngd-0.9.25-sol9-sparc-local.gz perl-5.8.7-s

  • Importin business systems

    Hi, while importing business systems in  ID I am unable to see the business systems in pop up window for this what we should do? hw many alternates are available? Regards, Nani.

  • Cproject problems with accounting settings

    Hi all, *I am not sure if someone can help me.* *I am using cProjects suite 4.5, when I create a project ( in cproject) error message 'The settings for accounting integration contain errors' Message no. DPR_FIN_GECCO004 appears and the accounting tab

  • New playlist not loading music.......

    Looks like songs are loading into my old playlist but new playlist and and songs in them aren't. What happened and how to fix it? Thanks for any help.

  • Installation Pending

    I have windows Vista and IE8.  Long story short, I had Adobe Reader 10x installed, went to uninstall then tried to reinstall and am now getting Installation Pending after the Install Manger has downloaded and installed.  I did a reset on IE8, reboote