← Prev in month ← Prev in thread

DOCBOOK-APPS: Re: Profiling question, xsltproc, xml

From
fyl2xp1 <>
Date
2002-07-10T10:50:53+00:00
ID
004801c227ff$a4482350$0f11bc93@htrtttt
Thread
DOCBOOK-APPS: Re: Profiling question, xsltproc, xml
Note, this works with the two step method (using 
profiling/profile.xsl)

Unfortunately the page where I would get more 
information

 

  
----- Original Message ----- 

  
From: 
  fyl2xp1 

  
To: docbook-apps 

  
Sent: Wednesday, July 10, 2002 11:42 
  AM

  
Subject: Profiling question, xsltproc, 
  xml

  

  
I am trying to use profiling in my XML 
  documents

  
with no success, here is an example 
  document:

  
 

  
<?xml version="1.0" 
  encoding='ISO-8859-15'?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD 
  DocBook XML V4.1.2//EN"
"file:///C:/docbook/docbkx412/docbookx.dtd">
<article>
  
  <sect1 os="win"><title>WINDOWS 
  SECTION</title>
    <para>BLAH BLAH BLAH 
  WINDOWS</para>
  </sect1>
  <sect1 
  os="unix"><title>UNIX SECTION</title>
    
  <para>BLAH BLAH BLAH UNIX</para>
  
  </sect1>
  <sect1><title>GENERIC 
  SECTION</title>
    <para>BLAH BLAH BLAH 
  GENERIC</para>
  </sect1>
</article>

  
 

  
When I try to process this for it's Unix section 
  using:

  
 

  
xsltproc --stringparam profile.os unix file:///c:/docbook/docbook-xsl/fo/profile-docbook.xsl 
  test.xml

  
 

  
It produces output for all the sections, I do not 
  want the windows section in this case.

  
 

  
What is the problem?

  
 

  
Regards

  
 

  
AM
← Prev in month ← Prev in thread