[WebDNA] XML Parse
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 104356
interpreted = N
texte = Using WebDNA, I want to be able to saveRatingServiceSelectionResponse --> RatedShipment --> TotalCharges -->MonetaryValue --> valueinto a variable.Something like:[showif RatingServiceSelectionResponse -->RatedShipment --> Service --> Cod=e=3D03] [text show=3Df]GroundCharges=3DRatingServiceSelectionResponse -->RatedShipment --> TotalCharges --> MonetaryValue --> value [/text][/showif][showif RatingServiceSelectionResponse -->RatedShipment --> Service --> Cod=e=3D01] [text show=3Df]NextDayCharges=3DRatingServiceSelectionResponse -->RatedShipment --> TotalCharges --> MonetaryValue --> value [/text][/showif]Of course, the value that is stored in GroundCharges would have to bethe MonetaryValue in the node that has Service --> Code =3D 03.I'm sure it's possible, but I'm not sure how to code it.Anyone know how to do this?=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DBEGIN XML=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D
Ratingand Service1.01Success03Yourinvoice may vary from the displayed referenceratesLBS
2.0USD5.22<=/TransportationCharges>USD0.00USD5.22USD5.22U=SD0.00USD5.222.0LBS
2.0=RatedPackage>12
Yourinvoice may vary from the displayed referenceratesLBS
2.0USD6.69<=/TransportationCharges>USD0.00USD6.693USD6.69USD0.00USD<=MonetaryValue>6.692.0LBS
2.0=59
Yourinvoice may vary from the displayed referenceratesLBS
2.0USD13.00=USD0.00USD13.00210:30A.M.USD13.00USD0.00U=SD13.002.0LBS
2.0=02
Yourinvoice may vary from the displayed referenceratesLBS
2.0USD11.18=USD0.00USD11.182USD11.18USD0.00USD11.182.0LBS
2.0=13
Yourinvoice may vary from the displayed referenceratesLBS
2.0USD18.46=USD0.00USD18.4613:00P.M.USD18.46USD0.00U=SD18.462.0LBS
2.0=14
Yourinvoice may vary from the displayed referenceratesLBS
2.0USD53.93=USD0.00USD53.9318:00A.M.USD53.93USD0.00U=SD53.932.0LBS
2.0=01
Yourinvoice may vary from the displayed referenceratesLBS
2.0USD20.76=USD0.00USD20.76110:30A.M.USD20.76USD0.00U=SD20.762.0LBS
2.0==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DEND XML=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D
Associated Messages, from the most recent to the oldest:
Using WebDNA, I want to be able to saveRatingServiceSelectionResponse --> RatedShipment --> TotalCharges -->MonetaryValue --> valueinto a variable.Something like:[showif RatingServiceSelectionResponse -->RatedShipment --> Service --> Cod=e=3D03] [text show=3Df]GroundCharges=3DRatingServiceSelectionResponse -->RatedShipment --> TotalCharges --> MonetaryValue --> value [/text][/showif][showif RatingServiceSelectionResponse -->RatedShipment --> Service --> Cod=e=3D01] [text show=3Df]NextDayCharges=3DRatingServiceSelectionResponse -->RatedShipment --> TotalCharges --> MonetaryValue --> value [/text][/showif]Of course, the value that is stored in GroundCharges would have to bethe MonetaryValue in the node that has Service --> Code =3D 03.I'm sure it's possible, but I'm not sure how to code it.Anyone know how to do this?=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DBEGIN XML=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D
Ratingand Service1.01Success03Yourinvoice may vary from the displayed referenceratesLBS
2.0USD5.22<=/TransportationCharges>USD0.00USD5.22USD5.22U=SD0.00USD5.222.0LBS
2.0=RatedPackage>12
Yourinvoice may vary from the displayed referenceratesLBS
2.0USD6.69<=/TransportationCharges>USD0.00USD6.693USD6.69USD0.00USD<=MonetaryValue>6.692.0LBS
2.0=59
Yourinvoice may vary from the displayed referenceratesLBS
2.0USD13.00=USD0.00USD13.00210:30A.M.USD13.00USD0.00U=SD13.002.0LBS
2.0=02
Yourinvoice may vary from the displayed referenceratesLBS
2.0USD11.18=USD0.00USD11.182USD11.18USD0.00USD11.182.0LBS
2.0=13
Yourinvoice may vary from the displayed referenceratesLBS
2.0USD18.46=USD0.00USD18.4613:00P.M.USD18.46USD0.00U=SD18.462.0LBS
2.0=14
Yourinvoice may vary from the displayed referenceratesLBS
2.0USD53.93=USD0.00USD53.9318:00A.M.USD53.93USD0.00U=SD53.932.0LBS
2.0=01
Yourinvoice may vary from the displayed referenceratesLBS
2.0USD20.76=USD0.00USD20.76110:30A.M.USD20.76USD0.00U=SD20.762.0LBS
2.0==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DEND XML=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D
"Ki Song - Knifecenter.com"
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:
ACGI processing for .html (1997)
Grouping fields help (2004)
Hello??? (1997)
random within a specified range (2001)
[math] show=F exists? (1997)
Cart Numbers (1997)
Only charge card when product shipped ? (1997)
WebCat2 - Getting to the browser's username/password data (1997)
Online reference (1997)
Speed/performance issues using .hdr (1997)
[WebDNA] FastCGI running more than one process! (2013)
Error Lob.db records error message not name (1997)
quotes and truncating? (1997)
Not really WebCat - need HTML Grider (1997)
Document Contains No Data! (1997)
[SearchString] usage (1997)
[Fwd: Rotating Banners ... (was LinkExchange)] (1997)
Re:How to Display text in empty fields (1997)
Thanks Grant (1997)
File Upload Problems (HELP!) (2000)