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: 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




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