This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XSLTC and namespaces
- From: Jeni Tennison <jeni at jenitennison dot com>
- To: irene_hall at standardlife dot com
- Cc: XSL-List at lists dot mulberrytech dot com
- Date: Wed, 10 Jul 2002 09:31:37 +0100
- Subject: Re: [xsl] XSLTC and namespaces
- Organization: Jeni Tennison Consulting Ltd
- References: <OFC0C086CE.EC327ADB-ON80256BF1.003D13AD@internal.standardlife.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
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