sungod wrote:

> 
> <xsl:stylesheet
>         version="1.0"
>         xsl:version="1.0"
>         xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
> 
>         <xsl:output method="xml" indent="yes"/>
> 
>         <xsl:template match="document('200101111200.xml')/article">
>                 <xsl:template select="date"/>
>                 <xsl:template select="title"/>
>                 <xsl:template select="summary"/>
>         </xsl:template>
> </xsl:stylesheet>

u are trying to 'match' instead of 'select'  ( same error code for 
earlier versions of sabcmd re: document() )

-------------------------------------------------------------
method 1

use  <xsl:copy-of select='document("somexmldocument.xml")'/>

and use this method to create a sourcexml of all your children, then 
apply another xsl transformation for styling to that 'big; file
-------------------------------------------------------------
mehtod 2 : include it using a DTD

<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE document [ <!ENTITY  resourcedb SYSTEM 
'file:/some/absolute/path/a.xml 
<cid:[EMAIL PROTECTED]>'> ]>
<resource>
<childofb>&resourcedb;<childofb>
</resource>

--------------------------------------------------------------

,jim fuller



Reply via email to