Anyone here good with XSLT?

Evan Leibovitch evan-ieNeDk6JonTYtjvyW6yDsg at public.gmane.org
Wed Aug 25 20:49:37 UTC 2010


Hi all.

I've been making great headway in my work but seem to have come to a bit of
an impass in doing XSLT.

I have

<dl>
  <dt>AAA</dt>
  <dd>111</dd>
  <dt>BBB</dt>
  <dd>222</dd>
  <dt>BBB</dt>
  <dd>333</dd>
  <dt>CCC</dt>
  <dd>444</dd>
</dt>

(The number of instances of any particular line are variable)

Ultimately I want to convert this into a pipe-separated-value file,

111|222,333|444

But for now I can work with either

<record>
<AAA>111</AAA>
<BBB>222</BBB>
<BBB>333</BBB>
<CCC>444</CCC>
</record>

or

<record>
<AAA id="111" />
<BBB id="222" />
<BBB id="333" />
<CCC id="444" />
</record>

Which would be easier to do?

Thanks!

- Evan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/legacy/attachments/20100825/f8de7225/attachment.html>


More information about the Legacy mailing list