-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 29 April 2002 5:12 am, Douglas Bagnall wrote:
> hi there,
>
> In order to get empty elements showing variously as <tag /> and
> <tag></tag>, as per html tradition, I've used the xpathscript below.
>
> It uses the different renderings of $node->toString() ("<tag />"),
> and $t->{showtag}=1 ("<tag></tag>"). What I am wondering is whether this
> difference is intentional and permanent, and what is the better way of
> doing this?

Not intentional, but yours looks like a good solution (though I prefer to use 
the constants returned from testcode, rather than plain numbers).

- -- 
<:->get a SMart net</:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjzM5XIACgkQVBc71ct6Oyw2LgCfTqLIVzpanUPag1wZR/nLJAxS
VeEAoIzScKX4FgHJA9HEnqWLi4aAX45r
=mzxu
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to