This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: imagedata and entityref


/ Gerrit Niestijl <g.niestijl@rra.nl> was heard to say:
| <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
|   "\\intranet\public\dtd\docbookx412\docbookx.dtd"

<aside>
That's not a valid system identifier. Just FYI. System identifiers in
XML must be URIs and UNC names are not URIs.
</aside>

[...]
| Here is the HTML output:
| 
| ....
| <DIV CLASS="mediaobject">
| <P><IMG
| SRC="H:^92;project^92;documentatie^92;xmldir^92;rapport^92;handleiding^92;images/dlg_vernieuw.png"></IMG>
| </P>
| </DIV>
| ....
| 
| This is what i want:
| 
| <DIV CLASS="mediaobject">
| <P><IMG
| SRC=images/dlg_vernieuw.png"></IMG>
| </P>
| </DIV>
| 
| Can i get this output and still use entityref's or should i stick to fileref's?

You could tweak the construction rule that generates the SRC attribute
and trim off the prefix, perhaps. But the stylesheets just take whatever
Jade says the system identifier is and slap it in the attribute.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | Individuality seems to be Nature's
http://www.oasis-open.org/docbook/ | whole aim--and she cares nothing
Chair, DocBook Technical Committee | for individuals.--Goethe

----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]