Hi, you'll need to give a level attribute:
<point level="1">A</point> <point level="2">A.1</point> Johan On Thursday 24 October 2002 20:05, Andreas J. Koenig wrote: > I have some XML that breaks axpoint with this error message: > > Can't call method "get_text_pos" on an undefined value at > /usr/local/perl-5.8.0-threads/lib/site_perl/5.8.0/XML/Handler/AxPoint.pm > line 1551. > > The XML contains nested <point> elements: > > <?xml version="1.0"?> > <slideshow> > <title>NAME</title> > <metadata> > <speaker>Foo</speaker> > <email>foo@bar</email> > </metadata> > <slide> > <title>DESCRIPTION</title> > <point>panic: do_trans > <point>(P) The internal do_trans() routine was called with > invalid operational data. > </point> > </point> > </slide> > </slideshow> > > If I remove the inner <point>, then axpoint converts to PDF fine. I'm > not sure if nested <point> elements are allowed. If not, then > pod2axpoint.xsl from Pod-SAX-0.11 is probably to blame? > > The POD I tried to convert was perldiag.pod and Pod::SAX converted the > above paragraph to (modulo formatting): > > <listitem>panic: do_trans > <para>(P) The internal do_trans() routine was called with invalid > operational data. </para> > </listitem> > > So where's the bug? > > Thanks, -- _______________________________________________________________________ Johan Van den Brande <[EMAIL PROTECTED]> http://www.tektonica.com http://www.vandenbrande.com ....................................................................... "Besides, interesting things happen along borders - transitions - not in the middle where everything is the same." Neal Stephenson - snow crash ....................................................................... CB16E48E Johan Van den Brande <[EMAIL PROTECTED]> Fingerprint = D53E 9613 A5C6 C83B EB35 CDB4 D314 4601 CB16 E48E --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
