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

Subject: [xsl] How Remove or Hide Blank Page View on Explorer
From: "Byomokesh Sahoo" <sahoo.byomokesh@xxxxxxxxx>
Date: Sat, 17 Nov 2007 11:59:40 +0530

I was given small example. But How i know which page is blank page.
Input files are big XML file. Anypage will come depends on coding
specfication. Example, One xml file is 200 pages. In that case some
pages is coming in blank page. Then How i ll hide the blank page on


Try adding another template rule to exclude certain pages. For e.g.

<xsl:template match="Page[@Id = 'Page_2']" />

On Nov 16, 2007 12:36 PM, Byomokesh Sahoo <sahoo.byomokesh@xxxxxxxxx> 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

Mukul Gandhi

Current Thread