DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7835>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7835

MalformedURLException for relative xsl:include

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Other                       |High



------- Additional Comments From [EMAIL PROTECTED]  2002-04-09 13:06 -------
Here's the code for mdocs.

xsl
===
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">

  <!-- FileName: MDOCS05 -->
  <!-- Document: http://www.w3.org/TR/xslt -->
  <!-- DocVersion: 19991116 -->
  <!-- Section: 12.1 -->
  <!-- Creator: Paul Dick -->
  <!-- Purpose: Test document() function with path following. -->

<xsl:template match="catalog">
  <out>
    <xsl:apply-templates
select="document(pointer/urlref/@urlstr)/market.participant/business.identity.group/business.name"/>
    <xsl:apply-templates
select="document('..\mdocs\compu.xml')/market.participant/address.set/*"/>
  </out>
</xsl:template>

<xsl:template match="location.in.street">
  <xsl:apply-templates/>
</xsl:template>

<xsl:template match="street">
  <xsl:apply-templates/><xsl:text></xsl:text>
</xsl:template>

<xsl:template match="city">
  <xsl:apply-templates/><xsl:text>, </xsl:text>
</xsl:template>

<xsl:template match="country.subentity">
  <xsl:apply-templates/><xsl:text> </xsl:text>
</xsl:template>

<xsl:template match="postcode">
  <xsl:apply-templates/>
</xsl:template>

<xsl:template match="telephone.number">
  <xsl:apply-templates/>
</xsl:template>

</xsl:stylesheet>

xml
===
<?xml version="1.0"?>

<catalog>
        <pointer>
                <urlref urlstr="compu.xml"/>
        </pointer>
</catalog>

Reply via email to