On 28.11.2012 13:45, Karl Fritsche wrote:
> but the section 6.2. talks about external rules. In this case you have
> to add the prefix, i agree. But in the XHTML case the rules are inside
> of the XHTML and therefor the default namespace from the XML should
> taken into account.
No, default namespace has no effect on embeded XPath expressions, you
must use prefix in order to access elements that are in a namespace.
Jirka
--
------------------------------------------------------------------
Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz
------------------------------------------------------------------
Professional XML consulting and training services
DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep.
------------------------------------------------------------------
Bringing you XML Prague conference http://xmlprague.cz
------------------------------------------------------------------