Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Tool to create XSLT templates

From: dnovatchev@-----.---
To: NULL
Date: 3/2/2008 1:45:00 PM
> On a more serious note, XSLT is not designed for string
> processing. This might be bearable with XSLT2, but still a
> curious design choice.


Not quite true. XSLT 2 and XPath F & O provide powerful text-
processing functions, including RegEx processing.

I have had some nice experience implementing a generalized LR(1)
parser in XSLT, a JSON to XML convertor (the f:json-document()
function of FXSL), an XPath 2.0 parser, a spell checker, a concordance
tool, a text justification tool -- all with reasonable efficiency (for
example the spellchecker processes several thousand words per second).


Cheers,
Dimitre Novatchev



On Feb 6, 1:43=A0am, Pavel Lepin <p.le...@ctncorp.com> wrote:
> Francesc001 <francesc...@hotmail.com> wrote in
> <b74f9c0e-a46c-4d7e-9bcb-bae1ad485...@d70g2000hsb.googlegroups.com>:
>
>
>
>
>
> > On 5 feb, 16:08, Martin Honnen <mahotr...@yahoo.de> wrote:
> >> ButXSLTtransforms a tree, usually created by parsing
> >> XML, to XML or HTML or plain text. I don't see how you
> >> would applytemplatesto plain text. You would need to
> >> write a parser first for your plain text format to emit
> >> XML but then you would not needXSLTany longer.
>
> > I willcreatean XML document with a simple tree, like
> > this....
>
> > <MyXMLDoc>
> > =A0 =A0 <Parameter>1234</Parameter>
> > =A0 =A0 <Data>Here it is string to process</Data>
> > </MyXMLDoc>
>
> > I need aXSLTwho take <Data> and split its fields to a
> > new XML file. I look for atoolfor creating thisXSLT.
>
> Thetoolyou're looking for is commonly called "brain" and
> humans are typically supplied with one at birth. If you
> have lost or misplaced yours, contact your vendor's
> customer support centre for a replacement.
>
> On a more serious note,XSLTis not designed for string
> processing. This might be bearable with XSLT2, but still a
> curious design choice.
>
> --
> When all you have is a transformation engine, everything
> looks like a tree.- Hide quoted text -
>
> - Show quoted text -



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent