Next in thread → Next in month →

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

From
David RR Webber - XMLGlobal <>
Date
2001-09-08T14:34:41+00:00
ID
Thread
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.
Next in thread → Next in month →