/[pub]/suikawiki/script/misc/plugins/xml.wp2
Suika

Contents of /suikawiki/script/misc/plugins/xml.wp2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Feb 8 08:49:48 2004 UTC (20 years, 8 months ago) by wakaba
Branch: MAIN
CVS Tags: suikawiki3-redirect, release-3-0-0, HEAD
Branch point for: paragraph-200404, helowiki, helowiki-2005
Error occurred while calculating annotation data.
New

1 #?SuikaWikiConfig/2.0
2
3 Plugin:
4 @Name: XML
5 @Description:
6 @@@: XML support
7 @@lang:en
8 @License: %%GPL%%
9 @Author:
10 @@Name:
11 @@@@: Wakaba
12 @@@lang:ja
13 @@@script:Latn
14 @@Mail[list]: w@suika.fam.cx
15 @Date.RCS:
16 $Date: 2004/01/16 07:54:22 $
17
18 FormattingRule:
19 @Category[list]: view
20 @Name: xml-declaration
21 @Description:
22 @@@: XML declaration
23 @@lang: en
24 @Parameter:
25 @@Name: downgrade-html
26 @@Type: boolean
27 @@Default: "0"
28 @@Description:
29 @@@@:
30 HTML downgrade mode. PIs are not outputed if User-Agent does not
31 support PIs (eg. Classic Mozilla).
32 @@lang: en
33 @Formatting:
34 __ATTRTEXT:%downgrade_html__;
35 if ($p->{downgrade_html}) {
36 return if $o->{wiki}->{var}->{client}->{downgrade}->{html_no_pi};
37 }
38 my $xml = $p->{-parent}->append_new_node
39 (type => '#pi',
40 local_name => 'xml');
41 $xml->set_attribute (version => '1.0');
42
43 ViewFragment:
44 @Name: ht--pre-element-content
45 @Order: -10000
46 @Description:
47 @@@: XML declaration
48 @@lang: en
49 @Formatting:
50 %xml-declaration (downgrade-html);
51 \

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24