Subject: Re: [xsl] Schema Exploration... From: Mark Diggory <mdiggory@xxxxxxxxxxxxxxxxx> Date: Fri, 19 Apr 2002 16:27:57 -0400 |
> You can have nested declarations -- an xs:element holding an anonymous > xs:complexType that contains xs:elements. > > You can also have xs:group definitions at the top level that hold > model groups. > > And xs:complexTypes themselves can contain > xs:complexContent/xs:restriction or xs:complexContent/xs:extension > elements, which then hold the content models. > > And the content model elements xs:choice/xs:sequence can be nested > inside each other. Plus there's xs:all. >
> If you're searching for element declarations or references in all > those places, and you're doing it multiple times, all in all it's a > lot easier to create a key: > > <xsl:key name="elements" match="xs:element" use="(@name | @ref)" /> > > Then you can just do: > > key('elements', $node_name) >
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Schema Exploration..., Jeni Tennison | Thread | Re: [xsl] Schema Exploration..., Jeni Tennison |
RE: [xsl] <xsl:for-each>, Michael Earls | Date | Re: [xsl] question with xalan, java, J.Pietschmann |
Month |