Jirka Kosek wrote:
Dave Pawson wrote:
Could I request a (negative) addition to the schema please.

    <define name="db._any">
      <a:documentation>Any element from almost any
namespace</a:documentation>
      <element>

        <anyName>
          <except>
            <nsName/>
            <nsName ns="http://www.w3.org/1999/xhtml"/>
        <!-- DP Added for litprog-->
        <nsName ns="http://nwalsh.com/xmlns/litprog/fragment"/>
          </except>
        </anyName>

Unfortunately you hit one of the very few limits of RELAX NG. You can
not use general patterns inside <anyName>, so it is not possible to add
new excluded namespace simply by combining new namespace name with an
existing pattern for excluded namespaces. You have to redefine whole
pattern for db._any.

Yes, that was the request Jirka.




regards

--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to