Subject: RE: RE: Yahoo shopping feed, XSLT choking on xmlns
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 26 Aug 2005 15:36:03 +0100
|
What does the choking sound like through a stethoscope? Or to put it another
way, could you be more precise about the symptoms you are observing?
It might also be useful to show your best attempt at a stylesheet to handle
this - this will rapidly tell people where your misunderstanding lies.
Michael Kay
http://www.saxonica.com/
> -----Original Message-----
> From: Ian Ring [mailto:iring@xxxxxxxxxxx]
> Sent: 26 August 2005 15:25
> To: Ian Ring; xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE: Yahoo shopping feed, XSLT choking on xmlns
>
> Take a look at this XML feed:
> http://api.shopping.yahoo.com/ShoppingService/v1/productSearch
> ?results=5
> &appid=yahoodemo&query=cheese
>
> The <ResultSet> node has an attribute:
> xmlns="urn:yahoo:prods"
>
> XSL is choking on that attribute. If I remove it, my transformation
> proceeds fine. But - in the real world, I can't edit the
> incoming XML. I
> only have control over my XSL sheet.
>
> I've been trying for 3 days to make an XSLT that will transform that
> into HTML.
> I'm using Microsoft .NET, XSL version 1.0
>
> Can anyone help me?
> A little sample XSL code that gets past the <ResultSet> node
> is all I'll
> need
> ~ i
|