List Info

Thread: Find Missing Column and Extra Column




Find Missing Column and Extra Column
country flaguser name
United States
2007-03-12 05:57:16
Hi All,

This XML file is 2 errors. My table is 3 columns. One is
extra column 
and another is missing one columne. How i will find those
error 
through perl script.

XML file 
------------ 
<table> 
<tgroup cols="3"> 
<colspec colnum="1"
colname="col1"/> 
<colspec colnum="2"
colname="col2"/> 
<colspec colnum="3"
colname="col3"/> 
<tbody> 
<row> 
<entry valign="top"
align="left"><p>nada</p></entry&
gt; 
<entry valign="top"
align="left"><p>nothing</p></ent
ry> 
<entry valign="top"
align="left"><p>nada.</p></entry
> 
<entry valign="top"
align="left"><p></p></entry> 
<!-- One Row Extra 
Here -->
</row> 
<row>
<entry valign="top" align="left"
namest="col1" 
nameend="col2"><p>centra</p></en
try>
<!-- One row is missing here -->
</row>
</tbody> 
</tgroup> 
</table> 

Thanks for any help.
Byomokesh





------------------------ Yahoo! Groups Sponsor
--------------------~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/4It09A/fOaOAA/yQLSAA/ndFolB/TM

------------------------------------------------------------
--------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/perl_advanced_programmmin
g/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/perl_advanced_program
mming/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:perl_advanced_programmming-digest@yahoogroups.com

   
mailto:perl_advanced_programmming-fullfeatured@yahoogroups.c
om

<*> To unsubscribe from this group, send an email to:
    perl_advanced_programmming-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )