1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-11-08 11:02:18 +03:00
Commit Graph

17 Commits

Author SHA1 Message Date
Daniel Veillard
935ed1d25f More work, cleanups, HTML output:
- Makefile.am tests/Makefile.am tests/REC1/Makefile.am
  tests/REC2/Makefile.am tests/REC2/html.xml: added tests target
  too, added the HTML output test
- libxmls/xsltutils.c: added HTML output
- libxslt/xslt.c: check version on literal result used as templates
- libxslt/transform.c: fixed an error in VERSION number
- libxslt/templates.c: make sure generated nodes have doc and
  parent properly set
Daniel
2001-01-21 11:07:02 +00:00
Daniel Veillard
007037dd75 - libxslt/Makefile.am libxslt/template.[ch]: added a template
specific module. Added attribute value template, at least in
  one spot.
- tests/REC2/Makefile.am tests/REC2/svg.xml: the SVG test from
  the spec now works too.
- libxslt/variables.c: fixed the debug
- libxslt/xslt.c: fixed an ugly uninitialized variable
- libxslt/transform.c: now using attr template processing
Daniel
2001-01-20 22:40:37 +00:00
Daniel Veillard
6b5e9df67f Working on variables implementation:
- libxslt/transform.c libxslt/variables.[ch] libxslt/xslt.c
  libxslt/xsltInternals.h libxslt/xsltutils.h: changed a few
  structure to add an execution stack with variables. Tree
  valued variables still missing.
- TODO: updated
Daniel
2001-01-20 17:02:16 +00:00
Daniel Veillard
327c8bdab6 - libxslt/xslt.c: check version on stylesheets
- libxslt/xslt.c libxslt/xsltInternals.h libxslt/variables[.ch]:
  started adding variables interfaces and modules.
Daniel
2001-01-19 12:27:23 +00:00
Daniel Veillard
07bd66faa1 Hacking, mostly on the output support:
- libxslt/xslt.c: added support for disable-output-escaping
  will need libxml version > 20211
- libxslt/transform.c: cleanup
- libxslt/xsltutils.[ch]: added output functions
- libxslt/xsltproc.c: reuse the output function
- tests/REC2/Makefile.am tests/REC2/vrml.xml: added VRML output test
Daniel
2001-01-18 15:13:25 +00:00
Daniel Veillard
584831ad3c - libxslt/transform.c libxslt/xslt.c: avoiding some problems
with blank node stripping when not allowed.
Daniel
2001-01-17 20:04:58 +00:00
Daniel Veillard
52862c8987 Some infrastructure work, and of course some debug:
- TODO: more stuff
- libxslt/transform.c: context position and size in for-each
- libxslt/xsltutils[ch] libxslt/makefile.am: added the util module
  and put Error and Debug routines
- libxslt/xslt.c libxslt/transform.c libxslt/pattern.c: switched
  to use the Debug calls, cleanup
- libxslt/xsltproc.c: added -v to enable debug printing
Daniel
2001-01-17 13:29:19 +00:00
Daniel Veillard
d783a44328 Hack, debug, read, hack, debug, read ....
- transform.c, xslt.c, xsltproc.c: lots of fixes, added
  support of xslt:if and xslt:attribute, need libxml2 interfaces
  present only in CVS.
Daniel
2001-01-15 14:34:02 +00:00
Daniel Veillard
ed0f60dea2 More general work, added for-each:
- test/Makefile.am test/REC*/Makefile.am: added first test
- libxslt/pattern.c libxslt/transform.c libxslt/xslt.c:
  cleanup of nodes at reading of stylesheet, added support
  for xsl:for-each and fixed a few recursion bugs
Daniel
2001-01-13 22:29:51 +00:00
Daniel Veillard
26897de4a7 Handle the first REC example correctly it seems:
- pattern.c, xslt.c: removed debug
- transform.c: added value-of, seems to handle the first
  REC example correctly
Daniel
2001-01-12 21:35:20 +00:00
Daniel Veillard
2d430b16ee I generate a root node, I assume it's significant progress !
* libxslt/transform.[ch] Makefile.am: started adding the
  transformation module
* pattern.[ch] xslt.c: more work...
Daniel
2001-01-11 20:13:26 +00:00
Daniel Veillard
e181896ae1 Still not working but makes more noise and leaks memory now:
- libxslt/xslt*: completeted the structures
- libxslt/pattern.[ch]: started adding code to precompile patterns
  and do the lookup
- libxslt/makefile.am: added the new files
Daniel
2001-01-10 15:32:17 +00:00
Daniel Veillard
eaf99d5e12 Not much: - libxslt/xslt.c : small cleanup - configure.in
Not much:
- libxslt/xslt.c : small cleanup
- configure.in libxslt/xsltconfig.h.in: add memory debug and
  mechanism for compile-time options
Daniel
2001-01-08 18:57:17 +00:00
Daniel Veillard
2a7128361b Bit of work on templates, Daniel 2001-01-07 21:53:42 +00:00
Daniel Veillard
aa444f717f - libxslt/xslt.[ch]: started parsing stylesheet xsl:stylesheet
Daniel
2001-01-07 18:51:19 +00:00
Daniel Veillard
6caca0b4ac very early steps, Daniel. 2001-01-07 15:17:08 +00:00
Daniel Veillard
6f5e152012 Initial revision 2001-01-07 14:01:28 +00:00