Re: [xsl] XSLTC and namespaces

Subject: Re: [xsl] XSLTC and namespaces
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Wed, 10 Jul 2002 09:31:37 +0100
Hi Irene,

> I am converting an XSLT application (which I wrote) to XSLTC. The
> application works fine in XSLT.
>
> I have a stylesheet and three xml files. The stylesheet accepts the
> second two xml files as params. Under XSLTC the stylesheet converts
> the two (param) xml files happily but does not appear to recognise
> the main xml file. They all use namespaces.
>
> In the stylesheet I can get it to write out the main xml file after
> the <xsl:template match="/"> by use <xsl:value-of select="."/> but I
> cannot access parts of the tree by any form of xpath. I have tried
> every combination of namespace/no namespace/ slash/dot etc and I
> cannot find the combination that works!

I would have thought that if the application works fine with a normal
XSLT processor then it should work fine with XSLTC; otherwise, it's a
bug in XSLTC. Perhaps you should report it as such and see what the
developers say...

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread