Skip to main content
Motoed-Work
Inspiring
May 5, 2020
Question

Using XSL pages in Design View?

  • May 5, 2020
  • 1 reply
  • 1390 views

I'm working on a site built in XSL pages. These pages transform on the server with server side XML and then are served to the browser. I have been constantly frustrated with using this site with DW, but giving it another shot.

 

Is it possible to work on design view with .xsl pages?   It seems the only option I have available is code view.

This topic has been closed for replies.

1 reply

BenPleysier
Community Expert
May 5, 2020
Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Motoed-Work
Inspiring
May 5, 2020

So, I've read that quite a few times.

In our site, all of the pages we have are XSLT fragments. Each page imports the site template which includes the header template at the top, the page body is that XSLT fragment, and then the common footer template.

 

Our pages are transformed on the server in Java and not a PHP or ASP page. 

Is it the fact that each of our pages (XSLT Fragment) do not start with a body or head tag that Dreamweaver isn't allowing this document to be viewed in design view?  (because those opening tags are in the included header template?)

 

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="templates/webpageTemplate.xsl" />

<xsl:output method="html" version="4.0" encoding="UTF-8" omit-xml-declaration="yes" indent="yes" />


<!-- <header> Section -->
<xsl:template name="pageHeader"></xsl:template>

<!-- <body> Section -->
<xsl:template name="pageBody">

 

[ page content goes here...]

 

</xsl:template>

 

 

 

BenPleysier
Community Expert
May 5, 2020

Design view is a remnant from the days of Macromedia and not very reliable. Have you tried Live view?

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!