[Mono-list] Help needed with XSLT:

Miguel de Icaza miguel@ximian.com
18 Jan 2003 15:02:30 -0500


--=-m2YAIX2bOYqnhv2WoBFn
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hey guys,

   I posted this to the docs mailing list, but got no input so far. 
Anyone could help us with this?

Miguel

--=-m2YAIX2bOYqnhv2WoBFn
Content-Disposition: inline
Content-Description: Forwarded message - [Mono-docs-list] More work:
	monodoc browser.
Content-Type: message/rfc822

Return-Path: <mono-docs-list-admin@ximian.com>
Delivered-To: miguel@peabody.ximian.com
Received: (qmail 24627 invoked from network); 17 Jan 2003 03:22:21 -0000
Received: from trna.ximian.com (141.154.95.22) by peabody.ximian.com with
	SMTP; 17 Jan 2003 03:22:21 -0000
Received: from trna.ximian.com (localhost [127.0.0.1]) by trna.ximian.com
	(8.11.6/8.11.6) with ESMTP id h0H3MvJ27296; Thu, 16 Jan 2003 22:22:57 -0500
Received: from erandi.boston.ximian.com (dmz.ximian.com [141.154.95.1]) by
	trna.ximian.com (8.11.6/8.11.6) with ESMTP id h0H3MoJ27270; Thu, 16 Jan
	2003 22:22:50 -0500
Received: (from miguel@localhost) by erandi.boston.ximian.com
	(8.11.6/8.11.6) id h0H3M9Z06080; Thu, 16 Jan 2003 22:22:09 -0500
X-Authentication-Warning: erandi.boston.ximian.com: miguel set sender to
	miguel@ximian.com using -f
From: Miguel de Icaza <miguel@ximian.com>
To: Mono Docs <mono-docs-list@ximian.com>
Cc: duncan@ximian.com
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Organization: 
Message-Id: <1042773727.32741.918.camel@erandi.boston.ximian.com>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.2.0 
Date: 16 Jan 2003 22:22:09 -0500
Subject: [Mono-docs-list] More work: monodoc browser.
Sender: mono-docs-list-admin@ximian.com
Errors-To: mono-docs-list-admin@ximian.com
X-Mailman-Version: 1.1
Precedence: bulk
List-Id: <mono-docs-list.ximian.com>
X-BeenThere: mono-docs-list@ximian.com
X-Spam-Status: No, hits=0.1 required=5.0
	tests=SPAM_PHRASE_01_02,SUBJECT_IS_LIST,X_AUTH_WARNING version=2.43
X-Spam-Level: 

Hey guys,

   I got the MonoDoc browser rendering pretty much everything.  Only
events and delegates are missing, but our friend Duncan will probably
get to do this before I do.

   Currently there is a problem: the documentation includes a markup
that we are not processing, so the output is far from ideal.  I need an
XSLT person to help me turn the ECMA XML markup into HTML.  

   This is not the whole thing, it is just the pieces included inside
the `summary' and `remark' nodes.    I have included a sample of the
file.  If someone could help me and write a nice XSLT thing that renders
this into HTML I would love you.

    A few screenshots:

	http://primates.ximian.com/~miguel/tmp/Screenshot-MethodSummary.png
	http://primates.ximian.com/~miguel/tmp/Screenshot-Browser.png
	http://primates.ximian.com/~miguel/tmp/Screenshot-B2.png

Here is the stuff I have to convert into HTML:

   For example <para> can be turned into <p>, but <paramref
name="format"> should probably be turned into `<i>format</i>'.

   The <see cref="M:System.IO.TextWriter.WriteLine"> should become
something like: <a
href="M:System.IO.TextWriter.WriterLine">WriteLine</a>.


          <para>The format specification in <paramref name="format" /> is invalid.</para>
          <para>-or-</para>
          <para>The number indicating an argument to be formatted is less than zero, or greater than or equal to the number of provided objects to be formatted (3).</para>
        </exception>
        <remarks>
          <para>This version of <see cref="M:System.IO.TextWriter.WriteLine" /> is equivalent to <see cref="M:System.IO.TextWriter.WriteLine" qualify="true" />(<see cref="M:System.String.Format(System.String,System.Object)" qualify="true" /> (<paramref name="format" />,
<paramref name="arg0" />, <paramref name="arg1" />, <paramref name="arg2" />)).</para>
          <block subset="none" type="note">
            <para>If the specified object is not referenced in the format string, it is
      ignored.</para>
            <para>This method does not search the specified <see cref="T:System.String" /> for individual newline characters
   (hexadecimal 0x000a) and replace them with <see cref="P:System.IO.TextWriter.NewLine" />.</para>
          </block>
          <para>
            <block subset="none" type="behaviors">As
   described above.</block>
          </para>

best wishes,
Miguel.

_______________________________________________
Mono-docs-list maillist  -  Mono-docs-list@ximian.com
http://lists.ximian.com/mailman/listinfo/mono-docs-list


--=-m2YAIX2bOYqnhv2WoBFn--