You are viewing a plain text version of this content. The canonical link for it is here.
Posted to websh-dev@tcl.apache.org by "David N. Welton" <da...@dedasys.com> on 2002/03/08 10:59:58 UTC

xsl

Looks like we should be able to come up with something nice.  The
quickref.xsl file has the beginnings of our customizations - which for
now is just the override of a few variables.

In the future, I would like to make it machine independant, which
might mean placing the files it imports on the net somewhere (we could
probably use the nwalsh or oasis sites, or tcl.apache.org if nothing
else).  This way we would avoid the hard-coded path in quickref.xsl.

-- 
David N. Welton
   Consulting: http://www.dedasys.com/
     Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
   Apache Tcl: http://tcl.apache.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: websh-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-dev-help@tcl.apache.org


Re: xsl

Posted by "David N. Welton" <da...@dedasys.com>.
I spent the afternoon trying some experiments, and I'm still not
entirely happy with things, but I chose this style for options to
commands:

	  <varlistentry>
	    <term><option>timeparam</option> <optional><option>name</option></optional></term>
	    <listitem>
	      <para>
		Name of the parameter to store reference to the timestamp
		in the URL. Default: &quot;t&quot;.
	      </para>
	    </listitem>
	  </varlistentry>

Lots of typing, but it gives us lots of room to maneuver when we do
output mangling.

The output style right now is ugly, but I suppose it's best to get the
whole document transformed, first, and then worry about improving its
looks.

The .xsl file now contains some examples which show how to do some
basic transformations.

-- 
David N. Welton
   Consulting: http://www.dedasys.com/
     Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
   Apache Tcl: http://tcl.apache.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: websh-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-dev-help@tcl.apache.org