You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by waqas khalid <ge...@hotmail.com> on 2007/04/12 15:06:00 UTC

Problem in creating doctypes

Hi,

I am creating pages by using my own defined samples using following URL:

   http://lenya.apache.org/docs/1_2_x/how-to/custom_resourcetype.html

It works fine but it uses the default xslt created for document type xhtml. 
I have figured out the issue and have found that the doctype of the new page 
is xhtml but  in order to use my own defined xslt its doctype must be 
accordingly.

Does any one have an idea of it ?

Thanks,
Waqas

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: Problem in creating doctypes

Posted by Joern Nettingsmeier <ne...@folkwang-hochschule.de>.
hi waqas,

waqas khalid wrote:
> Hi,
> 
> I am creating pages by using my own defined samples using following URL:
> 
>   http://lenya.apache.org/docs/1_2_x/how-to/custom_resourcetype.html
> 
> It works fine but it uses the default xslt created for document type 
> xhtml. I have figured out the issue and have found that the doctype of 
> the new page is xhtml but  in order to use my own defined xslt its 
> doctype must be accordingly.
> 
> Does any one have an idea of it ?

sorry i can't help you there since i don't use lenya 1.2.

please post such questions to the user list - they are not development 
issues. most (all?) developers also read the users' list, so chances for 
helpful answers are just as good there.

best,

jörn




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: Problem in creating doctypes

Posted by waqas khalid <ge...@hotmail.com>.
Yes I did.

But i am unable to understand that instead of using myown defined doctype 
why xhtml is reterieved when i try to get it using 
page-envelope:document-type.
:(...

Thanks for your help.

regards,
Waqas


>From: Michael Wechner <mi...@wyona.com>
>Reply-To: dev@lenya.apache.org
>To: dev@lenya.apache.org
>Subject: Re: Problem in creating doctypes
>Date: Thu, 12 Apr 2007 15:21:34 +0200
>
>waqas khalid wrote:
>
>>Hi,
>>
>>I am creating pages by using my own defined samples using following URL:
>>
>>   http://lenya.apache.org/docs/1_2_x/how-to/custom_resourcetype.html
>>
>>It works fine but it uses the default xslt created for document type 
>>xhtml. I have figured out the issue and have found that the doctype of the 
>>new page is xhtml but  in order to use my own defined xslt its doctype 
>>must be accordingly.
>>
>>Does any one have an idea of it ?
>
>
>did you take a look at the link document type?
>
>links2xhtml.xsl
>
>and
>
>page2xhtml-links.xsl
>
>within the deault publication default/xslt
>
>HTH
>
>Michael
>
>>
>>Thanks,
>>Waqas
>>
>>_________________________________________________________________
>>Express yourself instantly with MSN Messenger! Download today it's FREE! 
>>http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
>>For additional commands, e-mail: dev-help@lenya.apache.org
>>
>>
>
>
>--
>Michael Wechner
>Wyona      -   Open Source Content Management   -    Apache Lenya
>http://www.wyona.com                      http://lenya.apache.org
>michael.wechner@wyona.com                        michi@apache.org
>+41 44 272 91 61
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
>For additional commands, e-mail: dev-help@lenya.apache.org
>

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: Problem in creating doctypes

Posted by Michael Wechner <mi...@wyona.com>.
waqas khalid wrote:

> Hi,
>
> I am creating pages by using my own defined samples using following URL:
>
>   http://lenya.apache.org/docs/1_2_x/how-to/custom_resourcetype.html
>
> It works fine but it uses the default xslt created for document type 
> xhtml. I have figured out the issue and have found that the doctype of 
> the new page is xhtml but  in order to use my own defined xslt its 
> doctype must be accordingly.
>
> Does any one have an idea of it ?


did you take a look at the link document type?

links2xhtml.xsl

and

page2xhtml-links.xsl

within the deault publication default/xslt

HTH

Michael

>
> Thanks,
> Waqas
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today it's 
> FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
>
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org
+41 44 272 91 61


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org