Re: [silva-dev] XSLT renderer wont work within Silva

"Jonathan Bowlas" <[email protected]> Fri, 25 Jan 2008 13:27:18 -0000
Newsgroups gmane.comp.web.zope.silva.general,gmane.comp.web.zope.silva.devel
Message-ID <00e401c85f56$02e530e0$56ac2e52@bowlas>
Cheers Eric,

Yeah I noticed that but I didn't think this would be the cause of my problem
so it was a low priority for now.

J

-----Original Message-----
From: eric casteleijn [mailto:[email protected]] 
Sent: 25 January 2008 13:27
To: [email protected]
Cc: silva-general-IAPFreCvJWM6s/[email protected]; 'silva-developer'
Subject: Re: [silva-dev] XSLT renderer wont work within Silva

Jonathan Bowlas wrote:
> Hi All,
> 
> I've created an XSLT renderer for a silva newsitem which works perfectly
> when I run it though an external XSLT IDE using an xml export of a news
> article but when I put it into Zope and apply it to a news article in
Silva
> it doesn't want to match the templates.
> 
> Could the xml generated by the export differ from the objects ParsedXML,
or
> perhaps the object we're trying to render doesn't have any XML? Is there
any
> way I can view the actual XML of a news article without using the xml
export
> feature?
> 
> I've attached both the xslt and the exported xml doc I've been using to
> test. 
> 
> Any help would be greatly appreciated.

I will try and have a look when I get some time (not promising anything, 
sorry.) one thing I notice, which is probably *not* causing your 
problem, and may just be caused by your mail client: the xml claims to 
be utf-8, but strange characters show up for me, in thunderbird, which 
usually does an ok job with that encoding, leading me to believe it has 
actually been encoded as something else, most likely the dreaded iso 
latin 1 or one of its brethren.

eric