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

 


Help: OASIS Mailing Lists Help | MarkMail Help

relax-ng message

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


Subject: Re: Ruby in RELAX NG a:documentation (fwd)


Message text written by James Clark
>Imagine writing a GUI for 
editing RELAX NG schemas: how is it going to be able to display the 
comments in a useful way unless it knows what the subelements mean? <

James,

This is one of the strengths of XML!  The self-describing tags.

A generic Comment processor can easily parse this stuff so

<documentation>
       <CopyRight>foobar</Copyright>
       <FUG>more foo bar</FUG>
</documentation>

is displayed as  :

 CopyRight :  foobar 
 FUG:               more foo bar

etc.

It is only human readable stuff after all - not like its control
statements et al.   Generic editors like XMLSpy already handle
this handily - hsowing tag / content in edit mode.

Thanks, DW.


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


Powered by eList eXpress LLC