OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: 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
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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC