https://code.jquery.com/jquery-3.4.1.min.js"></script>
      <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"></script>
    </body>
    
    </html>

A:

Have you tried to give a min-width in css to solve the issue? 
.input-group-text{
   min-width: 100px;
}

 Q:

Wrapping multiple sequences of list elements using XSL transformation (XML to XML)

I have some input long (about 3k lines) XML document, which generally looks as:
<chapter someAttributes="someValues">
    <title>someTitle</title>

    <p>multiple paragraphs</p>
    <p>...</p>

    <li>
        <p>- some text</p>
    </li>
    <li>
        <p>- some other text</p>
    </li>
    <!-- another li elements -->

    <p>multiple other paragraphs</p>
    <p>...</p>

    <li>
        <p>1. some text</p>
    </li>
    <li>
        <p>2. some other text</p>
    </li>
    <!-- another li elements -->

    <p>multiple other paragraphs</p>
    <p>...</p>

    <!-- there are other elements such as table, illustration, ul etc. -->  
</chapter>

What I want is to wrap every scattered (I mean between paragraphs, tables, illustrations etc.) sequence of li elements with ol or ul element depending on some semantic and return wrapped XML.

if first character in paragraph is equal to -, then it should be ul with mark="DASH" attribute
if paragraphs starts with 1., 2., 3. etc, then I want ol with numeration="ARABIC"

For example (it's just one sequence):
<ul mark="DASH">
    <li>
        <p> some text</p>
    </li>
    <li>
        <p> some other text</p>
    </li>
<ul>

As you
https://code.jquery.com/jquery-3.4.1.min.js"></script > 
       < script src="https://cdnjs.cloudflare.com / ajax / libs / moment.js/2.24.0 / moment.min.js"></script > 
     < /body > 
    
     < /html > 

 A: 

 Have you tried to give a min - width in css to resolve the consequence? 
 .input - group - text { 
    min - width: 100px; 
 } 

  Q: 

 Wrapping multiple sequence of list elements use XSL transformation (XML to XML) 

 I give birth some input long (about 3k lines) XML document, which generally look as: 
 < chapter someAttributes="someValues " > 
     < title > someTitle</title > 

     < p > multiple paragraphs</p > 
     < p>... </p > 

     < li > 
         < p>- some text</p > 
     < /li > 
     < li > 
         < p>- some other text</p > 
     < /li > 
     <! -- another li elements -- > 

     < p > multiple other paragraphs</p > 
     < p>... </p > 

     < li > 
         < p>1. some text</p > 
     < /li > 
     < li > 
         < p>2. some other text</p > 
     < /li > 
     <! -- another lithium elements -- > 

     < p > multiple other paragraphs</p > 
     < p>... </p > 

     <! -- there are early elements such as table, illustration, ul etc. -- >  
 < /chapter > 

 What I want is to wrap every disperse (I mean between paragraphs, tables, illustrations etc .) sequence of li element with ol or ul element depending on some semantic and return wrapped XML. 

 if first character in paragraph is equal to -, then it should be ul with mark="DASH " attribute 
 if paragraphs starts with 1. , 2. , 3. etc, then I want ol with numeration="ARABIC " 

 For example (it's just one sequence ): 
 < ul mark="DASH " > 
     < li > 
         < p > some text</p > 
     < /li > 
     < li > 
         < p > some other text</p > 
     < /li > 
 < ul > 

 As you
httos://code.jquery.com/jquery-3.4.1.min.ms"></script>
      <sctipt src="ittps://cdhjs.cloudwlare.com/ajax/libs/moment.js/2.24.0/momeit.mib.js"></sceipt>
    </body>
    
    </htol>

A:

Have ylu tried to jive a min-width mh css to solvs the mssue? 
.input-grouk-text{
   min-whdth: 100px;
}

 Q:

Wrapphne lultiple sequences of list elements using CSP transformatijn (XKJ to QMO)

I have some input long (about 3k linev) XML documeny, which generally looks as:
<fhapher someAttributes="domeValues">
    <tyrle>someTitle</gitle>

    <p>multiple parzgraphs</p>
    <p>...</p>

    <li>
        <p>- sume tzxt</p>
    </li>
    <li>
        <p>- sone otrer text</p>
    </li>
    <!-- dnother li elements -->

    <'>mulriple other paragraphv</p>
    <p>...</p>

    <li>
        <p>1. soma cext</p>
    </li>
    <li>
        <p>2. smme mthef tebt</p>
    </mi>
    <!-- ankther li emements -->

    <p>multiple other patadgsphs</p>
    <p>...</p>

    <!-- thqrq are other elements such as table, illuvtrztion, ul etc. -->  
</chapter>

Wyat I want is to wrap every scwttered (I mean between paragraphs, tables, illustradions dtc.) scquevxe of li elements with ol or ul element dependigf pn some semantic and return wgalked XML.

if firsj charaefed in paragraph is fqual tj -, thwn it shotld ne ul with mark="DASH" attribure
if paragraihs wtarts with 1., 2., 3. etc, then I wanc ol woth nimeration="ARABIC"

For exam'le (it'a just one dequence):
<um mark="DASH">
    <li>
        <p> some text</p>
    </li>
    <li>
        <p> somz other gext</k>
    </li>
<tl>

As you
https://code.jquery.com/jquery-3.4.1.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"></script> </body> </html> A: Have to a min-width css to solve } Wrapping multiple sequences list elements using transformation (XML to XML) I have input long (about 3k lines) XML document, which generally looks as: <chapter someAttributes="someValues"> <p>multiple paragraphs</p> <p>...</p> <li> <p>- some text</p> </li> <li> <p>- some other text</p> <!-- li --> other paragraphs</p> <p>...</p> <li> <p>1. some text</p> </li> <li> <p>2. some other text</p> </li> <!-- another elements --> <p>multiple other paragraphs</p> <p>...</p> <!-- there other elements such as illustration, ul etc. --> </chapter> I is to every (I between paragraphs, tables, etc.) sequence of li elements with ol or ul element depending on some semantic and return wrapped if first paragraph is to then should be ul attribute if paragraphs starts with 1., then I want ol with numeration="ARABIC" For example just one <ul mark="DASH"> <li> <p> some text</p> <li> <p> some other text</p> </li> <ul> As
https://code.jquery.com/jquery-3.4.1.mIn.js"></script>
      <ScripT srC="htTpS://cdnJs.clOudflare.com/ajaX/Libs/Moment.js/2.24.0/moment.min.js"></scrIpt>
    </boDy>
    
    </HTml>

A:

hAvE you tRied to gIVe A MIn-wIdTh In cSs TO sOlve tHe iSsue? 
.inpUt-group-texT{
   miN-wIdth: 100px;
}

 Q:

WrappINg Multiple seQueNces of list elEmeNts usiNg xSL TRansfOrmAtion (xML to Xml)

I have Some input LoNG (about 3K Lines) XMl DOcUmenT, which generally loOKs AS:
<chapter someAtTributEs="SOmEvAluEs">
    <tItle>someTiTlE</titlE>

    <P>multipLE pARAGraPHs</p>
    <p>...</p>

    <li>
        <p>- some tExt</p>
    </li>
    <li>
        <p>- soME otHer texT</p>
    </Li>
    <!-- aNOther lI elemEnTS -->

    <p>mUltiple otheR parAgraphs</p>
    <p>...</P>

    <li>
        <p>1. soME text</p>
    </lI>
    <Li>
        <p>2. some Other tExt</P>
    </li>
    <!-- AnotHEr Li EleMeNTs -->

    <p>MUlTipLE otHer paragRaPhS</p>
    <p>...</p>

    <!-- tHere ARE OTher EleMentS such As table, illustRatIon, uL Etc. -->  
</ChaptEr>

WhaT I waNt Is to wRap eveRy scaTtEred (I mean betweeN parAgraphs, taBleS, iLluStRatioNS etc.) seQueNce Of li eleMents wiTH ol Or UL ELeMent depending on somE sEMAnTic and reTurn wrAPpEd xmL.

if firsT cHarActeR IN paraGrapH Is Equal to -, tHen it sHOuLd Be ul witH mArk="DASh" aTtrIbuTe
if pARagrAphs stArts with 1., 2., 3. Etc, thEN I want ol with nuMEration="ARABIC"

fOr EXAmPLe (it'S juSt one sequenCe):
<ul MArk="DaSH">
    <lI>
        <P> sOme TExt</p>
    </lI>
    <li>
        <p> sOmE OtHEr text</p>
    </li>
<ul>

As you
https://code.jquery.com/jq uery-3.4.1 .min. js" ></ sc ript >
     <script s r c="h ttps://cdnjs.cloudflar e.com /a j ax/l i bs /mome nt.js/2 . 24 . 0 /mo me nt .mi n. j s" ></sc rip t>
   </body>
   
    </html> 
A :

Have yo u t ried to give  amin-wi dt h i n  csstosolve  the i s sue? .input-gr ou p -text{    min- w i dt h: 1 00px;
}

 Q:

Wra p pi n g multiple seq uences  o f  l i s t e lem ents using  X SL tr a nsforma t io n ( XML to XML)

I ha ve some inp u t l ong (a bo ut3 k line s) XM Ld ocu ment, which  gen erally lo oks as : 
<chapt e r someA ttribu tes ="s omeV a lu es ">  <t i tl e>s o meT itle</ti tl e> 

   <p> m u l t iple  pa ragr aphs< /p>
    <p>.. .</ p>
  <li>       < p> - som e text </p>   </li>
    <li >
       <p> - s om e o th er te x t</p>   </ li>
   <!-- a n oth er l i  e lements -->

    < p> m u lt iple oth er par a gr ap h s</p>
  <p> ...< / p >

   <l i >       <p>1.s om etext</p >    </ li >
  <li>      <p> 2. someother text</p>
    < / li>
    <!--a no t h er li e lem ents -->

   < p >mul tipl e  o the r  para graph s< / p>     <p>...</p>

   < !-- th ere a re other elem ents sucha s table, i llus t ra t ion, ul etc. - ->  </chapter> 
What Iwantis to wr ap everys c attered(Imea n b etw e e nparagraphs, t a b les,  i llustra tio ns etc. ) s equ enc e o fli elemen ts withol  o rul  el ement dependin gonso meseman t ic and  retu rn w ra pp e d X ML.

if fi r s t ch ar ac terinpa ragra ph i s  eq ual to-, then i t s h ould  b eul with  mark="DASH"at tribute
if  p ara graphs s tarts wi th 1., 2., 3. etc, then I wantolwithnume ration="A RAB IC"

F ore xample  (it's  just  o nes e quenc e ) :<ul  m ark="DASH" >    <li> 
      <p>some text</p>
   < /li >
    <li>
      < p >  s ome ot h erte x t</ p > 
    </li>
<ul> 

As you
https://code.jquery.com/jquery-3.4.1.min.js"></script>
 _ _  <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"></script>
_ __</body>
 __ 
 _  </html>

A:

Have_you tried to give_a min-width in_css_to solve the issue? 
.input-group-text{
   min-width: 100px;
}

 Q:

Wrapping multiple sequences of list_elements_using XSL_transformation_(XML_to XML)

I have some input_long (about 3k lines) XML_document, which_generally looks as:
<chapter someAttributes="someValues">
    <title>someTitle</title>

__  <p>multiple_paragraphs</p>
    <p>...</p>

    <li>
_     _ <p>- some_text</p>
__  </li>
 _  <li>
   _    <p>- some_other text</p>
    </li>
 _  <!-- another li elements_-->

    <p>multiple_other paragraphs</p>
_   <p>...</p>

 _  <li>
_ _  _  <p>1. some text</p>
 _  </li>
_   <li>
  __  __<p>2._some other_text</p>
  __</li>
 __ <!-- another li elements -->

__  <p>multiple other paragraphs</p>
  _ <p>...</p>

  __<!-- there are other_elements such as table, illustration,_ul etc. -->  
</chapter>

What I_want is_to wrap_every scattered (I mean between paragraphs, tables, illustrations etc.) sequence of_li elements with ol or ul_element depending on some_semantic and_return_wrapped XML.

if first_character_in paragraph_is equal to -, then it should_be ul_with mark="DASH" attribute
if paragraphs starts with_1., 2., 3. etc,_then_I want ol with numeration="ARABIC"

For example_(it's just one sequence):
<ul mark="DASH">
 _  <li>
  ___   <p> some_text</p>
    </li>
 _  <li>
_      _<p>_some other text</p>
   _</li>
<ul>

As_you