xsl-list
[Top] [All Lists]

Re: Text To XML using XSL

2005-04-10 23:39:29
N. Ganesh Babu wrote:

Dear All,

I am very well know that we can convert XML files into any other files
viz. HTML, XHTML, SGML , Text by using XSL. Is it possible to convert
Text into XML,HTML using XSL? If yes, please let me know the resources.


Hello Ganesh,

this is a fairly general question, with the answer being mainly
yes...and no depending on circumstances.

the xsl:output method determines format of output and the document()
function is used to bring in external files...with some limited success
it is possible to process text in XSLT 1.0.

XSLT 2.0 is much better at bringing in irregular text, with its regular
expression capabilities and unparsed-text() function
(check out http://www.xml.com/pub/a/2003/07/09/xslt.html).

I would suggest asking your question again, though with some
specifics...and perhaps example xml(or text in your case).

--Jim Fuller






--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>