[Mono-list] mono-xmltool and relaxng compact include

Travis Staloch twostepted at yahoo.com
Thu Dec 13 18:13:40 EST 2007


Atsushi,

Oh yes, obviously need that too.  My mistake.  Here it is.

The simple.rnc I posted last message doesn't really make use of the contents of Strippable.rnc.  To fully test the include, we should make sure to use one of the objects defined in this file.  I've also posted a modified Simple.rnc below which does this.

Cheers,

Travis

Strippable.rnc
-------
strippableAttributes = (
  attribute strip {text}?, 
  attribute length {text}?, 
  attribute no_strip {text}?, 
  attribute start_pos {text}?, 
  attribute strip_after {text}?
)


Simple.rnc (modified)
------
include "Strippable.rnc"

element root {
  strippableAttributes,
  element child1 {text}* &
  element child2 {text}*
}




      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20071213/7b627466/attachment.html 


More information about the Mono-list mailing list