|
[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message] Can I set the DOCTYPE through XQuery (using Saxon8.9j)Michael Kay mike at saxonica.comSat Mar 17 08:09:34 PST 2007
You can set serialization parameters in Saxon using an option in the prolog declare option saxon:output "method=xhtml"; declare option saxon:output "doctype-system=something.dtd"; http://www.saxonica.com/documentation/using-xquery/extensions.html or from the command line: java net.sf.saxon.Query test.xq !method=xhtml !doctype-system=something.dtd http://www.saxonica.com/documentation/using-xquery/commandline.html or from the Java API. And you can ask questions about Saxon on the saxon-help list or forum: http://sourceforge.net/projects/saxon Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: http://x-query.com/mailman/listinfo/talk > [mailto:http://x-query.com/mailman/listinfo/talk] On Behalf Of Kevin Grover > Sent: 17 March 2007 01:22 > To: http://x-query.com/mailman/listinfo/talk > Subject: Can I set the DOCTYPE through XQuery > (using Saxon8.9j) > > Subject say is all: Can I set the DOCTYPE through XQuery > (using Saxon 8.9j)? > > I've looked through the online docs. During the 8.8j > version, I got the impression that there were some saxon > specific 'serialization' > parameters. However, I can't find them now. > > FYI, I'm generating XHTML and want the DOCTYPE to be there so > I can run it through a validtator (xmllint or saxon) to > verify that it really IS valid XHTML. > > It is possible? Or, should I just switch to XSLT? > > Thanks > _______________________________________________ > http://x-query.com/mailman/listinfo/talk > http://x-query.com/mailman/listinfo/talk
|
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
|






