RE: [docbook-apps] xml:base and stylesheets

From
Mauritz Jeanson <>
Date
2006-04-06T19:51:41+00:00
ID
000101c659b3$e277adf0$71ea1a51@D7MZ171J
Thread
RE: [docbook-apps] xml:base and stylesheets
> -----Original Message-----
> From: Mauritz Jeanson 
> 
> I am having similar problems. I haven't figured out 
> everything, but one problem is the template in 
> common/stripns.xsl that uses saxon:SystemId(). It returns 
> malformed file paths and these paths are then inserted as 
> xml:base attributes in the stripped document.
> 
> This test
> 
>  <xsl:when test="starts-with(saxon:systemId(), 'file:')">
>    <xsl:value-of select="substring-after(saxon:systemId(),'file:')"/>
>  </xsl:when>
> 
> returns a path with a leading slash, like this: 
> '/c:/docbook/test.xml'.


I used an old snapshot (four days, I think...). The  above code in
stripns.xsl has been updated in the 06-Apr-2006 07:55 release (I haven't
tested it, though). 

/MJ