• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Using XSL pages in Design View?

Participant ,
May 05, 2020 May 05, 2020

Copy link to clipboard

Copied

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.

TOPICS
Preview

Views

963

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 05, 2020 May 05, 2020

Copy link to clipboard

Copied

Please see https://helpx.adobe.com/au/dreamweaver/using/xml-xslt.html

Wappler, the only real Dreamweaver alternative.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 05, 2020 May 05, 2020

Copy link to clipboard

Copied

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>

 

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 05, 2020 May 05, 2020

Copy link to clipboard

Copied

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

Wappler, the only real Dreamweaver alternative.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 05, 2020 May 05, 2020

Copy link to clipboard

Copied

code view is the only option

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 05, 2020 May 05, 2020

Copy link to clipboard

Copied

LATEST

I know for sure that Dreamweaver cannnot parse server-side includes, etc without a local testing server.  And  as you can see from my screenshot, Dreamweaver has no support for a JAVA server model.  

 

Advanced, Testing Server ModelAdvanced, Testing Server Model

 

So this isn't going to happen.  Sorry.

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines