xsl-list
[Top] [All Lists]

Re: [xsl] Processing two documents, which order?

2011-04-08 02:15:56
On Thu, 7 Apr 2011 17:19:32 +0100
Andrew Welch <andrew(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--