[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: unparsed general entity in output !DOCTYPE
Are you doing this from Java code?
FileOutputStream fos=new FileOutputStream(filePath); identityTransformer.setOutputProperty(OutputKeys.DOCTYPE_PUBLIC, "-//W3C//DTD SVG 20001102//EN"); identityTransformer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM, "file:/C:/sourceforge/mathml-x/lib/TR/SVG/dtd/svg11.dtd"); identityTransformer.setOutputProperty(OutputKeys.ENCODING, "UTF-8"); identityTransformer.setOutputProperty(OutputKeys.INDENT, "yes"); //identityTransformer.setOutputProperty(OutputKeys.STANDALONE, "yes"); identityTransformer.setOutputProperty("{http://xml.apache.org/xalan}indent-amount","4"); identityTransformer.getOutputProperties().list(System.out); for example. From an Ant target <xslt basedir="examples" destdir="examples" processor="trax" classPath="c:/sourceforge/saxonb8-2/saxon8.jar" in="examples/Mandelbrot.mml" out="examples/Mandelbrot.x3d" style="stylesheets/mathml2Java.xsl"> <param name="baseClassName" expression="Object"/> <param name="packageName" expression="com.neuralworks.mathml"/> <param name="className" expression="Mandelbrot"/> <outputproperty name="method" value="text"/> <outputproperty name="standalone" value="yes"/> <outputproperty name="encoding" value="UTF-8"/> <outputproperty name="indent" value="yes"/> <outputproperty name="{http://xml.apache.org/xalan}indent-amount" value="4"/> <outputproperty name="doctype-public" value="ISO//Web3D//DTD X3D 3.0//EN"/> <outputproperty name="doctype-system" value="file://localhost/C:/sourceforge/mathml-x/lib/TR/X3D/dtd/x3d-3.0.dtd"/> </xslt> Depends from what... Karjala Koponen wrote: I need to create an unparsed general entity in the output xml DOCTYPE 'statement', as specified in our customer's (Elsevier)documentation:
|
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
|