ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-xml
perl-xml
Re: XPath - save a file
by Matt Sergeant other posts by this author
Jan 25 2001 10:41PM messages near this date
view in the new Beta List Site
Re: XPath - save a file | RE: XML::Parser::PerlSAX -- characters() callback?
On Thu, 25 Jan 2001, Romeo Juncu wrote:

>  Thanks people!
>  I'm trying what are you saying but I get namespaces at each element in my
>  file.

Yes that happens. Sorry. Consider it a feature :-)

If you don't want all the namespaces, you'll have to write a SAX writer
that supports namespaces (something we're all clamouring for), that can
detect these things. Then call to_sax() on the root node, with the
sax handler as the parameter.

-- 
<Matt/> 

    /||    ** Director and CTO **
   //||    **  AxKit.com Ltd   **  ** XML Application Serving **
  // ||    ** http://axkit.org **  ** XSLT, XPathScript, XSP  **
 // \\| // **     Personal Web Site: http://sergeant.org/     **
     \\//
     //\    //  \
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
http://listserv.ActiveState.com/mailman/listinfo/perl-xml
Thread:
Romeo Juncu
Kip Hampton
Matt Sergeant
Romeo Juncu
Matt Sergeant

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved