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: Retrieving XML document's name


Besides using an extension function you still can pass the document uri as 
a top-level parameter to the stylesheet.

Johannes

At 15:45 02.07.2001 -0600, you wrote:
>This is probably pretty simple, but I couldn't find the answer in the
>archives or books... how can you retrieve the name of the XML file that you
>are transforming?  For example, if I have MyData.xml and am using
>MyStylesheet.xsl to transform it, how can I retrieve 'MyData.xml' from
>within the XSL code?  I was looking at the document() and name() functions
>(along with others), but I just can't put it together correctly... easy
>enough, right?
>
>thanks...
>
>-putman
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



 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]