When I first brought ben on, his first task was to tackle a bunch of XSLT transformations using witango.

I bet he could do it for you, and you would have a template for the future use. If the xml is done correctly, this should be fairly simple.

--

Robert Garcia
President - BigHead Technology
VP Application Development - eventpix.com
13653 West Park Dr
Magalia, Ca 95954
ph: 530.645.4040 x222 fax: 530.645.4040
[EMAIL PROTECTED] - [EMAIL PROTECTED]
http://bighead.net/ - http://eventpix.com/

On Jun 14, 2006, at 1:08 PM, Jason Pamental wrote:

Hi Scott-

I had thought of that but didn't get very far - but the exact format doesn't seem to be working out for me. What I need is something like:

<ul>
        <li>Main Link
                <ul>
                        <li>SubLink1</li>
                        <li>SubLink2</li>
                </ul>
        </li>
        <li>Second Main Link
                <ul>
                        <li>Sublink1
                                <ul>
                                        <li>SubSubLink1</li>
                                        <li>SubSubLink2</li>
                                </ul>
                        </li>
                        <li>Sublink2</li>
                </ul>
        </li>
<ul>

(Note that each set of child links must be complete with its own enclosing <ul></ul>)

I just wasn't getting my head around the replacing and recursion (unknown number of submenus, subsubmenus, etc) and figured it was better to ask then continue down the path towards migraine!

Thanks-

Jason

-----

Jason Pamental
Director of Web Services
North Sails

Office: 401.643.1415
Fax: 401.643.1420
Mobile: 401.743.4406
Email: [EMAIL PROTECTED]




On Jun 14, 2006, at 3:48 PM, Scott Cadillac wrote:

Hi Jason,

If you have the XML already setup and nested, why not name the XML nodes just <ul> and <li> (with appropriate attributes) and copy as is to your output?

Just a thought.

Scott Cadillac,
Email: [EMAIL PROTECTED]
http://scott.cadillac.bz



-----Original Message-----
From: Jason Pamental [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 14, 2006 1:40 PM
To: [email protected]
Subject: Witango-Talk: xml to UL

Hi guys -

I'm looking for a leg up on an XML transformation. I have some good
CSS stuff to create either horizontal or vertical navigation (with
unlimited levels of dropdowns and so far pretty completely cross-
platform), and I also have a good routine to take the navigation
information and create an XML document with things all properly
nested. What I need to sort out is how to most efficiently
create the
nested ul's to make it work. I imagine it would be done with use of
the XSLT tag, but have never tried it before. They way I got it to
work previously was a little ugly and I'd rather learn a better/
cleaner way.

Thanks,

Jason

-----

Jason Pamental
Director of Web Services
North Sails

Office: 401.643.1415
Fax: 401.643.1420
Mobile: 401.743.4406
Email: [EMAIL PROTECTED]





Visit us at http://www.northsails.com

[This E-mail scanned for viruses by Declude Virus]

______________________________________________________________
__________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


_____________________________________________________________________ ___
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Visit us at http://www.northsails.com

[This E-mail scanned for viruses by Declude Virus]


Visit us at http://www.northsails.com

[This E-mail scanned for viruses by Declude Virus]

______________________________________________________________________ __
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to