![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: How do get the root node? >Thread Next - Re: How do get the root node? Re: How do get the root node?To: NULL Date: 3/10/2008 1:05:00 PM
tshad wrote:
> How do I also handle the "xmlns:dt" and the "dt:dt" to get the bin.base64 in
> the xslt file?
>
> <image>
> <binary xmlns:dt="urn:schemas-microsoft-com:datatypes"
> dt:dt="bin.base64" format="jpeg">
> </image>
dt:dt is an attribute of the binary element so you can access it like this:
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
xmlns:dt="urn:schemas-microsoft-com:datatypes">
<xsl:template match="/">
<xsl:value-of select="image/binary/@dt:dt"/>
</xsl:template>
</xsl:stylesheet>
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
