Re: Seperate site and document

Thanks for your response.
Of course this is a possibility, but not everyone is able to use PHP, JSP 
and so on.
On the contrary: Templating can help persons, that do not have webspace with 
PHP support to create a navigation without frames.

Maybe this could be a solution:

Extending the sdl-templating processing instruction:
  <?sdl-templating is-template="(false|true)" ignore="(xpath|empty)" ?>
 - The ignore "attribute" can be used to specify elements that shall be 
ignored when templating (via XPath)

So you can then:

1. Create a hyperlink with an ID to a sitemap for old UAs in the document
2. Write a XPath expression to select this ID and assign it to the ignore 
"attribute"

Example:
 <?sdl-templating is-template="false" ignore="//a[@id='sitemap']" ?>
 ....
 <a href="sitemap.xhtml" id="sitemap">Sitemap</a>

Regards
Luca Del Re

----- Original Message ----- 
From: "Tushar Kapila" <tushar.kapila@gmail.com>
To: "Luca Del Re" <info.ldr@arcor.de>
Sent: Sunday, January 20, 2008 5:21 AM
Subject: Re: Seperate site and document



Hello ,
I think its a great idea
About -
Disadvantage: Older browser receive a document without navigation...

- if a basic scripting language is used like JSP or PHP then we can check 
the version of the browser and send the template link or include the 
navigation mark up in the correct place. 

Received on Sunday, 20 January 2008 11:26:34 UTC