You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Mikael St�ldal <mi...@ingen.reklam.staldal.nu> on 2001/01/04 23:13:15 UTC

Re: Dependency

>The short answer is, yes, it is possible, if you slip past the TrAX
>interfaces (XalanJ2).  Cast the Templates object to a StylesheetRoot.  I
>think you want the getGlobalImportCount and getGlobalImport methods, and
>then you need to access the getIncludeCountComposed and getIncludeComposed
>method of each StylesheetComposed returned by getGlobalImport.  Call
>getSystemId() on each Stylesheet to get the absolute system ID.  It's been
>a long night, so Gary might correct me...

After a quick look at the API documentation, it seems like this only
gives <xsl:import> and <xsl:include>, and not the document() function.
Is that correct, or have I missed something?

It would be nice to be able to get a list of the URLs referenced by
document() too.

BTW, please don't reply to both the list and to my address.

-- 
/****************************************************************\
* You have just read a message from Mikael Ståldal.              *
*                                                                *
* Remove "ingen.reklam." from the address before mail replying.  *
\****************************************************************/