Re: Parsing emoty fields XML using perl
by Jenda Krynicky other posts by this author
May 14 2009 1:44PM messages near this date
view in the new Beta List Site
Parsing emoty fields XML using perl
|
RE: Parsing empty fields XML using perl
& XSLT From: Alok Sharma <sharmaalok@[...].com>
> I need some tips to parse some piece of xml using perl (both depicted below). I need to ex
tract the TOPNAME and MAPREF fields. Please suggest.
>
> Thanks,
> Alok
>
> The XML code is :
> <TEST:component xmlns:ip="IP" xmlns:nx="IP" xmlns:s="1.2" xmlns:xsi="nstance">
This looks rather strange. I guess it's not the root tag, is it?
There is a xmlns:TEST="..." attribute in a parent tag, is there?
There should be so that the TEST prefix is defined.
Not sure what module do you use (XML::DOM?) but you should have a
look at the namespace handling in its docs!
Jenda
===== Jenda@[...].cz === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Alok Sharma
Jenda Krynicky
Wayne Simmons
|