Re: how can I get the attribute names?

Vaclav Barta <[email protected]>
Newsgroups gmane.comp.lang.perl.xml
Message-ID <[email protected]>
Hi,

On Thursday 09 July 2009 16:06:02 xu zhou wrote:
>  Suppose I have "<link rel='self','href'='www.newsmth.net'>"  and I do not
> even know the attribute names "ref/href", how can I get all the attribute
> information using XML::LibXML?
> I have read the document, only found method getAttrbute("name") which need
> the attribute name.
The attributes method of XML::LibXML::Node returns the list of attributes (and 
namespace declarations), as described in POD.

	Bye
		Vasek
--
http://www.mangrove.cz/
Open Source integration



_______________________________________________
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.