Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8149683
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T14:54:05+00:00 2026-06-06T14:54:05+00:00

I am using a rather old verision of exist at work. I’d love to

  • 0

I am using a rather old verision of exist at work. I’d love to update it, but unfortunately were are too small and I am to junior to get this done anytime in the next few months.

Anyway, I rewriting some document table of contents. I would like to output an empty span tag that has an icon, unforunately that is not working correctly.

Here is a brief snippet using Xquery 1.0

else if ( $section/name()= 'body') then
   <h3><span class="ui-icon ui-icon-circle-triangle-e"></span>
    Body
    </h3>

This transforms to the following

HTML

<h3>
    <span class="ui-icon ui-icon-circle-triangle-e"/>
    Body
</h3>

which is again misintrerpted by the browsers(chromium/firefox) I am testing in to the following:

<h3>
   <span class="ui-icon ui-icon-circle-triangle-e">
     Body
    </span>
</h3>

The Text should not be wrapped in the span tag, it should precede it as an icon.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T14:54:07+00:00Added an answer on June 6, 2026 at 2:54 pm

    I don’t know exist but I’d try something like

    <h3>
      <span class="ui-icon ui-icon-circle-triangle-e">{" "}</span>
      Body
    </h3>
    

    or similar. You might also look for some way to control the serialization globally.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to write an application using openstreetmaps rather than mkmapview, but I'm not
Are there benefits of creating tables using display: table; style rather than using old
I'm about to have to rewrite some rather old code using SQL Server's BULK
I've been reading a fair bit about the performance of using LINQ rather than
I have a strange behaviour. I am using a rather heavy page (4000 nodes)
Rather than using WMI to obtain the last boot time, I wanted to calculate
rather than using a textnode to show content im trying to figure out how
This question is related to this SO post Rather than using a recursive CTE
I'm trying to find open source profilers rather than using one of the commercial
From the MSDN Article I read I should be using the StringBuilder rather than

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.