Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - value-of attribute not working [Thread Next] Re: value-of attribute not workingTo: NULL Date: 5/3/2009 10:20:00 AM I'd try to debug by adding an <xsl:copy-of select="." /> instead of the place where you are applying templates that should cause the <xsl:template match="attachment"> to be called. -- Joe Fawcett (MVP - XML) http://joe.fawcett.name "Bret" <bretrouse@g...> wrote in message news:760c3d56-8dd4-47b1-a878-200c0826967a@l...... > here's my xml: > > <attachment name="foo.bmp" last-modified="Never" creator="????" > type="????" filespec="TTf9D4.tmp" sizebytes="384438" size="375K"/> > > and here's my xsl: > > <xsl:template match="attachment"> > <attachment isobsolete="0" ispatch="0" isprivate="0"> > <attachid>1</attachid> > <desc/> > <filename><xsl:value-of select="@name"/></filename> > <type>image/bmp</type> > <size><xsl:value-of select="@sizebytes"/></size> > <data encoding="base64"><xsl:value-of select="@filespec"/></data> > </attachment> > </xsl:template> > > but the output xml does not contain any of the attribute values i try > to get in the transform. any ideas? > | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
