Re: Simple guide to transformations using Jade

Subject: Re: Simple guide to transformations using Jade
From: Robin Stephenson <robin.stephenson@xxxxxxxxxxxxxxx>
Date: 05 Jun 1998 11:48:48 +0100
>>>>> On Thu, 04 Jun 1998 13:09:49 -0400
>>>>> "Ken" == G Ken Holman <gkholman@xxxxxxxxxxxxxx> wrote:

Ken> At 14:48 98/06/03 +0100, Robin Stephenson wrote:
>> I want to transform an SGML document from one DTD to another using
>> Jade.  
>> ...
>> What files do I need to create, where do I put them, and
>> what command line do I use?

Ken> I've attached below a transcription of a working section [...]

That was excellent: thanks!  Now I've got started I've got a quick
question.  It doesn't matter in terms of the validity of the SGML, but
in the output tags are broken over lines as follows:

[...]
></ARTINFO
><TIG
><ATL
>Voting in the UK: Is Mandatory Voting the Answer?</ATL
></TIG
[...]

This is actually quite useful while I'm working on writing the
transform, as it makes the tags stand out more, but as an end result
it's not cosmetically pleasing (ie the Pointy-Haired Ones won't like
it).  Can I achieve a more `traditional' format, with the angle
brackets touching what they contain?  I'd be able to live with this:

[...]>
</ARTINFO>
<TIG>
<ATL>
Voting in the UK: Is Mandatory Voting the Answer?</ATL>
</TIG
[...]

Indentation would be even nicer:

[...]>
  </ARTINFO>
  <TIG>
    <ATL>
    Voting in the UK: Is Mandatory Voting the Answer?
    </ATL>
  </TIG
[...]

-- 
 Robin Stephenson
 10% Post-Consumer Content

PS Mandatory voting?  I think even Jack Straw might balk at criminalising
   40% of the population at the next election....


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • Idiots guide to transformations using Jade
    • Robin Stephenson - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id JAA07685Wed, 3 Jun 1998 09:56:06 -0400 (EDT)
      • G. Ken Holman - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id NAA09122Thu, 4 Jun 1998 13:14:22 -0400 (EDT)
        • Robin Stephenson - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id GAA07574Fri, 5 Jun 1998 06:54:57 -0400 (EDT) <=
          • Sebastian Rahtz - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id HAA08144Fri, 5 Jun 1998 07:30:31 -0400 (EDT)
          • Robin Stephenson - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id HAA08750Fri, 5 Jun 1998 07:56:17 -0400 (EDT)
          • Sebastian Rahtz - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id IAA09196Fri, 5 Jun 1998 08:16:52 -0400 (EDT)
          • Norman Walsh - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id IAA09460Fri, 5 Jun 1998 08:25:07 -0400 (EDT)