This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]