hi, trying to use an xslt to make an xslt. trying something like:
<?xml version="1.0" encoding="UTF-8"?>
<?xmlspysamplexml H:\java\projects\spy1\spy\inputDocumentMap.xml?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl
utput method="xml" version="1.0" encoding="UTF-8" indent="yes"/> <xsl:template match="/inputDocumentMap"> <xsl:element name="xsl:template" match="/inputDocument"> <xsl:apply-templates/> </xsl:element> </xsl:template> </xsl:stylesheet>
but this is not going very well (the files are at:
http://tayek.com/~ray/spy1/
i want to create the sampleT1.xslt file (which will eat inputDocument.xml) from inputDocumentMap.xml. the sampleT1 works fine (at least in java, but xmlspy produces garbage). i want to create this file programmatically.
i would assume that this (creating an xslt from an xslt and an xml)
*can* be done but maybe it would be better to do it in java as i am a newbie to xslt (it's my first functional langauge). i have done this with a previous incarnation of the sampleT1.xslt, so it's not a problem, but it would be cool to do it in xslt.
any pointers would be apreciated.
thanks
<?xml version="1.0" encoding="UTF-8"?>
<?xmlspysamplexml H:\java\projects\spy1\spy\inputDocumentMap.xml?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl
but this is not going very well (the files are at:
http://tayek.com/~ray/spy1/
i want to create the sampleT1.xslt file (which will eat inputDocument.xml) from inputDocumentMap.xml. the sampleT1 works fine (at least in java, but xmlspy produces garbage). i want to create this file programmatically.
i would assume that this (creating an xslt from an xslt and an xml)
*can* be done but maybe it would be better to do it in java as i am a newbie to xslt (it's my first functional langauge). i have done this with a previous incarnation of the sampleT1.xslt, so it's not a problem, but it would be cool to do it in xslt.
any pointers would be apreciated.
thanks