开发者

Substring xsl hithighlightedsummary in SharePoint

开发者 https://www.devze.com 2023-02-09 06:35 出处:网络
I have in hithighlightedsummarythe tag this <ddd /> Posted: 2/8/2011 10:04 PM <ddd /> Subject: some subject <ddd /> Some Text<ddd />

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

精彩评论

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