开发者

Substring xsl hithighlightedsummary in SharePoint

I have in hithighlightedsummary the tag this

<ddd /> Posted: 2/8/2011 10:04 PM <ddd /> Subject: some subject <ddd /> Some Text  <ddd />

I would like to 开发者_JAVA百科get the 'some subject' as a sub string. I have tried using "substring-after(hithighlightedsummary, 'Subject:')", But I don't know how to combine that with the <ddd /> tag.


Did you mean something like this?

substring-after(
   //hithighlightedsummary
      /text()[
         contains(.,'Subject:')
      ],
   'Subject:'
)

Note: I've used an absolute expression because you didn't provide information about context.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜