Thank you for your help. >----- ------- Original Message ------- ----- >From: [email protected] >To: [email protected], [EMAIL PROTECTED] >Sent: Wed, 3 Aug 2005 10:15:16 > >Some ideas using external tasks (AntContrib, >XmlTasks) >- read the "page"s from layout.xml (<xmlproperty> - >core task) >- write them to a text file (<echo>) >- read the file into a property (<loadfile>) >- iterate over that file (<for>, >separator="${line.separator}") > -- read the dir + filename from layout.xml >(xmltask) > -- do the transformation (<xslt>) > >Jan > >>-----Ursprüngliche Nachricht----- >>Von: SinDoc [mailto:[EMAIL PROTECTED] >>Gesendet: Mittwoch, 3. August 2005 09:53 >>An: [email protected]; [email protected]; >[email protected] >>Betreff: RE: AW: [xslt] a pre-defined output for >each XML file >> >>Given the @destdir in <xslt>, HTML outputs are >generated >>properly. In DocBook Website, the user works out a >file, >>called 'layout.xml', in which, each XML source >file is mapped >>to a particular HTML output, for instance: >> >><tocentry page="projects/urfm.xml" dir="urfm" >> filename="index.html"/> >> >>In this example, the XSLT engine is supposed to >create a >>directory called "urfm", in which the index.html >is the >>transformed file. >> >>I was wondering if I could generate a FileSet or >something out >>of the 'layout.xml' file, so that each XML file >will properly >>be written where it's meant to be. This is what >the folks do >>by using make but not Ant. >> >>Regards, >>Sina >> >>>----- ------- Original Message ------- ----- >>>From: [email protected] >>>To: [email protected] >>>Sent: Wed, 3 Aug 2005 08:26:17 >>> >>>Whats wrong with <xslt>? >>> >>>Jan >>> >>>>-----Ursprüngliche Nachricht----- >>>>Von: SinDoc [mailto:[EMAIL PROTECTED] >>>>Gesendet: Mittwoch, 3. August 2005 00:59 >>>>An: [email protected] >>>>Betreff: [xslt] >>>> >>>>I have a chunk of XML files, each of which is >>>mapped to a >>>>particular HTML output. Now, I'd like to know, >how >>>I could >>>>process them with an XSLT stylesheet by using >the >>>Ant XSLT >>>>task in order for source files to be written >into >>>their HTML >>>>equivalents!? >>>> >>>>Note that, it's all about transforming the >>>DocBook Website[1] >>>>source files. I need to use Ant to generate HTML >>>outputs if >>>>the XML/XSL sources have been updated. >>>> >>>>Any suggestion is appreciated. >>>> >>>>Regards, >>>>SinDoc >>>> >>>>[1] >>>http://docbook.sourceforge.net/projects/website/ >>>> >>>>-- >>>>SinDoc >>>>Khakbaz Foundation <[EMAIL PROTECTED]> >>>>MarkupWare <[EMAIL PROTECTED]> >>>>SilkPage <[EMAIL PROTECTED]> >>>> >>>>------------------------------------------------ >-- >>>------------------- >>>>To unsubscribe, e-mail: >>>[EMAIL PROTECTED] For >>>>additional commands, e-mail: >>>[EMAIL PROTECTED] >>>> >>>> >>> >>>------------------------------------------------- >-- >>>------------------ >>>To unsubscribe, e-mail: >>>[EMAIL PROTECTED] >>>For additional commands, e-mail: >>>[EMAIL PROTECTED] >> >>-- >>SinDoc >>Khakbaz Foundation <[EMAIL PROTECTED]> >>MarkupWare <[EMAIL PROTECTED]> >>SilkPage <[EMAIL PROTECTED]> >> >>-------------------------------------------------- >------------------- >>To unsubscribe, e-mail: >[EMAIL PROTECTED] For >>additional commands, e-mail: >[EMAIL PROTECTED] >> >> > >--------------------------------------------------- >------------------ >To unsubscribe, e-mail: >[EMAIL PROTECTED] >For additional commands, e-mail: >[EMAIL PROTECTED]
-- SinDoc Khakbaz Foundation <[EMAIL PROTECTED]> MarkupWare <[EMAIL PROTECTED]> SilkPage <[EMAIL PROTECTED]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
