Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Please provide better XSL support - it is terrible

11 views
Skip to first unread message

Holge r

unread,
Oct 13, 2009, 2:02:19 PM10/13/09
to
When is Mozilla Foundation considering better xsl implementation? It
is hard to implement workarounds and sometimes still impossible.
Transformix is still not supporting the namespace axis xpath
expression. And also it seems impossible to implement other parser
like xalan or saxon. Is there any progress in the near future to fix
the bug in transformix or to allow native implementation of other
parser?

Does somebody know how I can build a workaround to address unbounded
namespace?

<xsl:value-of "*/@*[namespace-uri() = 'http://www.w3.org/2000/
xmlns/']"/> is not working.

Regards

Martin Honnen

unread,
Oct 14, 2009, 6:37:34 AM10/14/09
to
Holge r wrote:

> Does somebody know how I can build a workaround to address unbounded
> namespace?
>
> <xsl:value-of "*/@*[namespace-uri() = 'http://www.w3.org/2000/
> xmlns/']"/> is not working.

Can you explain in more detail what you want to achieve with that
expression?
How does your XML look? What is the output you want to achieve?

--

Martin Honnen
http://msmvps.com/blogs/martin_honnen/

mozguy

unread,
Nov 15, 2009, 12:04:36 AM11/15/09
to
Martin Honnen wrote:
> Holge r wrote:
>
>> Does somebody know how I can build a workaround to address unbounded
>> namespace?
>>
>> <xsl:value-of "*/@*[namespace-uri() = 'http://www.w3.org/2000/
>> xmlns/']"/> is not working.
>
> Can you explain in more detail what you want to achieve with that
> expression?
> How does your XML look? What is the output you want to achieve?
>
@ can only go inside [] as an Xpath filter expression

Holge r

unread,
Nov 29, 2009, 7:36:59 PM11/29/09
to
Hi

> @ can only go inside [] as an Xpath filter expression

thats not correct. Instead of @ you could also use tye long way of
atttribute:: and it is not required to be within []. The problem with
transformix. I can not use <xsl:copy-of select="*/namespace::*"/>.
this should copy all namespaces to the output. But transformix does
not support the namespace axis. In this way there is no chance to
access namespace attributes. Is there any chance that firefox dwv team
can fix it?

0 new messages