Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsXMLXMLSpacing in Page NumberingSpacing in Page Numbering
Previous
 
Next
New Post
6/27/2008 5:30 PM
 

This is specifically an XSL question....not a DNN question, per se.  But I'm hoping someone can offer some insight.

I'm using the XML/XSL Module to display data in "pages."  I tweaked the paging code that is part of the UDT XSL generator.

The section in question that I'm struggling with is:

  <xsl:template name="pagingSinglePages">
    <xsl:param name="pageNumber" select="1" />
    <xsl:param name="maxPages" select="ceiling(count($bookcount) div $itemsperpage)" />
    <xsl:choose>
      <xsl:when test="$param_page=$pageNumber">
        [<xsl:value-of select="$pageNumber" />]&#160;
      </xsl:when>
      <xsl:otherwise>
        <a href="?sp={$pageNumber}">
          <xsl:value-of select="$pageNumber" />
        </a>
      </xsl:otherwise>
    </xsl:choose>
<xsl:if test="$pageNumber &lt; $maxPages">
<xsl:call-template name="pagingSinglePages"><xsl:with-param name="pageNumber" select="$pageNumber +1" /><xsl:with-param name="maxPages" select="$maxPages" /></xsl:call-template>
</xsl:if>
</xsl:template>

If you visit http://www.devodog.us/Comics/ComicsA/tabid/159/Default.aspx, you'll see what I mean.  I can't seem to get spacing correct in the First, Previous, #, Next, Last section.  I'm tried adding &#160; code, but it's being ignored when the page is rendered.

 
New Post
6/28/2008 1:19 PM
 

Mike, your site returns only random chars:

��`I�%&/m�{J�J��t��`$ؐ@������iG#)�*��eVe]f@�흼��{���{���;�N'���?\fdl��J�ɞ!���?~|?"��O�:�����vQ�i�-/>�(_n�Z>ͳYZ�>���� �no���t��j_��������t;�����ݻWWW�Y�.�vI_���"��〟T�뺸�����N�����M��a�q�'���Q��� $���cA�H��~�"o3��/��+����Y�Q���g�^���w�|���G�Z����죑����w�B���ɗ/�Wg����7 ��2}3ω��j��}؟�˜�Y���/N_���ۛ�>��u;w�������H�W��������6D���˓��8}������7�Ξ|����^�ϟ���y��O�|�������{�>����/��G�'�^���>~����n����y�k}�����> L8H�v�����g�<��t��~�_�Y�Jc��Z������"���apM{]�L����e�M�yU�r"{{�"l��]{w�4=�˭����-���?͛�m�����˼�����j��� B������>�w�y��=����?��n�n��?s��~�/��������g�y�.�����wͫw��^v~��o�e����Z�g���5�۹�0�Zw�{c�'4�YA�����\��������u�vB���� ��qr]x�Ż؈���{ſY�m���ɏuD;=J�]-rҀw��㻰rP��jv͘<�_`��/�fZ���_���^��=�_?JI��XU ��MY<>�,�5�wq�<_NeX ��Xeu{ �gY�}���?�h�C_>Jwwv~�C�n+��2o�������ďb�Z�J�y1��K��~����'I����������2�y��#�6��-U},�������w_�9~sj y(��W�/�^}��/~��_<��ޗO��{���}��}^>�8˟<{U����g/�j����ӟ|V�ī�O�~�t���gO~�'޾��O\�_\��^<}~��������^�xsr�����/~��ߙO�/V������YCm��)�>���'��)~��}N�}1�n�{�X�>�we��O�_|�ɓ�o�>{׳������ߝ�=����_|�������������}ռ:��%�=exWgϾ�Ջ����컳jvr\�>�o/����/O���'ߙO��>��������w�{?�p�s�|���'w�,����O��������?���<#~jo~9��_��� �t|!c�������SO~��?O~����D�d���d��W��}���N�>{���~N'{�jr�'�S����Y<�#��D���.���-�;�oJt�7�7]���?�7�#���N��?�ݟ�Ͼ�n�����ߞ�%���.��b�tz��������W��W{�j��a�-~�gO����O~A��&������ٛ��8;�)��'?�����,�^Ѽ��=��՛l�\����/��������g�)j���z�����x�h�`̟Ә�{�O^=��d��rB���{?Y�={Q�>��w~:{r����w��������)�u����7��>k&L�Wo�ӷ��xv� ���⫽��O/*3^����s��'�z����|������W�w��O�����+π~�Oοx���W�Y���o��O��Y��ʷ��/>�����w^O/h̫�������d����O^~~z�}���w�ٷ_�L�V�ω�f�������S�?E2�|��?�������~�x���������wb��p������`����?�"����'h��f����/��|��NN�/VW?u�S;��w�����;?xQ�T�}�'�x3ݧ��L>/����wK���;פGd�������~����>�̞�,c�Hp��=������9^>������O^�<|��޿���;?��* .......

 
New Post
6/28/2008 2:42 PM
 

Darn.  I thought I had resolved that issue (it's a problem with PageBlaster).

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsXMLXMLSpacing in Page NumberingSpacing in Page Numbering


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out