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
|