internet explorer - Creating conditional comments with XSLT? -


I want to create in XSLT.

But when I use it:

   

In a and , when it is presented, XSLT removes it from the output.

Is there any way to create conditional comments in XSLT

Just a & Lt; Xsl: comment & gt; Use the tag and include your comment inside the tag.

For example:

  & lt; Xsl: if test = "@ id = '1'" & gt; & Lt; XSL: Comment & gt; & Lt ;! [Cdata [[if IE]] gt; & Lt ;! [Andif]]] & gt; & Lt; / XSL: Comment & gt; & Lt; / XSL: If & gt;  

There is a great article on this topic.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -