|
Subject: [xsl] newbie needs help From: "Brian Benson" <bbenson@xxxxxxxxxxxx> Date: Wed, 10 Sep 2003 11:19:53 -0500 |
This is probably easy for someone who knows what they are doing, but I
haven't been able to figure this out.
I'm trying to transform XML to XML. The end result I want is something
like:
<document>
<form>forminfo</form>
<link>linkinfo</link>
</document>
The problem that I'm having is this: in the source xml file, the <form>
information is always at the same level in the source document, but the
<link> information can be any number of levels deep.
For example it could look like this:
<document>
<form>forminfo</form>
<link>linkinfo</link>
</document>
or it could look like this:
<document>
<form>forminfo</form>
<table>
<link>linkinfo</link>
</table>
</document>
or like this:
<document>
<form>forminfo</form>
<table>
<table>
<link>linkinfo</link>
</table>
</table>
</document>
I need to find a way to ignore all of the levels of table information and
just get the form and the link information in my output file. Any help is
appreciated.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [Fwd: Fw: [xsl] XSLT Cookbook - HEL, Sal R Mangano | Thread | Re: [xsl] newbie needs help, David Carlisle |
| RE: [xsl] generating dynamic XSL to, Steven Bethard | Date | Re: [xsl] generating dynamic XSL to, David Carlisle |
| Month |