> -----Original Message-----
> From: Scott Stark [mailto:[email protected]]
> Sent: Wednesday, February 18, 2009 4:00 PM
> To: Ant Users List
> Subject: Re: Ant XSL: inserting unwanted attributes
> 
> 
> >So, have you tried to run your XSLT outside of Ant?  Be interesting to
> see
> >if you get the same results...
> 
> >Ah...gotcha about xmlcatalog :)
> 
> Yeah, getting that to work with Saxon was more than my brain could
> handle... couldn't find any good doc about it. Turned out to be easy with
> Ant...
> 
> Scott

Have you tried using xalan-j?  I've used the cmd line to do validation in the 
past, might be of some help to you.
http://xml.apache.org/xalan-j/commandline.html

basically:
>java -cp 
>C:\...\xalan-j_2_7_1\xalan.jar;C:\...\xalan-j_2_7_1\xml-apis.jar;C:\...\xalan_2_7_1\serializer.jar;C:\...\xalan-j_2_7_1\xercesImpl.jar
>  org.apache.xalan.xslt.Process -IN some.xml -XSL results.xsl -out some.out.put

There is this notion of grammer pools that might do what you're using 
<xmlcatalog> for, but I'm not sure how/if that works from the cmd line.

Hope this helps,
-raleigh


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to