2 |
|
|
3 |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
4 |
|
|
5 |
<!-- |
<!-- |
6 |
|
|
7 |
Purpose of this XML Stylesheet is to implement a set of templates |
Purpose of this XML Stylesheet is (was) to implement a set of templates |
8 |
to do simple xml node manipulation. (kinda XML API) |
to do simple xml node manipulation. (kinda XML API via XSLT) |
9 |
Main target is "flexible insertion of new xml child nodes". |
Main target is "flexible insertion of new xml child nodes". |
10 |
|
|
11 |
If this attempt works out well, it will be continued by a follow-up |
If this attempt works out well, it will be continued by a follow-up |
12 |
trying to implement XUpdate in XSLT. |
stylesheet trying to implement XUpdate in XSLT. |
13 |
|
|
14 |
|
Note: The attempt indeed seems to work out well, so this stylesheet |
15 |
References: |
became deprecated now. Work continues inside "xupdate2xsl.xml". |
16 |
- XUpdate: |
|
17 |
Requirements: http://www.xmldb.org/xupdate/xupdate-req.html |
--> |
|
Working Draft: http://www.xmldb.org/xupdate/xupdate-wd.html |
|
|
- XML API: |
|
|
- XML::XUpdate::LibXML: http://search.cpan.org/author/PAJAS/XML-XUpdate-LibXML-0.4.0/lib/XML/XUpdate/LibXML.pm |
|
|
- XSL / XSLT: |
|
|
http://www.w3.org/TR/xslt |
|
|
http://www.xsl-rp.de/ |
|
|
http://xml.klute-thiemann.de/w3c-de/REC-xslt-20020318/ |
|
|
http://xmlxslt.sourceforge.net/ |
|
|
- misc pointers: |
|
|
"Re: Modify XML documents": http://aspn.activestate.com/ASPN/Mail/Message/perl-xml/1265431 |
|
|
XSL Extensions: http://xmlsoft.org/XSLT/extensions.html |
|
|
EXSLT: http://www.exslt.org/set/functions/difference/index.html |
|
|
"how to insert element at required position in document tree?": http://p2p.wrox.com/archive/xslt/2001-06/98.asp |
|
|
XML APIs for Databases: http://www.javaworld.com/javaworld/jw-01-2000/jw-01-dbxml.html |
|
|
|
|
|
--> |
|
18 |
|
|
19 |
<xsl:output method="raw"/> |
<xsl:output method="raw"/> |
20 |
|
|