|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: apply-templates issue
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:
<xml-to-input>
<FormXYZTitle>
<Name type="string"/>
<Address>
<Street type="string"/>
<City type="string"/>
<Country type="string" select="1">
<option>A</option>
etc...
</Country>
</Address>
</FormXYZTitle>
</xml-to-input>
Would result in this:
FormXYZTitle
Name [input box]
Address
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
> (http://users.telenet.be/root-jg/me.html)
> Gaudiam omnibus traderat W3C, nec vana fides
>
>
______________________________________________________
Click here to donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








