I seem to need a lot of help these days—or SF is a really good resource :wink:
I need to create a HTML document from XML/XSL/XSLT, but the HTML needs to create a variable number of <div> tags—that can be hidden or displayed (via Javascript) when a user clicks on an object (small gif).
Does anybody know a way to do this? The catch with <divs> is that they need an identifier of sorts, ie
<div id="identifier1">
which means you have to know beforehand how many you have, but with XML, this may not be known.
The XML would look something like this
<XMLrecord>
<CustData>
</CustData>
<someothertag>
</someothertag>
<docData>
<docElem>
..
..
</docElem>
</docData>
</XMLRecord>
There will be a variable number of <DocElem> tags. The HTML doc would display a simple list, which, when a list item is clicked would display the XML/HTML for that item only
Anybody know a way to do this? Help, pointers?
TIA
I need to create a HTML document from XML/XSL/XSLT, but the HTML needs to create a variable number of <div> tags—that can be hidden or displayed (via Javascript) when a user clicks on an object (small gif).
Does anybody know a way to do this? The catch with <divs> is that they need an identifier of sorts, ie
<div id="identifier1">
which means you have to know beforehand how many you have, but with XML, this may not be known.
The XML would look something like this
<XMLrecord>
<CustData>
</CustData>
<someothertag>
</someothertag>
<docData>
<docElem>
..
..
</docElem>
</docData>
</XMLRecord>
There will be a variable number of <DocElem> tags. The HTML doc would display a simple list, which, when a list item is clicked would display the XML/HTML for that item only
Anybody know a way to do this? Help, pointers?
TIA