This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] How to do Profiling to OMIT elements from results?


Billard, Trish wrote:

The problem is, what I'd really like to do is code something as
condition=hidden, and then never have anything with condition=hidden
show up in the results.  I'd like to get everything that has no value
for the condition attribute but NOT the things that have
condition=hidden. Is there a way to do this?  Is there a way to
specify condition!=hidden (condition not equals hidden) or to somehow
only get the elements with no value for condition?  I haven't been
able to find a way in my web searches.  Am I stuck with either making
all elements have condition=visible or something or making up some
kind of 2 pass profiling?

You can mark elements with condition="hidden" and then run profiling with parameter profile.condition="nothidden". This will output elements with no condition set or elements with condition="nothidden" (you will not hove such elements in your documents in fact). Looks strange, but will do what you want.


Jirka

--
------------------------------------------------------------------
  Jirka Kosek     e-mail: jirka@kosek.cz     http://www.kosek.cz
------------------------------------------------------------------
  Profesionální školení a poradenství v oblasti technologií XML.
        DocBook 18.-19.5.                 XSLT 24.-26.5.
        XML pro vývojáře 7.-8.6.          XSL-FO 16.6.
------------------------------------------------------------------

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]