more stripping carriage returns

Subject: more stripping carriage returns
From: "Carmelo Montanez" <carmelo@xxxxxxxx>
Date: Wed, 31 May 2000 14:27:10 -0400
Hi folks:

    provided that I have a document named "doc1" that looks just like:

<level1>
  <level2></level2>
</level1>

and I want to create a java string (via LRE) using just the name of those
elements.
in other words I want an LRE that will looks like

  var1 = "<level1>\n<level2></level2>\nlevel1"

I can read the file in via the "document" function but  been going around in
circles
creating the string, any ideas or suggestion?

Thanks,

Carmelo


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread