Subject: RE: Handling mixed content elements
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 6 May 2005 11:27:37 +0100
|
> Interesting...
>
> If I understand you correctly, you've utilized an identity
> template. Very
> cool. Unfortunately, and I did not specify this in my
> original post, the
> structure of the XML document is about half narrative-like and half
> data-like. The identity template would be too broad to address it.
>
Then you can either use a special mode for the identity template, or you can
constrain it to apply only within a paragraph by specifying
match="paragraph//*"
Michael Kay
http://www.saxonica.com/
|