[Home] [By Thread] [By Date] [Recent Entries]

Subject: Finding Untagged content in XML
From: Ganesh Babu N <nbabuganesh@xxxxxxxxx>
Date: Tue, 17 Feb 2009 16:41:37 +0530
Dear All,

I am writing a schematron validation in which I want to find all
untagged content. Suppose Figure 1 is there, it should be tagged as

<p>...................... <figure id="F1">Figure 1</figure>
.....................</p>. If not I should raise an error.

When i use the following expression it is showing the tagged one also.

<assert test="not(contains(.,' Figure'))">

In perl we will write this as [^>]Figure. Please let me know how to
achieve this in XSLT 2.0.

Regards,
Ganesh

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member