You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Bovy, Stephen J" <ST...@ca.com> on 2004/09/02 23:37:00 UTC
XSL convert xml data-base to html "table"
I would like to find a simple xsl template to convert something like
this:
<Purchase-Orders
<Purchase-Order>
<name>Steve Bovy</name>
<address>9301 Pali Ave</address>
<phone-number>818-352-9917</phone-number>
<part-number> 1234</part-number>
<quantity>-1</quantity>
<price>-15.41</price>
<total>-45.32</total>
</Purchase-Order>
<Purchase-Order>
<name>John Doe</name>
<address>Never Land</address>
<phone-number>818-999-9999</phone-number>
<part-number> 3241</part-number>
<quantity> 20</quantity>
<price> 15.41</price>
<total> 45.32</total>
</Purchase-Order>
</Purchase-Orders>
Into a Displayable HTML "table"
Has anyone written somehting like this, or can point me to such a
template ????
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: XSL convert xml data-base to html "table"
Posted by Gareth Reakes <ga...@parthenoncomputing.com>.
Hi,
this is not an XSLT list. Ask on the xalan users list of take a look at
a tutorial. Most go through an example of what you want.
Gareth
Bovy, Stephen J wrote:
> I would like to find a simple xsl template to convert something like
> this:
>
> <Purchase-Orders
>
> <Purchase-Order>
> <name>Steve Bovy</name>
> <address>9301 Pali Ave</address>
> <phone-number>818-352-9917</phone-number>
> <part-number> 1234</part-number>
> <quantity>-1</quantity>
> <price>-15.41</price>
> <total>-45.32</total>
> </Purchase-Order>
>
> <Purchase-Order>
> <name>John Doe</name>
> <address>Never Land</address>
> <phone-number>818-999-9999</phone-number>
> <part-number> 3241</part-number>
> <quantity> 20</quantity>
> <price> 15.41</price>
> <total> 45.32</total>
> </Purchase-Order>
>
> </Purchase-Orders>
>
>
> Into a Displayable HTML "table"
>
> Has anyone written somehting like this, or can point me to such a
> template ????
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>
>
--
Gareth Reakes, Managing Director Parthenon Computing
+44-1865-811184 http://www.parthcomp.com
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: XSL convert xml data-base to html "table"
Posted by elsa lizette <el...@yahoo.com.mx>.
Hi:
You can find a very good example at
http://www.w3schools.com/xsl/xsl_transformation.asp
That site has very nice and short tutorials.
Elsa.
--- "Bovy, Stephen J" <ST...@ca.com>
escribió:
> I would like to find a simple xsl template to
> convert something like
> this:
>
> <Purchase-Orders
>
> <Purchase-Order>
> <name>Steve Bovy</name>
> <address>9301 Pali Ave</address>
> <phone-number>818-352-9917</phone-number>
> <part-number> 1234</part-number>
> <quantity>-1</quantity>
> <price>-15.41</price>
> <total>-45.32</total>
> </Purchase-Order>
>
> <Purchase-Order>
> <name>John Doe</name>
> <address>Never Land</address>
> <phone-number>818-999-9999</phone-number>
> <part-number> 3241</part-number>
> <quantity> 20</quantity>
> <price> 15.41</price>
> <total> 45.32</total>
> </Purchase-Order>
>
> </Purchase-Orders>
>
>
> Into a Displayable HTML "table"
>
> Has anyone written somehting like this, or can
> point me to such a
> template ????
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> xerces-c-dev-help@xml.apache.org
>
>
_________________________________________________________
Do You Yahoo!?
La mejor conexión a internet y 25MB extra a tu correo por $100 al mes. http://net.yahoo.com.mx
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org