Skip to main content
Participant
January 11, 2007
Question

loosing design view on complex XSL templates

  • January 11, 2007
  • 1 reply
  • 326 views
Does dw not support complex stylesheets ?

As soon as I add more templates to an XSL file I loose the design mode.

Is there any workaround for this ?
This topic has been closed for replies.

1 reply

Inspiring
January 12, 2007
If you add extra <xsl:template> tags after the first xsl template:
<xsl:template match="specials"> </xsl:template>, then DW forces you into
Code view. The template tag is used by DW when you drag-and-drop value-of's
and loops. DW doesn't know where you want to drop them if there are multiple
template tags, so it forces you into Code view.

--
David Alcala
Adobe Product Support


joer33304Author
Participant
January 12, 2007
thanks for the clarification, however this is not a good approach ! I believe it would be easy to show those extra templates as additional design parts in design view. I do this now my using xsl include and moving those templates to extra files, DW could do that in one file !