Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

partial xsd

1 view
Skip to first unread message

Peter Laman

unread,
Nov 16, 2011, 4:37:01 AM11/16/11
to
I'm developing an XML based template, which has a free format, apart
from a well defined set of elements that have special meanings.
Something like this:

<template xmlns:tpl="urn:template-elements">
<someElement>
<tpl:placeholder id="plh1"/>
</someElement>
</template>

The elements in the 'tpl' namespace must conform to the set of
supported template elements, the rest of the document is free, or may
be defined by some external xsd, depending on the specific purpose of
the document. The question is, how can I define the 'tpl' elements in
an xsd, without affecting the rest of the document?
0 new messages