Re: What's So Great about SAX? (ie. Future Indecisions)
by Robin Berjon other posts by this author
Oct 9 2002 8:36AM messages near this date
view in the new Beta List Site
Re: RE: What's So Great about SAX? (ie. Future Indecisions)
|
nest a page in xml
Eric Bohlman wrote:
> <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
of 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 de
finitely
> in the Dublin Core namespace by defaulting or another prefix.
It's only hardwired if the dc prefix hasn't been mapped to a namespace
in your XSLT sheet. Otherwise it'll match date elements in the Dublin
Core namespace, irrespective of their prefix.
--
Robin Berjon <robin.berjon@[...].fr>
Research Engineer, Expway
7FC0 6F5F D864 EFB8 08CE 8E74 58E6 D5DB 4889 2488
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Grant McLean
Robin Berjon
Eric Bohlman
Robin Berjon
|