• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 633
  • Last Modified:

ASP.NET XSLT error prefix "abc:image" not defined

I'm trying to comsume a RSS feed that contains
<abc:image>http://www.abcdefg.com/abc.jpg</abc:image>
using ASP.NET <asp:xml> server control with no luck.

I suppose I could use C# to walk through the RSS feed, but I'd rather using the XSLT

Is it possible?  Is this a bug in ASP.NET control, or do I need to dig deeper and extend the XSLT in C#?

Thanks
0
winstein2005
Asked:
winstein2005
1 Solution
 
Geert BormansInformation ArchitectCommented:
There is no problem with dealing with this xml in your XSLT
but you need to define the prefix (as the error message correctly says)
in your XML you will have an attribute somewhere such as xmlns:abc="..."
with some string value in place of the "..."
copy that attribute in your stylesheet element and it should work
(you need to make an exact copy)

cheers

Geert
0
 
winstein2005Author Commented:
wow, that was easy.  I have stared at it for days...
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now