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

Subject: RE: [xsl] How Remove or Hide Blank Page View on Explorer
From: cknell@xxxxxxxxxx
Date: Sun, 18 Nov 2007 06:59:17 -0500
<xsl:template match="Page[Body]" >
  <hr color="black"/>
  <hr color="silver" size="10%"/>
  <xsl:value-of select="substring-after(@Id,'_')"/>
  <hr color="black" size="10%"/>
</xsl:template>


<xsl:template match="Page[not(Body)]" />
-- 
Charles Knell
cknell@xxxxxxxxxx - email



-----Original Message-----
From:     Byomokesh Sahoo <sahoo.byomokesh@xxxxxxxxx>
Sent:     Sun, 18 Nov 2007 11:35:13 +0530
To:       xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  [xsl] How Remove or Hide Blank Page View on Explorer

Hi,

I have xml file and i want to using xsl to view on IE. It is not a
separate HTML file. It is just a <Page> Tag. I am not using Scripting
Environment.

Here is my Input file.
============== 
<Book>
<Title>Infusing Technology</Title>
<Chap Id="Ch01">
<Page Id="Page_1"/>
<Chaptitle>Introduction</Chaptitle>
<Body>
<Text>Infusing Technology into Mathematics is an exciting professional</Text>
<Sec1 Id="Ch01Lev1Sec1">
<Page Id="Page_2"/>
<Page Id="Page_3"/>
<Head>Required Materials</Head>
<Text>PC with at least 64 MB of RAM and Internet access</Text>
</Sec1>
<!-- Section is continue -->

</Chap>
</Book>

My XSL file
======== 
<xsl:template match="Page">
<hr color="black"/>
<hr color="silver" size="10%"/>
<xsl:value-of select="substring-after(@Id,'_')"/>
<hr color="black" size="10%"/>
</xsl:template>


It is not compulsory only page 2 is blank page. I want how search
blank page and hide this page number on IE.

Thanks







>>Unfortunately, I don't get clarity about your business and technical
>>problem.

You wrote, that your input XML file is:
> <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"/>

What exactly is a page in your context? Is it a separate HTML file, or
is it just a <Page> tag?
Are you invoking XSLT using the PI in browser? Also, are you using a
scripting environment?

Please elaborate further ...

On 11/17/07, Byomokesh Sahoo <sahoo.byomokesh@xxxxxxxxx> wrote:
> Hi,
>
> 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
> Explorer
>
> Thanks
> Byomokesh


-- 
Regards,
Mukul Gandhi

Current Thread