Re: [xsl] XSLT 1.0 serializer for XML

Subject: Re: [xsl] XSLT 1.0 serializer for XML
From: COUTHURES Alain <alain.couthures@xxxxxxxxxxxxx>
Date: Thu, 19 Aug 2010 21:11:31 +0200
XSLTForms has its own XPath 1.0 parser written in XSLT 1.0 to generate Javascript objects.

The XSLTForms transformation can be performed at server-side or at client-side.

Alain Couthures
<agenceXML>


Hermann Stamm-Wilbrandt a icrit :
It has been done in XSLT 1.0 too:
http://lenzconsulting.com/xml-to-string/xml-to-string.xsl

and that has a date of 2001 so pretty new, compared to eg

OK, a bit late, but I have not found xml-to-string.xsl



This raises another question:


Is there any XPATH 1.0 parser written in (pure) XSLT 1.0?
(again for use in browsers)


Dimitrie came up with an element name match solution in XSLT 1.0 [1] in thread "Retrieving XML node from a path specified in an attribute value of another node". That solution was only able to retrieve a single node, posting [2] enhanced it to deal with result node sets. Both postings are from mid 2010.

[1]
http://stackoverflow.com/questions/3015942/retrieving-xml-node-from-a-path-specified-in-an-attribute-value-of-another-node/3017752#3017752
[2]
http://stackoverflow.com/questions/3015942/retrieving-xml-node-from-a-path-specified-in-an-attribute-value-of-another-node/3485079#3485079


Mit besten Gruessen / Best wishes,


Hermann Stamm-Wilbrandt
Developer, XML Compiler, L3
WebSphere DataPower SOA Appliances
----------------------------------------------------------------------
IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschaeftsfuehrung: Dirk Wittkopp
Sitz der Gesellschaft: Boeblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294



From:       David Carlisle <davidc@xxxxxxxxx>
To:         xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Date:       08/19/2010 05:54 PM
Subject:    Re: [xsl] XSLT 1.0 serializer for XML



On 19/08/2010 16:40, Martin Honnen wrote:
Hermann Stamm-Wilbrandt wrote:

in another thread Florent posted [1] a link to a XML serializer written
in pure XSLT [2].
That serializer is written in XSLT 2.0 and cannot be used in browsers;
they do support XSLT 1.0 only.
It has been done in XSLT 1.0 too:
http://lenzconsulting.com/xml-to-string/xml-to-string.xsl

and that has a date of 2001 so pretty new, compared to eg


http://www.openmath.org/cdfiles2/xsl/verb.xsl

which claims to be from 1999 (although I suspect it's a bit older:-)

David


________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs.
________________________________________________________________________

Current Thread