Re: XSLT processing

Tod Harter <[email protected]>
Newsgroups gmane.comp.lang.perl.xml
Message-ID <[email protected]>
> Looks like the problem is not in the Perl script but rather in the
> XSLT. You should ask somewhere where XSLT is discussed.


I agree, and I also heartily second dumping XML::XSLT for XML::LibXSLT, its
MANY times faster and a better implementation in all respects.

That being said the problem may be with namespaces? It is a bit hard to
follow with all the large amount of XML in your message, but I don't see
where anything defines a default namespace for your XPath statements doing
the matching in the root template. You have an NS mapped to the prefix ns1
but your APPLY-TEMPLATES never refers to it or any other prefix.


> Or get rid of
> that messy, unreadable, undecipherable, undebuggable, everything-
> looks-exactly-the-same, overly-talkative nonsense and do the job
> using something sane.
>

XSLT is the right tool for the job. Nobody makes you use it if you don't
like it, but this list is here to help people with problems, not get on
their case because they don't use your favorite tool. At least suggest
something else if you know something better. Personally I have no problem
reading XSLT and when its appropriate its orders of magnitude better than
the alternatives.

-- 
The Wise adapts himself to the world. The Fool adapts the world to himself.
Therefore, all progress depends on the Fool.

_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.