On Monday, 20. January 2003 17:00, Alex Sergeyev wrote:

> I'm again with a problem.
>
> When I work with XSL stylesheet and xml:lang attribute everything is ok.
> But when I added <?xml-stylesheet href="NULL"    
> type="application/x-xsp"?> to work with Util.pm taglib and look in 'trace'
> files - all "xml:" prefixes was lost.
>
> Also, same behavior when I setted
> xmlns:xml='http://www.w3.org/XML/1998/namespace'
>
> Any advices?

Other than a generic "There be Dragons" regarding XSP, not yet, sorry. 
Namespaces support in XSP has always had it's gotchas, and it seems you found 
another one. Unfortunately, it sounds like a nontrivial problem to me (wild 
guess, not having looked at XSP.pm). Here's a quick workaround:
If you don't have any other "lang" attributes, put an XSLT stylesheet after 
XSP which just matches all @lang's and replaces them with @xml:lang's.
If you do have, put a stylesheet before XSP, transforming all @xml:lang's into 
@foobarmyweirdanduniqueattribute's and another one after XSP which undoes 
that change. Dirty but works. Next time I visit XSP.pm I will see what I can 
do.

-- 
CU
  Joerg

PGP Public Key at http://ich.bin.kein.hoschi.de/~trouble/public_key.asc
PGP Key fingerprint = D34F 57C4 99D8 8F16 E16E  7779 CDDC 41A4 4C48 6F94


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to