Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: Tool to create XSLT templates >Thread Next - Re: Tool to create XSLT templates Re: Tool to create XSLT templatesTo: NULL Date: 2/6/2008 11:43:00 AM Francesc001 <francesc001@h...> wrote in <b74f9c0e-a46c-4d7e-9bcb-bae1ad485534@d...>: > On 5 feb, 16:08, Martin Honnen <mahotr...@yahoo.de> wrote: >> But XSLT transforms a tree, usually created by parsing >> XML, to XML or HTML or plain text. I don't see how you >> would apply templates to plain text. You would need to >> write a parser first for your plain text format to emit >> XML but then you would not need XSLT any longer. > > I will create an XML document with a simple tree, like > this.... > > <MyXMLDoc> > <Parameter>1234</Parameter> > <Data>Here it is string to process</Data> > </MyXMLDoc> > > I need a XSLT who take <Data> and split its fields to a > new XML file. I look for a tool for creating this XSLT. The tool you'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, XSLT is 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. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
