RE: [BULK] - Question about getNodeName
by Ali Mesdaq other posts by this author
Jun 13 2006 1:35PM messages near this date
view in the new Beta List Site
Re: DTD to web form
|
Question about getNodeName
& XSLT Ignore this question. I just found out it has to do with the type of
node and can be filtered based on getNodeType != 3
-----Original Message-----
From: perl-xml-bounces@[...].com
[mailto:perl-xml-bounces@[...].com] On Behalf Of Mesdaq,
Ali
Sent: Tuesday, June 13, 2006 11:27 AM
To: perl-xml@[...].com
Subject: [BULK] - Question about getNodeName
When using DOM and getNodeName I get the name and "#text" returned. Why
is #text returned and how can I have only the name returned?
my $root = $doc-> getDocumentElement();
my @installinfo = $root-> getChildNodes();
foreach my $run (@installinfo)
{
print $run-> getNodeName(), "\n";
}
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
|