On Wed, Jan 26, 2005 at 05:27:26PM +0100, Matthias Urban wrote: > The problem here is that key() doesn't match anything. But if I remove > "doc = xmlCopyDoc(doc,1);" from the application, i.e. the stylesheet is > applied to the original input document, key() works as expected.
please bugzilla this, after making sure you tested against the latest version of libxslt and libxml2. > Is this a bug or how do I copy a document without parsing the input file > again and without loosing the functionality of key()? Sounds like a bug. BTW parsing a file from scratch is faster than copying an existing doc for various/complex reasons, uses more ram too this should be fixed at some point but it's not precisely trivial. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ _______________________________________________ xslt mailing list, project page http://xmlsoft.org/XSLT/ [email protected] http://mail.gnome.org/mailman/listinfo/xslt
