Jump to content

DanielShillock

Members
  • Posts

    16
  • Joined

  • Last visited

DanielShillock's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Hi everyone, I currently have a simple markup which mostly presents HTML. Below is a snippet of that <li>Make this <b>Bold</b></li> I can of course use <xsl:copy-of> to ensure that the <b> tag is passed through and is automatically displayed as bold, however I have a problem. I am using another XSL which checks the markup against a repository of keywords or phrases and if they exist, links are created. Below is my XSL <xsl:template name="List" match="li"> <li> <xsl:call-template name="markup"> <xsl:with-param name="text" select="."/> <xsl:with-param name="phrases" select="document('../../documents/main/keywords.xml')/keywords/keyword"/> <xsl:with-param name="first-only" select="false()"/> </xsl:call-template> </li> </xsl:template> This method prevents any child tags being passed through, however I am unsure as to how I can get around this. Any help is greatly appreciated!Dan
×
×
  • Create New...