Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: accessing xs:appinfo while transforming a Schema (xsd)

From: gilly3 <news@------------.--->
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.


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent