xsl-list
[Top] [All Lists]

Re: Happy XML birthday, all! :-)

2005-02-11 01:47:34
<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(_at_)pandora(_dot_)be> 
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>