In my example *[vendor*="stuff"] the first * means that this pattern should
be matched for every element.  The second * (after vendor) means that this
rule should be applied for all vendor attributes where the value for the
attribute includes the string "stuff" as a substring.  Whereas the
*[vendor~="stuff"] would mean that the rule should be applied for all
elements with an attribute vendor that includes the value "stuff".
Basically the "~" will work for attribute values where an element looks like
<blah vendor="stuff morestuff blah"> but not values like <blah
vendor="stuff;morestuff;blah"> whereas using the the "*" selector should
work for both.  With Docbook profiling it is recommended that the semicolon
is used as a separator between values within the attribute.  Thus, XMLMind
not supporting the * selector for attribute values is a bit of a problem.

You can find more information on these selectors here:
http://www.blooberry.com/indexdot/css/syntax/selectors/selectors.htm.

Damien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 2428 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20040310/b8f6e8d7/attachment.bin
 

Reply via email to