← Prev in month ← Prev in thread

DOCBOOK-APPS: Profiling question, xsltproc, xml

From
fyl2xp1 <>
Date
2002-07-10T10:42:11+00:00
ID
003601c227fe$6d145260$0f11bc93@htrtttt
Thread
DOCBOOK-APPS: 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