[WebDNA] Getting variables from XML XSL/XSLT ?

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 104579
interpreted = N
texte = --Apple-Mail-9-509620858 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit I just moved from an old WebDNA 4.0 to 6.2 and learning all the new commands from back then till those days :-) I try to retrieve the values from this XML that another site supply us in order to accept orders automatically Here is the XML: http://plonter.co.il/UploadTool/upload/FileName.xml The problem is that each has a sub group called and it it there are couple of I know how to reach the 1st level with [XSL] / [XSLT} but how from this stage i reach the 2nd level ? Is there a simple way to do it ? i want to be able to convert this XML to : 1. client name record with the info 2. order record with the inside I tried the sample (the 1st one) from this page: http://www.webdna.us/page.dna?numero=289 And replaced the catalog/cd with orders/order (etc.) and then tried to add another In the middle to run a loop on the sub tree but it didn't work at all Please advice Yours, Yariv Nachshon www.plonter.co.il --Apple-Mail-9-509620858 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable
I just moved from an old = WebDNA 4.0 to 6.2 and learning all the new commands from back then till = those days :-)

I try to retrieve the values from = this XML that another site supply us in order to accept orders = automatically

Here is the XML:

The = problem is that each <order> has a sub group called = <products> and it it there are couple of = <product>

I know how to reach the 1st = level with [XSL] / [XSLT} but how from this stage i reach the 2nd level = ?

Is there a simple way to do it = ?

i want to be able to convert this XML to = :

1. client name record with the <order> = info
2. order record with the <products> = inside

I tried the sample (the 1st one) from = this page: 
And replaced the catalog/cd with = orders/order (etc.)
and then tried to add = another 

<xsl:for-each = select=3D"orders/order">

In the middle to run a loop on the sub tree but it didn't work at = all

Please = advice

Yours,
Yariv = Nachshon
= = --Apple-Mail-9-509620858-- Associated Messages, from the most recent to the oldest:

    
  1. [WebDNA] Getting variables from XML XSL/XSLT ? (Office 2010)
--Apple-Mail-9-509620858 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit I just moved from an old WebDNA 4.0 to 6.2 and learning all the new commands from back then till those days :-) I try to retrieve the values from this XML that another site supply us in order to accept orders automatically Here is the XML: http://plonter.co.il/UploadTool/upload/FileName.xml The problem is that each has a sub group called and it it there are couple of I know how to reach the 1st level with [xsl] / [XSLT} but how from this stage i reach the 2nd level ? Is there a simple way to do it ? i want to be able to convert this XML to : 1. client name record with the info 2. order record with the inside I tried the sample (the 1st one) from this page: http://www.webdna.us/page.dna?numero=289 And replaced the catalog/cd with orders/order (etc.) and then tried to add another In the middle to run a loop on the sub tree but it didn't work at all Please advice Yours, Yariv Nachshon www.plonter.co.il --Apple-Mail-9-509620858 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable
I just moved from an old = WebDNA 4.0 to 6.2 and learning all the new commands from back then till = those days :-)

I try to retrieve the values from = this XML that another site supply us in order to accept orders = automatically

Here is the XML:

The = problem is that each <order> has a sub group called = <products> and it it there are couple of = <product>

I know how to reach the 1st = level with [xsl] / [XSLT} but how from this stage i reach the 2nd level = ?

Is there a simple way to do it = ?

i want to be able to convert this XML to = :

1. client name record with the <order> = info
2. order record with the <products> = inside

I tried the sample (the 1st one) from = this page: 
And replaced the catalog/cd with = orders/order (etc.)
and then tried to add = another 

<xsl:for-each = select=3D"orders/order">

In the middle to run a loop on the sub tree but it didn't work at = all

Please = advice

Yours,
Yariv = Nachshon
= = --Apple-Mail-9-509620858-- Office

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Make sure I understand this??? (1997) WCS Newbie question (1997) CustomerType - WebDNA Variable (2004) WebCatalog for guestbook ? (1997) How to best sort in a pre-defined item-by-item order ... (2003) Opinion: [input] should be called [output] ... (1997) Summarising on two fields (1998) Options for http uploading of files (1999) Help (1999) Virtual Postcards (1998) Re:Can this be done? (1997) What is WebDNA (1997) Protect (1997) More on the email templates (1997) carriage returns in data (1997) Permissions / Restart WebDNA? (2005) Acrobat Form Submission (1999) SIMS setup (1998) [WebDNA] Digest (2008) HELP WITH DATES (1997)