Jump to content

dasjo

Members
  • Posts

    2
  • Joined

  • Last visited

dasjo's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. hello boen_robotthanks for your answer!what exactly do you mean by ?i tried to debug with XML SPY ... the interesting thing is, here I CAN access /rss/channel without a problem. so there must be some problem with my on-server xslt processor.i think it's something with encoding or maybe a namespace issue, but i don't know what the problem could be...-- edit ---getting the xslt processor version with http://www.mulberrytech.com/xsl/xsl-list/p...sor-version.xsl says --- edit ---i found out, that there were some line-length-exceedings in the xml file which caused the problem. when i remove those lines everything works fine. so my xslt processor can't handle too-long-lines...now - how to get rid of those too-long-lines in asp? this isn't an xslt issue any more, but maybe someone can give me a hint!?
  2. hello!i've written a xslt file to display content provided by a rss feed on an asp.net site. all worked fine, but since i changed the rss feed provider i can't get it to work.OLD RSS <?xml version="1.0" encoding="utf-8" standalone="yes" ?> <rss version="2.0" xmlns:cf="http://www.microsoft.com/schemas/rss/core/2005" xmlns:pbx="http://www.portalbuilder.org/schemas/sharepointlists"><channel> <pbx:ID>101b617e-15df-4ed2-98a7-56dfcb25f0c9</pbx:ID> <title>Announcements</title> <description>Use the Announcements list to post messages on the home page of your XSLT <?xml version="1.0" encoding="iso-8859-1"?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" /> <xsl:template match="/"> I CAN GET THIS<xsl:for-each select="*">I CAN'T GET THIS<h1>a</h1></xsl:for-each> </xsl:template></xsl:stylesheet> NEW RSS <?xml version="1.0" encoding="iso-8859-1" ?> <rss version="2.0"><channel> <title>New Subscription</title> <description>RSS Feed generated by U2U RSS Feeds For Microsoft SharePoint 2003.</description> <link>http://www.u2u.net/</link> when parsing this rss feed, i can only get "I CAN GET THIS", as described in the xslt file above.anything that tries to get deeper into the the xml tree, like /rss doesn't work.this doesn't make sense. the only thing i see as a difference are the encoding. the OLD RSS is utf-8 encoded, while the NEW RSS is iso-8859-1 encoded.hope, anyone can tell what i do wrong =)thanks a lot in advance,greetz from vienna, josef
×
×
  • Create New...