Hi, me again. First, I am still TRYING to learn more...currently reading
Mastering XSLT by Chuck White...but I still haven't figured out how to
do this:
BriefExample of XML Source (nested steps with 2 other POSSIBLE elements
as needed--checkbox and measure (they would initially be EMPTY when
parsed to the user:
<process_step>
<step><checkbox></checkbox><para>This is step one of this work
instruction.</para>
<step><para>This is the first substep of step one.</para>
</step>
<step><para>This is the second substep of step one.</para>
<step><para>This is the first substep of 1.2.</para>
</step>
</step>
</step>
<step><checkbox></checkbox><para>This is step two of the work
instruction.</para>
<step><para>This is the first substep of step two.</para>
<measure></measure></step>
<step><para>This is the second substep of step two.</para>
</step>
<step><para>For authoring, we would need to adjust the EIC in the FOSI.
For
XSLT transforms, this nested step process should be the simplest to
maintain
and use.</para>
</step>
</step>
<step><para>Step 3 and last step.</para>
</step>
</process_step>
From past help from Dimitre, I know how to get the numbered steps, but
PLEASE tell me how to tranform this xml to this html (I do know HTML,
just not the XML part):
Column 1 Column 2
---------------------------------------------------
Checkbox 1. Step one.
---------------------------------------------------
1.1 step.
---------------------------------------------------
Measure 1.2 step.
---------------------------------------------------
Checkbox 1.3 step.
---------------------------------------------------
etc.
So, simply put(?), I'm trying to parse this into a 2 column html table
with nested steps indented.
And please point me to an example of formatting this out into an html
table...please! I know it has something to do with xsl:value-of
select="" but I haven't figured out the correct way from examples I've
seen.
As always, thanks for the guidance. I can certainly see the power
possible with xslt...but it's killing me trying to learn it...too routed
in the relational database mode perhaps.
Kathy
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!