Re: xslt extension question

2006-05-10 Thread Dominique Devienne
don't you need something like xsl:output/@method="myprefix:sgml" ? I didn't know you could put the jar file there. If you can, then would you need the path set correctly? Do you have it in the same directory as the XSL? Yeah, that's a funny syntaxt, isn't it? But note that @method read "my.sgm

Re: xslt extension question

2006-05-10 Thread Robert Koberg
Mary Milne wrote: hi robert sadly i need sgml not html. running the script with saxon on a command line is fine ie java -cp saxon.jar:.:SGMLEmitter.jar icl.org.saxon.StyleSheet xslt input out don't you need something like xsl:output/@method="myprefix:sgml" ? I didn't know you could put

Re: xslt extension question

2006-05-10 Thread Dominique Devienne
sadly i need sgml not html. running the script with saxon on a command line is fine ie java -cp saxon.jar:.:SGMLEmitter.jar icl.org.saxon.StyleSheet xslt input out (sorry haven't got the line at hand but its close enough) but now i want to invoke it from ant's xslt task and the doc seems to say

Re: xslt extension question

2006-05-10 Thread Mary Milne
hi robert sadly i need sgml not html. running the script with saxon on a command line is fine ie java -cp saxon.jar:.:SGMLEmitter.jar icl.org.saxon.StyleSheet xslt input out (sorry haven't got the line at hand but its close enough) but now i want to invoke it from ant's xslt task and the doc

Re: xslt extension question

2006-05-10 Thread Robert Koberg
Mary Milne wrote: hi i'm trying to run the task using saxon.jar - that bits fine ie the problem is the xslt script has an extension to make the output SGML ie This is not valid. Why not just use method="html" with whatever? Also just set doctype-public and doctype-system to your particu

xslt extension question

2006-05-10 Thread Mary Milne
hi i'm trying to run the task using saxon.jar - that bits fine ie element to 3. adding it to the ant/lib along with saxon.jar but nothing worked. any ideas greatly appreciated. cheers mary