Subject: Re: [xsl] XPath 1.0 challenge: select all XML Schema element declarations with type string From: "liam liam@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Sun, 19 Jul 2015 20:26:03 -0000 |
Hi Folks,
The following XPath expression returns all XML Schema element declarations with @type equal to xs:string:
//xs:element[@type = 'xs:string']
However, that XPath assumes the schema file is written with a namespace prefix, like this:
<xs:element name="Test" type="xs:string" />
But the schema file could have been written like this:
<element name="Test" type="string" />
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XPath 1.0 challenge: select a, Costello, Roger L. c | Thread | Re: [xsl] XPath 1.0 challenge: sele, Ihe Onwuka ihe.onwuk |
[xsl] XPath 1.0 challenge: select a, Costello, Roger L. c | Date | Re: [xsl] XPath 1.0 challenge: sele, Ihe Onwuka ihe.onwuk |
Month |