Subject: Re: [xsl] Lookup without document('') function From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Mon, 10 Nov 2003 10:52:05 -0500 |
Technically I can probably put the lookup table in the input source since I'm getting it back from a Database Query. One other question, is there any way to use XPath to eliminate duplicates from a Node Set.
Since my XML I'm dealing with looks something like:
<DGS> <BOOKMARKS> <TABLE> <BMTABLE>CMSCASE</BMTABLE> </TABLE> <TABLE> <BMTABLE>CMSCASE</BMTABLE> </TABLE> <TABLE> <BMTABLE>CMSCASE</BMTABLE> </TABLE> <TABLE> <BMTABLE>CMSCASE</BMTABLE> </TABLE> <TABLE> <BMTABLE>EMPREP</BMTABLE> </TABLE> <TABLE> <BMTABLE>EMPREP</BMTABLE> </TABLE> </BOOKMARKS> </DGS>
Is there anyway to get a TABLE nodeset that would just return the following using XPATH:
<TABLE> <BMTABLE>CMSCASE</BMTABLE> <BMTABLE>EMPREP</BMTABLE> </TABLE>
Cheers, Wendell
I'll keep looking for an interface to a processor that supports the document() function as that is the easiest way I can see in getting this to work (the site this will be implemented on is using XALAN so I don't have to worry about it when its in production).
===== "...there is nothing stranger than people." - Anonymous
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Lookup without document(', David Carver | Thread | [xsl] Using keys to lookup from cur, Justin Makeig |
[xsl] generating xml from xml, Murali Korrapati | Date | Re: [xsl] generating xml from xml, David Carlisle |
Month |