Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About mwunderlich

  • Rank
  1. Dear all, I have problems transforming an XML document using XSLT. The <!DOCTYPE XYZ> and the root element <XZY> are not output when I use the following syntax: <xsl:template match="/"> <xsl:copy> <xsl:apply-templates /> </xsl:copy></xsl:template> So, instead I tried the following: <xsl:template match="/"> <xsl:text disable-output-escaping="yes"> <!DOCTYPE XYZ> </xsl:text> <xsl:element name="XYZ"> <xsl:copy> <xsl:apply-templates /> </xsl:copy> </xsl:element></xsl:template> This gives me the root element alright, but still won't output the DOCTYPE. Any idea what to improve?Cheers, Martin
  2. Should have been "hyperlink", of course, instead of "hyerling"...
  3. Dear all, I am trying to retrieve hyperlinks from an XML-document (stored in an element called <link>) and insert them into the transformed HTML doc by using "xsl:value-of". However, the following won't work (and rightly so): <a href="<xsl:value-of select="link"/>" target="_blank"> Is there another possibility? I'd appreciate any help. All the best, M
  • Create New...