Highlighted

Using XSL pages in Design View?

Participant ,
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

790

Likes

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

Using XSL pages in Design View?

Participant ,
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

791

Likes

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
May 05, 2020 0
Adobe Community Professional ,
May 05, 2020

Copy link to clipboard

Copied

Likes

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
Reply
Loading...
May 05, 2020 0
Participant ,
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>

 

 

 

Likes

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
Reply
Loading...
May 05, 2020 0
Adobe Community Professional ,
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?


Ben

Likes

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
Reply
Loading...
May 05, 2020 0
Participant ,
May 05, 2020

Copy link to clipboard

Copied

code view is the only option

Likes

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
Reply
Loading...
May 05, 2020 0
Adobe Community Professional ,
May 05, 2020

Copy link to clipboard

Copied

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, ACP
Alt-Web Design & Publishing

Likes

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
Reply
Loading...
May 05, 2020 0