[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: create multiple documents
> Or if you're using MSXML, then you > should be able to write an extension method that saves XML to > disk (I think Chris Bayes was working on this - Chris?). > I sent you what I had for exslt but didn't go any further with it. A couple of ppl asked me direct and I sent them what I had. It doesn't work quite the same as the others because you can't create new xsl elements so you have to fudge it with something like <xsl:value-of select="document:write('c:\temp\test.xml', ., '', 'xml', '', '', 'no', 'no', '-//W3C//DTD HTML 3.2//EN')" /> This was the plan <doc:args> <doc:arg name="href" type="string" default="''" optional="no">{ uri-reference }</doc:arg> <doc:arg name="context" type="context" default="null" optional="yes"></doc:arg> <doc:arg name="mode" type="string" default="'replace'" optional="yes">{ "replace" | "append" }</doc:arg> <doc:arg name="method" type="string" default="xml" optional="yes">{ "xml" | "html" | "text" | qname-but-not-ncname }</doc:arg> <doc:arg name="version" type="string" default="null" optional="yes">{ nmtoken }</doc:arg> <doc:arg name="encoding" type="string" default="null" optional="yes">{ string }</doc:arg> <doc:arg name="omitXmlDeclaration" type="string" default="'no'" optional="yes">{ "yes" | "no" }</doc:arg> <doc:arg name="standalone" type="string" default="'no'" optional="yes">{ "yes" | "no" }</doc:arg> <doc:arg name="doctypePublic" type="string" default="''" optional="yes">{ string }</doc:arg> <doc:arg name="doctypeSystem" type="string" default="''" optional="yes">{ string }</doc:arg> <doc:arg name="cdataSectionElements" type="string" default="''" optional="yes">{ qnames }</doc:arg> <doc:arg name="indent" type="string" default="'no'" optional="yes">{ "yes" | "no" }</doc:arg> <doc:arg name="mediaType" type="string" default="''" optional="yes">{ string }</doc:arg> </doc:args> But it isn't finished. Ciao Chris XML/XSL Portal http://www.bayes.co.uk/xml XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|