Subject: RE: [xsl] create multiple documents From: "Chris Bayes" <chris@xxxxxxxxxxx> Date: Thu, 18 Oct 2001 18:45:37 +0100 |
> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] create multiple documents, Jeni Tennison | Thread | RE: [xsl] create multiple documents, Sebastian Rahtz |
Re: [xsl] Case conversion in XSL?, Wendell Piez | Date | [xsl] java-based processor - could , Jakub . Valenta |
Month |