[Subversion] / PEAK / src / peak / web / sitemap-schema.ini  

View of /PEAK/src/peak/web/sitemap-schema.ini

Parent Directory | Revision Log
Revision: 1889 - (download)
Fri Oct 22 20:25:15 2004 UTC (19 years, 6 months ago) by pje
File size: 801 byte(s)
Added '<allow attributes="attr1,attr2,...">' element to sitemap parser.
# The XML processing configuration for peak.web.templates

[Import on Demand]
sm = "peak.web.sitemaps"
SOX = "peak.util.SOX"

# This is a strict schema, so forbid any elements or attributes
# that aren't otherwise defined

[XML Elements for *]
* = SOX.invalidElement

[XML Attributes for *]
* = SOX.invalidAttribute

[peak.config]
# But the default XML namespace will be our schema
default_xml_namespace = "mid:pw-sitemap@peak-dev.org"

# Okay, now the sitemap elements

[XML Elements for mid:pw-sitemap@peak-dev.org]
location  = sm.defineLocation
import    = sm.defineImport
container = sm.defineContainer
offer     = sm.defineOffer
require   = sm.defineRequire
content   = sm.defineContent
view      = sm.defineView
allow     = sm.defineAllow


[peak.config.xml_functions]
start = sm.setupDocument


cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help