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


The new way of thinking appeared by Mr. Michael Fitzgerald's suggestion.

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.

<grammar xmlns="http://relaxng.org/ns/structure/0.9">

  <x:param name="grammar" xmlns:x="urn:relaxng-extension"/>

  <element name="foo">
    <externalRef href="$grammar"/>
  </element>

</grammar>

In the processor which processes this, a parameter is set up as follows.

  relaxngParser.setParameter("grammar","http://sample.com/schema/bar.rng");

Thanks,

Koji YONEKURA
http://www.geocities.co.jp/SiliconValley-Bay/4639/vbrelaxng/vbrelaxng.html



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


Powered by eList eXpress LLC