This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Processing source in a text format : visual aid
- From: "Michael Earls" <michael at cerkit dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 19 Apr 2002 10:35:52 -0400
- Subject: RE: [xsl] Processing source in a text format : visual aid
- Reply-to: xsl-list at lists dot mulberrytech dot com
You will want to rebuild an identical document containing identical
values.
Use a transform that simply copies the nodes (xsl:copy-of). There are
many examples out there for doing this. That will create an exact copy
of what is produced by the custom XmlReader for your viewing pleasure.
Michael Earls
-----Original Message-----
From: owner-xsl-list@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com] On Behalf Of Siarhei
Biarozkin
Sent: Friday, April 19, 2002 9:18 AM
To: XSL-List@lists.mulberrytech.com
Subject: [xsl] Processing source in a text format : visual aid
Hello group,
I've a following question regarding text transformation, where text is
not a well-formed XML, but just a sequence of characters , say, a
comma-separated text file.
As I've read in an excellent book on XSLT, one way to do it is to write
my own XMLReader, which will parse the text and send SAX events to the
XSLT processor, which will apply a stylesheet to this stream.
We'd like our customers be able to create their own stylesheets when
they wish so, the problem is they can't see the result of the original
text being transformed into a well-formed xml. The text itself will be
coming from the simple device.
So, it there any toolkit available, which can help in visualizing the
process ? Ideally it would allow to install a custom XMLReader, which
will accept text strings as parameters, and then this toolkit will show
the resulting XML fragment, and then it would be much easier to build
stylesheet for these fragments.
Thanks
Siarhei Biarozkin
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list