Re: XSLT enhancement requests

Subject: Re: XSLT enhancement requests
From: Francis Norton <francis@xxxxxxxxxxx>
Date: Thu, 21 Sep 2000 13:40:57 +0100

David Carlisle wrote:
> 
> > I second the motion that namespace-aware string functions be added for
> > attribute values and text content.
> 
> Which string functions do you require?
> I can see some possibilities for improving the handling xpath (and similar)
> expressions in text nodes, but I don't immediately see what features
> that you lack here?
> 
Take these two input documents:

schema_1.xsd -
<xsd:schema xmlns:xsd="http://www.w3.org/1999/XMLSchema";>
	<xsd:element name="swissBankAccountNo" type="xsd:string"/>
</xsd:schema>

schema_2.xsd -
<schema xmlns="http://www.w3.org/1999/XMLSchema";>
	<element name="luxembourgBankAccountNo" type="string"/>
</schema>

Say you're writing a stylesheet to document schemas (I am, in fact) -
how do you, in XSLT, pick up the fact that both elements have, in terms
of XML Schema semantics, the same value for their "type" attribute?

Francis.
-- 
Francis Norton.

why not?


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread