Re: WSDL 1.1 element identifiers

David Orchard wrote:
> So this works for "stock" xmlpsec?

For the xmlspec in 2006/ws/policy ? I still need to update that.
Currently I updated UpdatedBibl.xsl (again only locally) to look like
this, using it as the main stylesheet:

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- <xsl:import href="http://www.w3.org/2001/tag/doc/xmlspec.xsl"/> -->
<xsl:import href="xmlspec.xsl"/>
<xsl:template match="bibl">
    <dt class="label">
      <xsl:if test="@id">
        <a name="{@id}" id="{@id}"/>
      </xsl:if>
      <xsl:choose>
        <xsl:when test="@key">
          <xsl:value-of select="@key"/>
        </xsl:when>
        <xsl:otherwise>
          <xsl:value-of select="@id"/>
        </xsl:otherwise>
      </xsl:choose>
    </dt>
    <dd>
      <xsl:apply-templates/>
      <xsl:if test="@href">
        (See <a href="{@href}">
        <xsl:value-of select="@href"/>
        </a>)
      </xsl:if>
    </dd>
  </xsl:template>
<xsl:template match="code[@role='code-emph']">
<code style="font-style: italic;"><xsl:value-of select="."/></code>
</xsl:template>

 <xsl:template match="latestloc">
  <dt>Latest version:</dt>
 <dd>
  <xsl:apply-templates />  </dd>
  </xsl:template>
</xsl:stylesheet>


> 
>> -----Original Message-----
>> From: public-ws-policy-eds-request@w3.org 
>> [mailto:public-ws-policy-eds-request@w3.org] On Behalf Of Felix Sasaki
>> Sent: Tuesday, January 23, 2007 8:39 AM
>> To: David Orchard
>> Cc: Philippe Le Hegaret; public-ws-policy-eds@w3.org
>> Subject: Re: WSDL 1.1 element identifiers
>>
>>
>> David Orchard wrote:
>>> Yes..
>>>
>>> The problem is that we have to use the WSDL 2.0 xmlspec 
>> because it has 
>>> support for <emph> inside <code>, which is in the table of 
>> identifiers.
>>> The WG wanted the table to look like the WSDL 2.0 table.
>> I solved the problem, but did not commit yet. I used markup like this:
>> <td><code>wsdl11.types(</code><code
>> role="code-emph">types</code><code>)</code></td>
>> and munged the xslt to produce HTML like this:
>> <code style="font-style: italic;">types</code> You can see 
>> the look at 
>> http://www.w3.org/2002/ws/policy/7/01/wsdl11-elementidentifier
>> / (not finished for publication yet, only member-visible.)
>>
>> Felix
>>
>> Regards, Felix.
>>
>>> Thanks,
>>> Dave
>>>
>>>> -----Original Message-----
>>>> From: Philippe Le Hegaret [mailto:plh@w3.org]
>>>> Sent: Tuesday, January 23, 2007 7:15 AM
>>>> To: David Orchard
>>>> Subject: WSDL 1.1 element identifiers
>>>>
>>>> David,
>>>>
>>>> a long time ago, you mentioned troubles with xmlspec and 
>> the WSDL 1.1 
>>>> element identifiers. I promised to look into that and 
>> never did. Do 
>>>> you still have them?
>>>>
>>>> Philippe
>>>>
>>>>
>>>>
>>
>>

Received on Tuesday, 23 January 2007 17:03:56 UTC