OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Website+XSLT=source filename?

How does one go about finding out the XML source filename in XSL?

I tried to utilise the document-uri function of XSL 2.0; but am getting an 
error (probably from the xsltproc processor) about only being version 1.0 

I currently have successfully been using the following:

<xsl:variable name="page" select="."/>
<xsl:variable name="xml_source">
      <xsl:when test="$page/config[@param='source']">
        <xsl:value-of select="($page/config[@param='source'])[1]/@value"/>
As you can see, I am having to generate a specific element to hold the source 
filename. But, given the volume of pages that I am constructing(4,000+); I 
would rather utilise a construct during transformation so that I don't need 
to alter the XML sources and add this element.


PGP signature

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]