xsl-list
[Top] [All Lists]

Re: [xsl] How Remove or Hide Blank Page View on Explorer

2007-11-16 05:27:29
Try adding another template rule to exclude certain pages. For e.g.

<xsl:template match="Page[(_at_)Id = 'Page_2']" />

On Nov 16, 2007 12:36 PM, Byomokesh Sahoo 
<sahoo(_dot_)byomokesh(_at_)gmail(_dot_)com> wrote:
Hi All,

I am doing XSL stylesheet to view on Explorer in XML file. I am facing
blank page problem in the view on  Explorer. I have created xsl
stylesheet but facing problem about Blank Page view. Is any possiblity
to hide or remove blank page?

My XML file....

<Page Id="Page_1"/>
<p>paragraph here</p>
<Page Id="Page_2"/> <!-- I want hide this page number. -->
<Page Id="Page_3"/>
<p>some paragraph</p>
<Page Id="Page_4"/>

My XSL...

<xsl:template match="Page">
<hr color="silver" size="10%"/>
 <xsl:attribute name="id">PageNo_<xsl:number level="any"/></xsl:attribute>
<hr color="silver" size="10%"/>
 </xsl:template>

Does anyone help me........
--
Thanks
Byomokesh Sahoo



Om Trayambakam Yajaamahe Sugandhim Pushtivardhanam
Urvaarukamiva Bandhanan Mrytor Muksheeya Mamritaat


-- 
Regards,
Mukul Gandhi

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--