Re: [xml-dev] RE : [xml-dev] Re: RE : [xml-dev] Text or tags choi ce with XSD

From
<>
To
John Cowan <>
Date
2003-09-10T09:32:48Z
ID
<>
Thread
Re: [xml-dev] RE : [xml-dev] Re: RE : [xml-dev] Text or tags choi ce with XSD
John Cowan <> writes:

> Klotz, Leigh scripsit:
>
>> One difference is that a simple XPath expression could refer to both kinds
>> of time, and an XSLT style sheet that merely copies the time could do so
>> without knowing about the two kinds of time.
>
> Question: does XPath/XSLT 2.0 grok substitution groups, such that
> you *could* write simply "//time" in a stylesheet and match either
> time-simple or time-complex elements?

Yes.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                      Half-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: 
		     URL: http://www.ltg.ed.ac.uk/~ht/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]