Using <set xml:base>
| From: | Richard Quadling | Date: | Wed, 15 Jul 2009 12:31:18 +0000 |
| Subject: | Using <set xml:base> | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969380640@lists.php.net to get a copy of this message | ||
Hello.
I recently submitted a hack to get the images copied when building
phpdoc via phd_0_4 when the doc-base and en folders are parallel.
I was looking into a "proper" way to handle this. One option I think
is appropriate would be to use ...
<set xml:base="xxx">
where xxx is realpath(dirname(@LANGDIR@)) (sort of thing).
I don't know the performance penalty of this option. I think all the
absolute paths (file-entities.xml for one) would have to become
relative to xxx for this to work.
Or the hack could just stand.
Richard.
--
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"
ZOPA : http://uk.zopa.com/member/RQuadling