How do i mark up a slot in a html header?

I´m trying to mark up a slot in the header section of a page.

Like this:

<!-- start slot --><br>
<!-- start snippet wrapper --><br>
<span psxeditslot=“yes” slotname=“CampainPageHeader”>CampainPageHeader</span><br>
<!-- end snippet wrapper --><br>
<!-- end slot --><br>

But the whitebox in my content assembler will not accept it. Is there an alternative to the “<span>”-tag ? Or is there a complete different way to do this?

Martin H.
Post Danmark A/S

Rhythmyx 5.7

Well, there’s always the <div> tag, but I don’t think that is allowed in the header either.

If that doesn’t work, you can try including the XSL for the slot directly in the HTML using the “tags” :

<!-- begin XSL -->
<!-- end XSL -->

Here’s the markup for a typical slot (I borrowed this from Fast Forward):

<!-- start slot List slot -->
   <xsl:variable name="rxslot-30">
       <rxslot psxeditslot="yes" slotname="List slot" template="List slot">
          <xsl:copy-of select="$related/linkurl[@slotname='List slot']"/>
    <xsl:apply-templates mode="rxslot" select="$rxslot-30/*"/>
<!-- end slot List slot -->

You will want to change the name of the variable to be something other than “rxslot-XX” to avoid conflicts with names generated by XSplit.

You might want to provide a template that matches on <rxslot@template=‘CampainPageHeader’> somewhere else in your page. This template should also be enclosed in “begin XSL” and “end XSL” tags. Try it with the default template first, it will just list the snippets in order without any separators.

I hope this helps