Hi All

I am having a problem styling the following snippet of XML (which 
represents part of an XLink LinkMap):

<site xl:title="KISS">
  <map default="home" id="linkbase" role="reli" xl:href="/linkbase.xml" 
xml:base="xlink"/>
  <map xml:base="xml/" default="home" id="kiss" role="site">
   <ref xl:label="home" xl:href="home.xml" xl:title="Home Page of the 
KISS Rebreather Users Website">
    <name>KISS</name>
    <ref xl:label="work" xl:href="work/home.xml" xl:title="How the KISS 
Rebreather works">
     <name>Work</name>
     <ref xl:label="schematic" xl:href="work/schematic.xml" xl:title="A 
diagram showing how the unit works">
      <name>Schematic</name>
     </ref>
. . .

I am using a modified version of the xmldata.css:

@namespace xl url(http://www.w3.org/1999/xlink);

*:before {
     display: inline;
     content: 
division(content(paragraph(content(collapser(collapsed-icon,
                                                           
icon(pop-right),
                                                           expanded-icon,
                                                           
icon(pop-down)), " <",
                                                element-name(), "/>  ",
                                                attr(xl|label), "  ",
                                                attr(id), "  ",
                                                insert-before-button(), " ",
                                                insert-button(), " ",
                                                insert-after-button(), " ",
                                                delete-button(), "  ",
                                                 add-attribute-button(
                                                     
check-has-attributes, yes,
                                                     color, navy)),
                                          background-color, #ddd,
                                          font-size, 11pt,
                                          font-style, normal,
                                          font-weight, bold,
                                          font-family, verdana,
                                          padding-left, 8),
                               attributes(margin-top, 2,
                                          margin-bottom, 2,
                                          margin-left, 2,
                                          margin-right, 2)));
}

I am trying to show the content of two Attributes in the Fold Control :

        attr(id) - default namespace, works as expected
        attr(xl|label) - xlink namespace, outputs nothing

What am I doing wrong ?

Thanks for any suggestions.

regards Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2377 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20040315/d9c2c0cf/attachment.p7s
 

Reply via email to