Subject: Re: Processing two documents, which order?
From: Dave Pawson <davep@xxxxxxxxxxxxx>
Date: Fri, 8 Apr 2011 08:15:35 +0100
|
On Thu, 7 Apr 2011 17:19:32 +0100
Andrew Welch <andrew.j.welch@xxxxxxxxx> wrote:
> Hi Dave,
>
> > The larger document is fully marked up XML so I don't want to
> > tokenize the entire thing, though that might work on the template
> > matching text().
> >
> > Given
> > <property>absolute-position</property>
> > <property>bottom</property>
> > <property>left</property>
> > <property>right</property>
> > <property>top</property>
> > as the input... what would the keys look like?
>
> It's to say without the usual sample input, required output etc...
>
>
The 'list to be marked up' is as above
The other document is xml, containing, in other elements those words
Required output
<para> Blah blah blah <property>right</property>
'items' must be followed by [\s\p{{P}}] so left-handed doesn't get
marked up etc.
regards
--
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
|