p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   XML (http://p2p.wrox.com/forumdisplay.php?f=91)
-   -   <col/> (http://p2p.wrox.com/showthread.php?t=45153)

bcogney July 12th, 2006 05:26 PM

I am editing some XML files and ran into <col/>.
this is a column alignment properties element and mostly used with width attribute. I am used to seeing <col width="20%"> not <col/>.
would <col/> affect the alignment of columns? I have looked at the resulted tables and did not see any clear mis-alignment.


mhkay July 12th, 2006 08:11 PM

The meaning of any XML element can only be determined by finding the specification of the XML vocabulary that it belongs to. Different people can use the same element name to mean different things. If the vocabulary is widely used it will probably be in a namespace, and the namespace will then have a public definition that you can refer to. Without a specification of the particular vocabulary, there's no way of guessing.

Michael Kay
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference

All times are GMT -4. The time now is 10:20 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.