Re: [xsl] apply-templates issue

Subject: Re: [xsl] apply-templates issue
From: footh <footh@xxxxxxxxx>
Date: Wed, 7 Sep 2005 08:23:23 -0700 (PDT)
Thanks a ton for the input.

However, and I should've mentioned this in my original
post, the issue with this solution is that I'm not
guaranteed to have "MyFields" as a tag.  In fact,
everything below the "xml-to-input" tag will contain
varying tag names.

Not to mention, the xml can be many levels deep, and
I'd want to print all the levels.  Example:

    <Name type="string"/>
      <Street type="string"/>
      <City type="string"/>
      <Country type="string" select="1">

Would result in this:

  Name [input box]
      Street [input box]
      City [input box]
      Country [select box]

--- Joris Gillis <roac@xxxxxxxxxx> wrote:

> Tempore 23:43:55, die 09/06/2005 AD, hinc in
> xsl-list@xxxxxxxxxxxxxxxxxxxxxx scripsit footh
> <footh@xxxxxxxxx>:
> > If I do that then the stylesheet will not iterate
> > through the entire xml doc.  It stops at the first
> > element.
> Oh, yes, I forgot to mention that the match pattern
> of the middle template should be changed to
> 'MyFields/*'.
> -- 
> Joris Gillis
> (
> Gaudiam omnibus traderat W3C, nec vana fides

Click here to donate to the Hurricane Katrina relief effort.

Current Thread