You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by "Bovy, Stephen J" <ST...@ca.com> on 2004/09/02 23:41:13 UTC

XSL To Convert XML database into HTML displayable "Table"

I would like to find a simple xml 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 ???? 

Re: XSL To Convert XML database into HTML displayable "Table"

Posted by Keith Rogers <k_...@yahoo.com>.
Not really a Xalan-C problem, but here's my answer:

Buy Michael Kay's Programmer Reference.

Don't know if this URL will make it through the listserver, but you can
find it at Amazon, among others.
http://www.amazon.com/exec/obidos/tg/detail/-/0764543814/qid=1094171973/sr=8-1/ref=sr_8_xs_ap_i1_xgl14/102-7283711-1081751?v=glance&s=books&n=507846


--- "Bovy, Stephen J" <ST...@ca.com> wrote:

> I would like to find a simple xml 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 ???? 
>