opendfdl / examples Goto Github PK
View Code? Open in Web Editor NEWSmall examples that illustrate how to use Daffodil/DFDL
License: Apache License 2.0
Small examples that illustrate how to use Daffodil/DFDL
License: Apache License 2.0
Integrated extension functions is an alternative way in Saxon to implement Java extensions to XSLT/XPath, rather than the reflexive extension functions used now. The link discribes multiple advantages to integrated vs reflexive, but an additional advantage is that integrated extensions are support in Saxon-HE. This means we can update build.sbt to depend on Saxon-HE, making it easier to quickly jump into modifing this, and adding it to regression suites.
The dfdlParse function returns the XML infoset as a string and then uses the parse-xml() function to convert that to a node that the XSLT can work on. Rather than returning a string, the dfdlParse funtion should just directly return a node to avoid this string-to-node conversion.
A useful feature would be a cache of the compiled DFDL schema so that the penalty
to compile it isn't being paid every time you run the XSLT. (Something many
usages of Daffodil need - probably should be a feature supplied in a Daffodil
library so that it's not being reinvented.) Daffodil compilation times are
acceptable now for long-running processes, but not for quick start/stop things
as XSLT commonly is.
It would be nice if this weren't XSLT daffodil java function weren't dependant on Saxon's implementation. If Java XSLT has a way to handle this, and if it's compatible with XSLT, that might be a preferred method to implementation a DFDL XSLT function.
The helloWorld example shows parse, unparse, XPath, and XSLT, but not XQuery. Should show XQuery too, or another example should.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.