Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: accessing xs:appinfo while transforming a Schema (xsd) [Thread Next] Re: accessing xs:appinfo while transforming a Schema (xsd)To: NULL Date: 11/7/2005 11:19:00 AM Martin Honnen <mahotrash@y...> wrote in news:OYz0j$f4FHA.2196@t...: > > > gilly3 wrote: > >> I'm transforming a schema file (xsd) and would like to get at the >> data contained in an xs:appinfo element. If I do this: >> >> <xsl:value-of select="xs:annotation/xs:appinfo/myData"/> >> >> I get nothing. > > But your stylesheet does not do what you want, you have > >> <td>xs:annotation/xs:appinfo/myData:</td> >> <td><xsl:value-of select="xs:appinfo/myData"/></td> > > where you want/need > <td>xs:annotation/xs:appinfo/myData:</td> > <td><xsl:value-of select="xs:annotation/xs:appinfo/myData"/></td> > Thanks... My mistake. Of course I didn't make that mistake in my real code, but fixing the mistake in my sample code helped me find the problem in my real code. It was a namespace issue. Which I still don't totally understand, but it works now so I'm not too worried about it. If you happen to know a good resource that explains the proper use of namespaces in xml, I'd love to have it. thanks -ivan. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
