Em Andamento

XSL Stylesheet for Outline Numbering

I need an XSL Stylesheet that will run in a Microsoft 4.0 MSXML parser to transform the input XML shown below to the output XML shown below.

It must be able to handle any number of outline levels (ex: 1.1.1.2.3.4)

Basically it should take a flat list of numbered items, then create a nested hierarchy, with numbers, out of it.

Input (XML)

<Items>

<Item Number="1" Name="Level One" Description="Level One Description"></Item>

<Item Number="1.1" Name="Sublevel One" Description="Sublevel One Description" ></Item>

<Item Number="1.1.1" Name="Sub-Sublevel One" Description="Description of Sub-Sublevel One" ></Item>

<Item Number="1.1.2" Name="Sub-Sublevel Two" Description="Description of Sub-Sublevel Two" ></Item>

<Item Number="1.2" Name="Sublevel Two" Description="Sublevel Two Description" ></Item>

<Item Number="2" Name="Level Two" Description="Level Two Description" ></Item>

</Items>

Desired Output (XML)

<Items>

<Item Number="1" Name="Level One" Description="Level One Description">

<Item Number="1.1" Name="Sublevel One" Description="Sublevel One Description">

<Item Number="1.1.1" Name="Sub-Sublevel One" Description="Description of Sub-Sublevel One"></Item>

<Item Number="1.1.2" Name="Sub-Sublevel Two" Description="Description of Sub-Sublevel Two"></Item>

</Item>

<Item Number="1.2" Name="Sublevel One" Description="Sublevel One Description"></Item>

</Item>

<Item Number="2" Name="Level Two" Description="Level Two Description"></Item>

</Items>

## Deliverables

1) XSL Stylesheet required to transform the XML shown above to the desired XML format.

2) Complete ownership and distribution copyrights to all work purchased.

## Platform

MSXML 4.0 XSL.

Habilidades: Engenharia, MySQL, PHP, Arquitetura de software, Teste de Software, XML, XSLT

Ver mais: level two, outline, xsl xml, php nested, create stylesheet, xml transform, xsl create, create xml stylesheet, xsl xml php, flat hierarchy, php xsl parser, create xsl stylesheet xml, parser xml, create xml xsl, xsl stylesheet, create xsl xml, xml parser create, xml parser php, php xml xsl, php parser xml, php item numbering, xml xsl, parser xml php, transform xml, xsl transform xml flat xml

Acerca do Empregador:
( 10 comentários ) Mountville, United States

ID do Projeto: #2957700

Premiar a:

timk98

See private message.

$12 USD em 4 dias
(54 Avaliações)
4.7