Hi,

we have xml like the following:

<CrossReference href="#SWCU057-3223"/>
shows the AV connector, and
<CrossReference href="#SWCU057-3427"/>
 describes the signal for the AV connector (see the
<Emphasis type="italic"> AV HW IF Specification For Vendors, version 
3.0</Emphasis>).
</Para>
<Title Target="SWCU057-3223" numeration="decimal" role="Figure">AV Connector 
Pin Layout</Title>

In the editor via the css file, i want the CrossReference to show as a link and 
have the title of whats pointed to by the href attribute, minus the initial '#'.

So in my css i have:

CrossReference {
 color: blue;
 text-decoration: underline;
     content: icon(left-link) xpath("*/tit...@target = substring-after(@href, 
'#')]  ") ;

    vertical-align: text-top;
    color: navy;
}

And i dont get anything. However, when i put, for the content line:

   content: icon(left-link) xpath("substring-after(@href, '#")")

I at least get the correct Target value.

I'm sure this is a newbie Xpath question, but any help is GREATLY appreciated!

Thanks

Russ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20091022/9a9c00d4/attachment.htm
 

Reply via email to