OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Naive Question about NS 1.1

[ Lists Home | Date Index | Thread Index ]



Richard Tobin wrote:
> 
> ...
> But consider this, from a stylesheet:
> 
>   <xsl:template match="x:child">
> 
> The parser doesn't know that x:child is going to be interpreted as a
> QName; it can't distinguish it from something like:
> 
>   <db:read file="c:mydatabase">
> 
> Only the XSLT processor knows what the attribute means.

Since it knows that as soon as the element tag has been parsed, it could
well act on that knowledge and discard it. The same is true of element content.

>                                                 So the parser
> must (somehow or other) provide the XSLT processor with the list of
> bindings at each point in the document, and that's what some people
> don't like.

Is the problem with the local declarations? Or with those which are
imputed? And with expecting that they remain consistent and/or
expressive in the presence of mutation?

> 
> -- Richard
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS