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: RE: What's So Great about SAX? (ie. Future Indecisions)
by Eric Bohlman other posts by this author
Oct 9 2002 4:26AM messages near this date
view in the new Beta List Site
Re: What's So Great about SAX? (ie. Future Indecisions) | Re: What's So Great about SAX? (ie. Future Indecisions)
10/8/02 3:39:09 PM, "Grant McLean" <gmclean@[...].biz>  wrote:

> Can you give an example of the 'QNames in content' phenomenon?
> (I'm not trying to propose a fix, I'd just like to understand the
> problem better).

<xsl:value-of select="article/dc:date"/> 

That's the most common sort of case: a QName appears in an XPath expression in the content o
f an 
attribute or text node.  The namespace prefix ("dc" in this case) is "hard-wired" into the 
expression, and it won't match date nodes that don't have a "dc" prefix even if they're defi
nitely 
in the Dublin Core namespace by defaulting or another prefix.



_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Grant McLean
Robin Berjon
Eric Bohlman
Robin Berjon

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