OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

relax-ng-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: Question about grammarLocation


>It is the method of performing a setup of the value to the href attribute
>of <include> and <externalRef> so that xsl:param may be used.

There is a SOAP Envelope as an example which can use this. 

<grammar xmlns="http://relaxng.org/ns/structure/0.9"
         ns="http://www.w3.org/2001/06/soap-envelope">

  <x:param name="header-content" xmlns:x="urn:relaxng-extension"/>
  <x:param name="body-content" xmlns:x="urn:relaxng-extension"/>

  <element name="Envelope">
    <optional>
      <element name="Header">
        <externalRef href="$header-content"/>
      </element>
    </optional>
    <element name="Body">
      <externalRef href="$body-content"/>
    </element>
  </element>

</grammar>

Thanks,

Koji YONEKURA



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC