simon
On Thursday, March 27, 2003, at 11:35 PM, Daisuke Maki wrote:
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="test2.xsl" ?>
<dummy xmlns:dyn="http://exslt.org/dynamic"><rngform xmlns="http://simonwoodside.com/rng"><title>RNG Form</title></rngform></dummy>
I'm going to take a wild guess and say that your problem might be because you use the default xml namespace in the <rngform /> tag.
AFAIK, XML::LibXML doesn't deal with default namespaces elegantly...
use XML::LibXML; my $parser = XML::LibXML->new(); my $xml = $parser->parse_string( <<EOM ); <?xml version="1.0" encoding="iso-8859-1"?> <foo xmlns="urn:bar"> <value>FOO!</value> </foo> EOM
# you'd expect "FOO!", but... print "VALUE: ", $xml->findvalue( '/foo/value' ), "\n";
XML::LibXML v1.54_3 and libxml2-2.4.26
Try with an explicity namespace. If that works, AxKit isn't broken. XML::LibXML is.
--d
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--
anti-spam: do not post this address publicly
www.simonwoodside.com -- 99% Devil, 1% Angel
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
