Re: [xsl] Happy XML birthday, all! :-)

Subject: Re: [xsl] Happy XML birthday, all! :-)
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Fri, 11 Feb 2005 19:47:34 +1100
<stylesheet version="1.0" xmlns="http://www.w3.org/1999/XSL/Transform";>
<output method="xml"/><template match="/"><for-each  
select="document('')/*"><element
name="{translate(*[1]/@*,'*xaybzcl','*iaybzcg')}" namespace="">
<attribute name="{translate(*[1]/@*,'*xaymzcl','*sayrzcc')}">
<value-of select="concat(concat(substring-before(namespace::*,'1'),
'2003/02/'),(document(concat(substring-before(namespace::*,'1'),
'2003/02/',*[1]/@*,translate(local-name(*[2]/@*),
'mch','--'),count(//*)-2,'.html'))//*[contains(text(),'!')][1]/following::*/@src)[1])"/>
</attribute></element></for-each></template></stylesheet>




On Thu, 10 Feb 2005 22:03:11 +0100, Joris Gillis <roac@xxxxxxxxxx> wrote:
> <stylesheet version="1.0" xmlns="http://www.w3.org/1999/XSL/Transform";>
> <output method="xml"/><template match="/"><for-each
> select="document('')/*">
> <copy-of select="document(concat(substring-before(namespace::*,'1'),
> '2003/02/',*[1]/@*,translate(local-name(*[2]/@*),
> 'mch','--'),count(//*),'.html'))//*[contains(text(),'!')][1]"/>
> </for-each></template></stylesheet>
> --
> Joris Gillis (http://www.ticalc.org/cgi-bin/acct-view.cgi?userid=38041)
> Vincit omnia simplicitas
> Keep it simple

Current Thread