[tei-council] Conference call Nov. 29

Sebastian Rahtz sebastian.rahtz at computing-services.oxford.ac.uk
Mon Nov 22 15:52:19 EST 2004


Syd Bauman wrote:

>>what is  a "bare name pointer", I wonder? you provide the
>>example document, I'll show you the XSLT.
>>    
>>
>
><this target="#that"/> is a bare name pointer that points over <here
>xml:id="that"/>. <ptr
>target="http://www.tei-c.org/Activities/SO/sow09.html#id67420."/>
>
>  
>
so what's the issue with a stylesheet to process this?

...
<xsl:when test="starts-with(@target,'#')">
<a href="{@target}">
    <xsl:apply-templates 
select="key('IDS',substring-after(@target,'#'))" mode="xref"/>
</a>
....

-- 
Sebastian Rahtz      
Information Manager, Oxford University Computing Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431

OSS Watch: JISC Open Source Advisory Service
http://www.oss-watch.ac.uk




More information about the tei-council mailing list