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: A whitespace issue in XML::LibXML
by Vaclav Barta other posts by this author
Jul 20 2007 11:54AM messages near this date
view in the new Beta List Site
Re: A whitespace issue in XML::LibXML | Re: A whitespace issue in XML::LibXML
& XSLT On Friday 20 July 2007 20:27, Birgit Kellner wrote:
>  Petr Pajas schrieb:
>  > First of all, why do you do that "by hand"? To get all text nodes
>  > from a subtree nicely concatenated, you can use e.g.
>  >
>  > $text = $node->findvalue('string(.)')
> 
>  I should have been more specific on that. I'm not interested in all text
>  nodes, but in text node children of the element <seg>, and in text node
seg/text()

>  children of the element <span> that can be contained within <seg>. <seg>
seg/span/text()

XPath may not be very perlish, but it's quite useful...

	Bye
		Vasek
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Birgit Kellner
Petr Pajas
Birgit Kellner
A. Pagaltzis
Vaclav Barta
Birgit Kellner
Richard E. Rathmann
Vaclav Barta
Petr Pajas
Vaclav Barta
Mark - BLS CTR Thomas

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved