|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Happy XML birthday, all! :-)
<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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








