[oXygen-user] Syntax Hyperlink

George Cristian Bina
Wed Aug 4 09:06:23 CDT 2004


Dear Heino Speer,

If you will look in the new model view in oXygen while you have the cursor
inside the xptr element you will see that the doc attribute has the
attribute type ENTITY. That means that it should contains as value the name
of an entity. The stylesheet deals with this accordingly, calling the
unparsed-entity-uri() funtion on it in order to get the actual value. The
relevant part of the stylesheets that deal with xptr starts at line 317 in
teihtml-xref.xsl.

In order to make this work you should have an ENTITY with the name
FRREF1578.7.12.3 declared in your DTD. For instance if you have the DTD
declaration as below:

<!DOCTYPE TEI.2 PUBLIC "-//TEI P4//ELEMENTS TEI Lite XML ver. 1//EN"
                       "http://www.tei-c.org/Lite/DTD/teixlite.dtd" [

 <!ENTITY FRREF1578.7.12.3 SYSTEM
"http://www.oxygenxml.com/img/oxygen-win.gif" NDATA gif>

]>

then you should get:

<a href="http://www.oxygenxml.com/img/oxygen-win.gif" class="quicklink"
target="_top">

Best Regards,
George
-------------------------------------------------------------
George Cristian Bina mailto:
<oXygen/> XML Editor - http://www.oxygenxml.com/


----- Original Message -----
From: "Dr. Heino Speer" <>
To: <>
Sent: Wednesday, August 04, 2004 3:19 PM
Subject: [oXygen-user] Syntax Hyperlink


> Dear list,
> I'm writing a TEI-document with this header:
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <?xml-stylesheet type="xml/xslt"
> href="file:///C:/Programme/Oxygen4.2/TEI//xsl/html/teihtml-teic.xsl"?>
> <!DOCTYPE TEI.2 PUBLIC "-//TEI Consortium//DTD TEI Lite XML ver. 1//EN"
>        "file:///C:/Programme/Oxygen4.2/tei/dtd/teixlite.dtd" [
> <!ENTITY % TEI.XML 'INCLUDE'>
> ]>
>
> and try to write a hyperlink to an external file. While transforming the
text in
> a html-file, the link
>
> <xptr doc='FRREF1578.7.12.3'/>
>
> will be transformed in this way:
>
> <a href="" class="quicklink" target="_top">
>
> How can I resolve this problem?
>
> Thanks in advance
> Heino Speer
>
> --
> Dr. Heino Speer
> Deutsches Rechtswörterbuch
> Heidelberger Akademie der Wissenschaften
> Karlstr. 4
> D-69117 Heidelberg
> Telephon: 06221-543270 Fax: 06221-543369
> Leitseite DRW: http://www.deutsches-rechtswoerterbuch.de
> Leitseite HDHS: http://hdhs.de
> _______________________________________________
> oXygen-user mailing list
> 
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>



More information about the oXygen-user mailing list